Idea · Sep 24, 2026

Git Broken-State Gym

An in-browser Git practice gym where instructors author broken repositories (detached HEAD, merge conflict, committed secret, lost commit) and students repair them with real Git commands, auto-checked against a goal commit graph.

What it would do

Students rarely practice Git recovery until something goes wrong on a real team project. This tool runs isomorphic-git in the browser behind an xterm.js terminal, so each student gets a disposable repository with no install. Instructors write short YAML scenarios: a setup script that produces a broken state, a plain-language story ('you committed your API key and pushed'), and a goal predicate over the resulting commit graph, refs, and working tree. A live side-by-side commit graph shows how each command changes the DAG, and the checker explains which goal predicates are still unmet without revealing the command sequence. An instructor dashboard shows which scenarios students solve, how many commands they take, and which dangerous commands (reset --hard, force push) they reach for first.

Key features

  • Real Git semantics in the browser via isomorphic-git and a virtual filesystem, no server-side containers
  • YAML scenario format: setup script, story, goal predicates over refs, DAG shape, and working tree
  • Live commit-graph visualization that animates after every command
  • Solution-free goal checker that names unmet conditions rather than the fix
  • Instructor dashboard of command traces, attempt counts, and risky-command frequency, exportable as CSV

More in Developer Tooling

Build Your Own Code Search Engine

Students build, in stages, a tool that answers 'where does this codebase do X?' starting from grep and BM25 over identifiers, then adding embeddings and call-graph expansion, and measure each stage on a shared benchmark of real queries.

Developer ToolingClass assignmentLargeSep 28, 2026

Build Your Own AI Coding Assistant

Students build a VS Code extension backed by a local Ollama model that provides code completion, inline explanation, and refactoring suggestions, then benchmark it against GitHub Copilot on a shared problem set.

Developer ToolingClass assignmentLargeSep 10, 2026

Live Refactor Wall

Classroom projection tool that connects to the teacher's VS Code, shows student code alongside an AI-generated refactor, and lets the class vote in real time whether to accept each suggestion.

Developer ToolingTeaching toolMediumSep 8, 2026

Refactor Rungs

A web tool that takes a working-but-messy student code submission and generates a step-by-step guided refactoring ladder. Students climb one rung at a time with AI hints when stuck and a structural autograder that confirms each improvement without revealing the final answer.

Developer ToolingTeaching toolMediumSep 1, 2026

All 131 ideas in Developer Tooling →