Run long-horizon spec-driven coding agent workflows with GSD 2
Use GSD 2 to break a project into milestones, manage agent context and branches, recover from drift, and let coding agents advance through supervised long-running implementation work.
npx skills add agentskillexchange/skills --skill run-long-horizon-spec-driven-coding-agent-workflows-with-gsd-2
## What this skill does
What this skill actually does
Use GSD 2 when an operator wants a coding agent to execute a planned project over multiple tasks without losing the roadmap, branch state, or verification loop. GSD 2 provides a standalone CLI built on the Pi SDK for context injection, milestone dispatch, worktree and git-branch management, cost and token tracking, stuck-loop detection, crash recovery, and reconciliation of roadmap/database drift.
## When to invoke it
Invoke this skill for long-horizon implementation work where a normal one-shot prompt or manual Claude Code session is too fragile: multi-step feature builds, milestone-based refactors, autonomous slice execution, or recovery/resume after interrupted agent work. The operator still owns the goal, review, and final merge; GSD 2 supplies the orchestration layer around the coding agent.
## Scope boundary
This is not a generic coding-agent product card. The skill is bounded to using the GSD 2 CLI and repository-documented workflow to plan, dispatch, monitor, reconcile, and resume spec-driven coding milestones with explicit files, git state, and verification gates. It does not claim arbitrary software delivery automation outside that managed agent-workflow loop.
## Source evidence
The upstream repository describes GSD 2 as the evolution of Get Shit Done: a standalone CLI that can clear context between tasks, inject the right files at dispatch time, manage git branches, track cost and tokens, detect stuck loops, recover from crashes, and auto-advance through milestones. The candidate is exact-source-backed by `gsd-build/gsd-2` and package `gsd-pi`, with strong GitHub and npm adoption signals.