What problem does it solve? Code changes made directly on main branches or without quality checks lead to broken builds and tangled commits. This Skill enforces a disciplined workflow where every bug fix, refactor, or feature increment happens in an isolated git worktree, lands as atomic commits, and passes the pnpm run check quality gate before each commit. ## Core Features & Use Cases - Worktree Isolation: Refuses edits on main/master and creates a named worktree-<name> branch so changes never touch the primary branch. - Atomic Incremental Commits: Breaks work into tasks where each commit leaves the repo in a passing state, staging only specific files. - Quality-Gate Enforcement: Runs pnpm run check before every commit and provides a recovery procedure when the pre-commit gate denies a commit. - Use Case: When dispatched by execute-plan to implement one phase of a larger plan, this Skill sets up the worktree, implements the phase with tests, commits incrementally, and returns a summary of commits and files touched. ## Quick Start Ask the agent to fix a bug or implement a feature using the write-code skill so the work happens in an isolated worktree with gated commits.