norbertsuski/sdd-toolkit/sdd-implement
Claude Code and agent skill by norbertsuski/sdd-toolkit
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Implement technical plans from CONTEXT_ROOT/changes/<change-id>/plan.md with verification
Install
npx vskill@latest install norbertsuski/sdd-toolkit/sdd-implementSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as norbertsuski/sdd-toolkit/sdd-implement.
Implement Plan
You are tasked with implementing an approved technical plan from $CONTEXT_ROOT/changes/<change-id>/plan.md (legacy: context/<app>/changes/<change-id>/plan.md). These plans contain phases with specific changes and a canonical ## Progress section at the bottom that drives execution state (see references/progress-format.md).
This skill operates under the CONTEXT_ROOT handed to it (the resolved base) — it does not run its own discovery. app: may be absent for flat roots; do not require it.
Initial Setup
When this command is invoked:
- Resolve the plan:
- If invoked as
/sdd-implement <change-id> [phase N]with a bare change-id, resolve by globbingcontext/*/changes/<change-id>/plan.md(legacy cross-root search) and, for flat roots,<dir>/context/changes/<change-id>/plan.md: exactly one match → use it; more than one match → ask which root; zero matches → fall through to the "no plan found" branch below. DeriveCONTEXT_ROOTfrom the resolved path (and<app>too, when the match is a legacy root). (An explicit<app> <change-id>invocation also works — use it directly.) - If invoked with
@$CONTEXT_ROOT/changes/<change-id>/plan.md,@context/<app>/changes/<change-id>/plan.md(legacy), or a full path, accept it and deriveCONTEXT_ROOT(and<app>, for legacy roots) from the path. - Fallback (repos with no workspace layout — single-package/greenfield): use the flat layout
$CONTEXT_ROOT/changes/<change-id>/plan.md. - Refuse if the resolved path matches `context/*/archive/…` (legacy) or
$CONTEXT_ROOT/archive/…— print "This change is archived. Open a new change with/sdd-newinstead." and STOP. - If nothing was provided, respond with the message below and STOP and wait:
Getting Started
When given a plan path:
- Read the plan completely. The
## Progresssection at the bottom is authoritative for execution state — checkmarks (- [x]) live ONLY there. Phase blocks contain plain-bullets (no checkboxes). - Read
$CONTEXT_ROOT/foundation/lessons.md(legacy:context/<app>/foundation/lessons.md) if present and internalize each entry before starting any phase — these are the team's accepted recurring rules and must shape every implementation choice you make in this run. - Read all files mentioned in the plan (referenced research, frame, source files in the same change folder)
- Read files fully - never use limit/offset parameters, you need complete context
- Think deeply about how the pieces fit together
- Update `change.md`: after confirming pending executable work, apply
../sdd-run/references/verification-freshness.md— setstatus: implementingfrom{planned, plan_reviewed, implemented, impl_reviewed}and bumpupdatedbefore editing. If no implementation row is pending, do not downgrade. - Resolve `audience` (governs how this run reports, not what it builds) per
../sdd-shape/references/plain-mode.md's "Audience resolution": read$CONTEXT_ROOT/.sdd.local.yml, else ask+write there; defaulttechnical. Whenaudience: plain, follow../sdd-shape/references/plain-mode.mdfor all operator-facing text — report progress in plain language, hide git/commit/branch mechanics, and never print schema, phase-internal jargon, or shell. This changes only what you SAY; the code, commits, and## Progressflips are identical to technical mode. - Count total phases (from
## Phase N:headers) and create one TaskCreate entry per phase (these appear in the user's status bar): - For each phase, create a task with
subject: "Phase N: [Phase Name]"andactiveForm: "Implementing Phase N" - Set the current phase to
in_progressvia TaskUpdate before starting work - Mark each phase
completedvia TaskUpdate when its success criteria pass - Find the next pending step by scanning the
## Progresssection: the first- [ ]line in document order is where you start. If aphase Nargument was passed, jump to the first- [ ]inside### Phase N:instead. - Start implementing if you understand what needs to be done
Implementation Philosophy
Plans are carefully designed, but reality can be messy. Your job is to:
- Follow the plan's intent while adapting to what you find
- Implement each phase fully before moving to the next
- Verify your work makes sense in the broader codebase context
- Update checkboxes in the plan as you complete sections
When things don't match the plan exactly, think about why and communicate clearly. The plan is your guide, but your judgment matters too.
If you encounter a mismatch:
- STOP and think deeply about why the plan can't be followed
- Present the issue clearly as text:
`` Issue in Phase [N]: Expected: [what the plan says] Found: [actual situation] Why this matters: [explanation] ``
- Then ask the user for a structured decision:
Ask the user: "How should I handle this mismatch?" with options:
- "Adapt and continue" (description: "Adjust the implementation to match reality. I'll explain the adaptation.")
- "Skip this part" (description: "Move on to the next section/phase. This change isn't needed.")
- "Stop and re-plan" (description: "This mismatch is too significant. We need to update the plan first.")
- Audience-aware, artifact-identical. When
audience: plain(see Getting Started), report in plain language per../sdd-shape/references/plain-mode.mdand hand off completion to/sdd-mr(open a merge request) rather than/sdd-impl-review. The implementation, commits, verification gates, and## Progressupdates are byte-for-byte identical to technical mode — plain mode changes only operator-facing text and the completion hand-off.
Tracking files touched during a phase
The phase-end commit ritual (see "Verification Approach" below) stages files from a touched-file set that you maintain in working memory throughout each phase. This set is the canonical input to git add — never fall back to git status heuristics for staging decisions.
Discipline:
- Every time you modify or create a file during the current phase, add its repo-relative path to the touched-file set.
- The set always contains
$CONTEXT_ROOT/changes/<change-id>/plan.mdbecause each phase produces at least one modification to its## Progresssection. Add it on entry to a phase even before any checkboxes flip. - Phase 1 bootstrap: on the first phase of a change, also seed the touched-file set with all untracked or modified files inside
$CONTEXT_ROOT/changes/<change-id>/— typicallychange.md,research.md,plan.md, and any other context files created during planning. These files are part of the change and should land in the first commit rather than being left as untracked stragglers. - The set resets at each phase boundary. After the phase-end commit completes, clear it before starting the next phase.
- This list overrides any heuristic from
git status. If the touched set is{a.md, b.md, plan.md}butgit status --porcelainalso reportsc.mddirty,c.mdis unrelated — handle it via the dirty-path prompt in the ritual, never silently bundle it into the commit.
Tracking issue/task references for commits
Before proposing any phase-end or epilogue commit message, scan the conversation context for tracking-system issue or task references tied to this implementation work, including Jira keys (for example ABC-123), Linear issue IDs (for example ENG-123), GitHub issue/PR references (for example #123, GH-123, or full GitHub issue/PR URLs), or explicit task links from Jira, Linear, or GitHub.
- If one or more references are present, include them in the commit message body under a
Refs:line, preserving the exact identifiers/URLs the user provided where possible. - If multiple references apply, list them comma-separated on one
Refs:line. - Do not invent or infer tracking references from the change-id, branch name, or filenames. Only use references visible in the current conversation context or explicitly provided by the user.
- Apply the same
Refs:line to every phase-end commit and to the epilogue commit, unless the user narrows a reference to a specific phase.
Verification Approach
After implementing a phase:
- Run the success criteria checks (usually
make check testcovers everything) - Fix any issues before proceeding
- Update your progress in your todos and in the plan's
## Progresssection - Mutate ONLY the `## Progress` section. Phase blocks (Overview, Changes Required, Success Criteria) are read-only. Use file editing to flip
- [ ] N.M <title>→- [x] N.M <title>in Progress as each step completes. Do NOT edit Phase block bullets, do NOT add HTML comment progress markers at the bottom of the plan, and do NOT write any state-file sidecar. - Run the phase-end commit ritual: After all automated checks pass for the phase, walk through this sequenced ritual to author one Conventional-Commits commit and write the closing short SHA back into every Progress row flipped during the phase.
- Manual confirmation gate. Inform the human that automated verification passed and list the manual verification items from the plan. Pause here. Do not proceed until the human confirms manual testing succeeded. Use this format:
``` Phase [N] Complete - Ready for Manual Verification
Automated verification passed:
- [List automated checks that passed]
Please perform the manual verification steps listed in the plan:
- [List manual verification items from the plan]
Let me know when manual testing is complete so I can proceed to the commit step. ```
Cross-phase manual rollup (final phase only). Before printing the gate message, determine whether the current phase is the final phase: scan the ## Progress section for ### Phase M: headings and treat the current phase as final iff no heading with M > N exists in document order. If the current phase is not final, the gate message is exactly the format above — no rollup. If the current phase is final, after the "Please perform the manual verification steps listed in the plan:" block, scan the entire Progress section for - [ ] rows that sit under a #### Manual subsection in any phase other than the current one. If any such rows exist, append the following block to the gate message (in document order, one row per line, formatted as <phase>.<index> <title> — strip any - [ ] prefix and any trailing — <sha> suffix):
``` Pending manual checks from earlier phases:
- [phase.index title]
```
If no earlier-phase manual rows are pending, omit the rollup block entirely. The gate still pauses for human confirmation; this is informational, not a hard block. Mid-stream phases (any phase that is not the final one) keep the original gate format with no rollup.
- Compute the staging set. Take the touched-file set maintained during the phase (see "Tracking files touched during a phase" above) and union it with
{$CONTEXT_ROOT/changes/<change-id>/plan.md}. The plan file is always staged because each phase produces at least one modification to its## Progresssection.
- Detect unrelated dirty and staged paths. Two checks, both against paths _outside_ the staging set:
(a) Working tree. Run git status --porcelain and intersect with paths _outside_ the staging set. If the dirty-but-untouched set is non-empty, present the offending paths and ask the user:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/sdd-implement/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/norbertsuski/sdd-toolkit/sdd-implement)