klaude-plugin/skills/implement/SKILL.md
TRIGGER when: user asks to implement, fix, build, or work on something — whether from a docs/wip plan OR a standalone task (bug fix, GitHub issue, one-off change). Examples: "work on task 1", "fix this bug", "implement feature X from the issue". Provides structured execution with profile detection, dependency handling, review checkpoints.
npx skillsauth add serpro69/claude-starter-kit implementInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Read capy knowledge base conventions at shared-capy-knowledge-protocol.md.
Profile detection is delegated to shared-profile-detection.md. When the sub-task's target files activate a profile that contributes an implement/ subdirectory (e.g., ${CLAUDE_PLUGIN_ROOT}/profiles/k8s/implement/), its index.md lists per-task gotchas the skill must consult BEFORE writing. See Step 2.
Two modes, determined automatically: plan mode when the user references a docs/wip feature or task number; standalone mode otherwise (bug fix, GitHub issue, one-off change). When ambiguous, ask.
Both modes share the same execution core (Step 2 onward) — profile detection, dependency handling, verification, review.
After each execution + review cycle, verify all outputs:
review-code — which owns indexing its own kk:review-findings)kk:project-conventions (skip if none established)tasks.md updated to doneIndexing ownership: Review skills (review-code, review-spec) index their own findings. This skill only indexes kk:project-conventions for non-obvious patterns discovered during implementation. Do NOT duplicate review indexing here.
By default, review checkpoints use isolated mode (kk:review-code:isolated, kk:review-spec:isolated). This is mandatory because the implementing session has authorship bias — the same model that wrote the code produces weaker reviews of it. Isolated mode spawns an independent sub-agent with no prior exposure to the implementation.
The user can override at any checkpoint ("use standard review for this one") to fall back to in-session review-code.
Mandatory order — understand before executing. The flow below is strictly sequential. Do not read source files to modify, write code, edit files, run tests, or otherwise act on any task until you have loaded full context (design, implementation plan, task list in plan mode, or full problem understanding in standalone) and completed profile detection and loaded all resolved profile content. The only early contact with the codebase is the task's target filenames — enough to drive profile detection, not enough to pattern-match implementation.
Determine mode (see §Modes), then read the appropriate mode file and follow its entry procedure:
After completing the mode's entry procedure, continue with Step 2.
Mandatory order — instructions before action. Steps 1–3 load instructions; step 4 is the first step that touches subject matter. Do not write code, edit files, or otherwise act until steps 1–3 have been performed in order. If a later step reveals that an instruction was missed, return to step 1.
tasks.md: set the task's status to in-progress.implement/ subdirectory, load ${CLAUDE_PLUGIN_ROOT}/profiles/<name>/implement/index.md and read the always-load + any matching conditional content. Apply those gotchas to the upcoming edits — they exist to prevent mistakes the post-write reviewer would otherwise catch. If no active profile contributes an implement/ subdirectory, skip this step.dependency-handling skill BEFORE writing the call. Do not guess signatures, API versions, or configuration; look them up via capy/context7 per that skill's rules. Per-profile lookup cascades live in each profile's overview.md (e.g., ${CLAUDE_PLUGIN_ROOT}/profiles/k8s/overview.md §Looking up Kubernetes dependencies).- [x]) in tasks.md as you complete them.test skill.kk:review-code:isolated — this handles both sub-agent and pal codereview internally with independent reviewers. Do NOT run a separate pal codereview call, as it is already included in the isolated workflow.review-code skill in-session, then run pal mcp code-review, consolidate findings.tasks.md: set the task's status to doneAfter finalizing, verify all items in the Required Outputs section above:
test completedreview-code — which owns indexing its own kk:review-findings)kk:project-conventions (skip if none established)tasks.md updated to doneIf any item is unchecked, go back and complete it. Do NOT proceed to the next task with incomplete outputs.
Follow the iteration procedure in plan-mode.md — move to next task, repeat Steps 1–3.
Follow the completion procedure in plan-mode.md — final validation, documentation, reflection.
STOP executing immediately when:
IMPORTANT! Always ask for clarification rather than guessing.
Return to Step 1 when:
IMPORTANT! Don't force through blockers — stop and ask.
development
Guidelines describing how to test the code. Use whenever writing new or updating existing code, for example after implementing a new feature or fixing a bug.
development
Use after implementing tasks or mid-feature to verify code matches design docs and ensure they are in sync. Detects spec deviations, missing implementations, doc inconsistencies, and outdated docs in design and implementation documentation.
testing
Review design and implementation docs produced by design. Evaluates document quality, internal consistency, and technical soundness. Use after design completes and before starting implement.
testing
Compare and merge two design docs for the same feature into a single source of truth. Use when you have competing or complementary design/implementation docs (e.g. from separate design runs) that need reconciling into one unified document.