Use when starting a substantial new feature or sprint that needs disciplined LLM-assisted execution — TDD, atomic commits, lectures for newly-introduced concepts, hands-on exercises for the user, code-review walkthrough, retrospective, optional knowledge-base integration. Trigger explicitly via /disciplined-llm-sprint or when the user describes work as "new sprint / new feature / new milestone / new module". Skips for one-off bug fixes — use /gsd-quick or /gsd-debug instead.
How this skill is triggered — by the user, by Claude, or both
Slash command
/disciplined-llm-sprint:disciplined-llm-sprintThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Codify a repeatable, validated workflow for LLM-assisted software development that prevents the failure modes typical of casual LLM usage: hidden regressions, scope creep, undocumented knowledge loss, drift between assistant and user understanding.
Codify a repeatable, validated workflow for LLM-assisted software development that prevents the failure modes typical of casual LLM usage: hidden regressions, scope creep, undocumented knowledge loss, drift between assistant and user understanding.
After invocation, this skill walks the user through a fixed 7-phase script. Each phase ends with an explicit gate — a blocking checkpoint where the user must confirm before the skill moves on. The skill orchestrates existing superpowers skills (brainstorming, writing-plans, executing-plans) and adds discipline-specific layers (scope gate, lectures, hands-on, Block Recap, retro).
Announce at start: "I'm using disciplined-llm-sprint to walk through a structured sprint. We'll go through 7 phases with explicit gates."
The workflow is grounded in five principles:
See references/5-principles.md for the full digest.
| # | Phase | Duration (typical) | Skill invoked |
|---|---|---|---|
| 0 | Sprint Kickoff (gate) | 5-15 min | none |
| 1 | Planning | 30-90 min | superpowers:brainstorming → superpowers:writing-plans |
| 2 | New-concept lectures (loop) | 10-30 min per concept | optional Explore / gsd-phase-researcher subagent |
| 3 | TDD Execution (per Block) | hours-days | superpowers:executing-plans |
| 4 | Manual verification | minutes-hour | direct tools |
| 5 | Code review walkthrough | 30-60 min | direct git log + Read |
| 6 | Knowledge-base update (optional) | 30-60 min | optional gsd-extract_learnings |
| 7 | Retrospective + merge | 15-30 min | superpowers:finishing-a-development-branch |
Goal: Lock in scope agreement before any planning or code.
Steps:
Gate: The user must confirm the scope summary explicitly. Implied agreement is not acceptable. A bare "ok" or "lgtm" is not sufficient — ask again. If the user hedges ("maybe also include X") — clarify until the scope is binary.
Once the scope is locked, transition to Phase 1.
Goal: Produce a design spec and an executable implementation plan.
Steps:
superpowers:brainstorming skill. Let it run its dialogue with the user — your job here is to monitor that the discussion stays within the Phase 0 scope.superpowers:writing-plans skill. Same monitoring role.Gate: The user explicitly tells Claude that the spec and plan are approved (a written commit alone is not enough — the user must also state approval in the conversation), AND the artifacts are committed. The new-concepts list is then presented; the user explicitly agrees on which deserve lectures before Phase 2 begins.
Goal: Make sure the user understands every new concept before it appears in production code.
For each new concept identified in Phase 1:
Explore or gsd-phase-researcher subagent. The subagent returns a digest; the user gets the lecture from the digest. This protects main-context tokens for actual implementation work.Gate per concept: The user explicitly confirms understanding before the loop moves to the next concept. A clear affirmative ("got it" / "understood" / "makes sense" — match the user's working language; treat equivalent affirmatives in any language the user is speaking) = green light. Any hedge ("not quite" / "kind of" / "sort of clear but…") triggers an expanded explanation or a second exercise.
After all concepts are processed, transition to Phase 3.
See templates/lecture-skeleton.md for a suggested lecture structure.
Goal: Implement the plan via atomic RED → GREEN → REFACTOR commits, organized into Blocks. Each Block ends with a mandatory recap and hands-on for the user.
Definitions:
Steps per Block:
superpowers:executing-plans skill for this Block's tasks. Let it execute the TDD cycle on each task.After every Block, the skill produces:
1. Detailed recap covering:
2. Hands-on exercise for the user. One of:
3. Mark the task completed and ask: "Ready for the next Block?"
Why this rule exists: The principle "30-40% of time hands-on for the user" requires anchoring exercises. Recap without hands-on lets the user passively consume; hands-on without recap leaves the user without a reference to anchor to. Both are required.
Exception: If a Block is purely mechanical (file rename, dependency bump, generated-code commit), the skill says explicitly: "Hands-on skipped because this Block is mechanical." Exceptions must be visible, not silent skips.
See references/block-recap-rule.md for the full rationale.
After the last Block completes, transition to Phase 4.
Goal: Confirm the sprint deliverables work end-to-end before reviewing code.
Steps by project type:
Known pattern: pixel-perfect snapshot tests on CI typically fail across environment differences (OS subminor versions, font hinting, antialiasing). Three resolution strategies:
precision: 0.98 in assertSnapshot.Gate: the user confirms the manual verification passed for each meaningful flow. If anything is broken, fix it before Phase 5 — do not proceed to code review with known regressions.
Goal: Walk through every commit on the sprint branch and surface anything the user does not understand.
Steps:
git log --reverse <base>..HEAD --oneline. This is the sprint commit list.git show <sha> to see the diff.Hard rule: "If I don't understand it, I don't merge it." If the user cannot explain a commit back in their own words, that commit needs additional documentation, a clarifying refactor, or both — before merge.
Gate: the user confirms the walkthrough is complete and the concept-page candidates list is captured. Anything that becomes a planned concept page must surface in Phase 6.
Goal: Capture the sprint's durable knowledge before it fades.
If the user maintains a project knowledge base (wiki, second-brain, docs/, etc.):
How to detect: check for a docs/ directory, a wiki/ directory, a ~/Work/second-brain/ path (or similar configured location), or an explicit reference in the project's CLAUDE.md. If none found, skip to "If no knowledge base exists" below.
templates/session-note.md as a starting structure.If no knowledge base exists:
See templates/session-note.md for the suggested session note structure.
Goal: Capture the sprint's lessons and merge the branch with full audit trail.
Steps:
superpowers:finishing-a-development-branch to select a merge strategy.git merge --no-ff to preserve atomic commit history with a single descriptive merge commit at the top. Squash merges are discouraged because they erase the RED → GREEN → REFACTOR cycle that the discipline produced.Gate: the user confirms the merge is correct (look at the merged history) and the remote state is what they expect. Sprint is closed only after this confirmation.
| Phase | Invokes / Suggests | Mode |
|---|---|---|
| 1 | superpowers:brainstorming | sequential |
| 1 | superpowers:writing-plans | sequential (after brainstorming) |
| 2 | Explore / gsd-phase-researcher subagent | optional, per-lecture when research-heavy |
| 3 | superpowers:executing-plans | with explicit per-Block boundaries |
| 4 | (none — direct tool calls) | — |
| 5 | (none — git log + Read) | — |
| 6 | gsd-extract_learnings | optional, if GSD plugin available |
| 7 | superpowers:finishing-a-development-branch | for the merge strategy step |
This skill does not duplicate the logic of the skills it invokes. It coordinates them and adds the discipline-specific layers (Phase 0 scope gate, Phase 2 lectures, Block recap, Phase 5 walkthrough, Phase 7 retro).
Stop and escalate to the user if any of the following happens:
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub ruslan660/disciplined-llm-sprint --plugin disciplined-llm-sprint