/agentspec:sdd-shipfrom agentspec
Archives completed features and closes the SDD cycle by verifying build completeness, capturing lessons learned, and updating all phase documents to Shipped status.
Ships in agentspec. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Ship closes the 5-phase SDD workflow: it turns a completed feature's working documents into a permanent archive with lessons learned, marks every phase document Shipped, and leaves the working folders clean for the next feature. Nothing ships unless the build is verifiably complete.
| Aspect | Value |
|---|---|
| Input (required) | .claude/sdd/features/DEFINE_{FEATURE}.md · .claude/sdd/features/DESIGN_{FEATURE}.md · .claude/sdd/reports/BUILD_REPORT_{FEATURE}.md |
| Input (optional) | .claude/sdd/features/BRAINSTORM_{FEATURE}.md (if Phase 0 was used) |
| Output | .claude/sdd/archive/{FEATURE}/ containing all artifacts + SHIPPED_{DATE}.md |
| Template | ${CLAUDE_PLUGIN_ROOT}/sdd/templates/SHIPPED_TEMPLATE.md — the SHIPPED document's required shape; follow it, never improvise the format |
| Contract source | ${CLAUDE_PLUGIN_ROOT}/sdd/architecture/WORKFLOW_CONTRACTS.yaml (ship:, status_transitions:, folder_structure:, naming:) |
Naming rules (from the contracts): feature names are SCREAMING_SNAKE_CASE (e.g., USER_NOTIFICATIONS); the archive folder is .claude/sdd/archive/{FEATURE_NAME}/; the shipped file is SHIPPED_{YYYY-MM-DD}.md, dated with the ship date.
Resolve completeness in this order before anything is archived:
┌─────────────────────────────────────────────────────────────────────┐
│ 1. ARTIFACT VERIFICATION (confirm completeness) │
│ └─ Read: .claude/sdd/features/DEFINE_{FEATURE}.md │
│ └─ Read: .claude/sdd/features/DESIGN_{FEATURE}.md │
│ └─ Read: .claude/sdd/reports/BUILD_REPORT_{FEATURE}.md │
│ └─ Optional: .claude/sdd/features/BRAINSTORM_{FEATURE}.md │
│ │
│ 2. BUILD REPORT VALIDATION │
│ └─ All tasks completed? │
│ └─ All tests passing? │
│ └─ No blocking issues? │
│ │
│ 3. CONFIDENCE ASSIGNMENT │
│ ├─ All artifacts present + tests pass → 0.95 → Ship │
│ ├─ Artifacts present + minor issues → 0.80 → Ask user │
│ └─ Missing artifacts or failures → 0.50 → Cannot ship │
└─────────────────────────────────────────────────────────────────────┘
| Artifacts | Tests | Issues | Confidence | Action |
|---|---|---|---|---|
| All present | Pass | None | 0.95 | Ship immediately |
| All present | Pass | Minor | 0.85 | Ship with notes |
| All present | Fail | Any | 0.50 | Cannot ship |
| Missing | Any | Any | 0.30 | Cannot ship |
Any of these blocks the ship — stop and route back to /build:
Ship only when all acceptance tests from DEFINE pass, the build report shows 100% completion, and no blocking issues remain.
Read(.claude/sdd/features/DEFINE_{FEATURE}.md)
Read(.claude/sdd/features/DESIGN_{FEATURE}.md)
Read(.claude/sdd/reports/BUILD_REPORT_{FEATURE}.md)
# Verify build report shows success
Run the verification order above. Confidence below 0.85 → do not proceed.
mkdir -p .claude/sdd/archive/{FEATURE_NAME}/
cp .claude/sdd/features/DEFINE_{FEATURE}.md .claude/sdd/archive/{FEATURE}/
cp .claude/sdd/features/DESIGN_{FEATURE}.md .claude/sdd/archive/{FEATURE}/
cp .claude/sdd/reports/BUILD_REPORT_{FEATURE}.md .claude/sdd/archive/{FEATURE}/
If Phase 0 was used, also archive the brainstorm:
cp .claude/sdd/features/BRAINSTORM_{FEATURE}.md .claude/sdd/archive/{FEATURE}/
Resulting archive structure:
.claude/sdd/archive/{FEATURE}/
├── BRAINSTORM_{FEATURE}.md (if exists)
├── DEFINE_{FEATURE}.md
├── DESIGN_{FEATURE}.md
├── BUILD_REPORT_{FEATURE}.md
└── SHIPPED_{DATE}.md
Compose the SHIPPED document following ${CLAUDE_PLUGIN_ROOT}/sdd/templates/SHIPPED_TEMPLATE.md — the template owns the format; do not improvise sections. It covers the summary, timeline, metrics, what was built, success-criteria verification against DEFINE, lessons learned, recommendations, and the archived-artifact list.
Per WORKFLOW_CONTRACTS.yaml (status_transitions, trigger /ship completes), ship MUST update ALL phase documents to Shipped — this is the contract obligation that prevents stale "Ready for X" statuses:
| File | Field | Value |
|---|---|---|
DEFINE_{FEATURE}.md | Status | ✅ Shipped |
DESIGN_{FEATURE}.md | Status | ✅ Shipped |
BUILD_REPORT_{FEATURE}.md | Status | ✅ Shipped |
Apply the updates to the archived copies (the working copies are removed in Step 6) and add a revision-history note to each:
Edit: archive/{FEATURE}/DEFINE_{FEATURE}.md
- Status: → "✅ Shipped"
- Add revision: "Shipped and archived"
Edit: archive/{FEATURE}/DESIGN_{FEATURE}.md
- Status: → "✅ Shipped"
- Add revision: "Shipped and archived"
Edit: archive/{FEATURE}/BUILD_REPORT_{FEATURE}.md
- Status: → "✅ Shipped"
rm .claude/sdd/features/DEFINE_{FEATURE}.md
rm .claude/sdd/features/DESIGN_{FEATURE}.md
rm .claude/sdd/reports/BUILD_REPORT_{FEATURE}.md
If a BRAINSTORM was archived in Step 3, remove its working copy too:
rm .claude/sdd/features/BRAINSTORM_{FEATURE}.md
Write(.claude/sdd/archive/{FEATURE}/SHIPPED_{DATE}.md)
Review all artifacts for insights and capture at least 2 specific lessons in these categories:
| Category | Example |
|---|---|
| Process | "Breaking into 4 independent functions enabled parallel development" |
| Technical | "Using config.yaml instead of env vars improved testability" |
| Communication | "Clarifying v1/v2 scope early prevented feature creep" |
| Tools | "Using X library simplified Y" |
Rules for good lessons:
Avoid vague lessons:
❌ "Better planning" (too vague)
❌ "More testing" (not specific)
❌ "Improved communication" (not actionable)
Before saving the SHIPPED document:
PRE-FLIGHT CHECK
├─ [ ] All artifacts verified present (DEFINE, DESIGN, BUILD_REPORT)
├─ [ ] BUILD_REPORT shows all tasks complete
├─ [ ] All tests passing
├─ [ ] Acceptance tests from DEFINE verified
├─ [ ] No blocking issues in the build report
├─ [ ] Code deployed (if applicable)
├─ [ ] Archive directory created
├─ [ ] All artifacts copied to archive
├─ [ ] ALL archived documents' status updated to "✅ Shipped"
├─ [ ] At least 2 specific lessons documented
└─ [ ] Working files cleaned up from features/ and reports/
When the archive is complete, report closure to the user:
| Handoff item | Content |
|---|---|
| Archive location | .claude/sdd/archive/{FEATURE}/ with the full artifact list |
| SHIPPED document | Path to SHIPPED_{DATE}.md + one-line summary of what shipped |
| Lessons headline | The 2-3 most actionable lessons captured |
| Statuses | Confirmation that DEFINE, DESIGN, and BUILD_REPORT now read "✅ Shipped" |
| Workspace | features/ and reports/ clean of this feature's working files |
| Next step | Start the next feature with /define (or /brainstorm for an unshaped idea) |
| Never Do | Why | Instead |
|---|---|---|
| Ship with failing tests | Broken code archived | Fix tests first — route back to /build |
| Ship incomplete builds | Missing functionality | Complete build first |
| Vague lessons learned | Not actionable | Be specific and concrete |
| Skip artifact verification | May be incomplete | Always verify all exist |
| Leave working files | Clutter | Clean up after archive |
| Re-inline the SHIPPED format | Drifts from the template | Follow SHIPPED_TEMPLATE.md |
${CLAUDE_PLUGIN_ROOT}/sdd/templates/SHIPPED_TEMPLATE.md${CLAUDE_PLUGIN_ROOT}/sdd/architecture/WORKFLOW_CONTRACTS.yaml${CLAUDE_PLUGIN_ROOT}/agents/workflow/ship-agent.md${CLAUDE_PLUGIN_ROOT}/commands/workflow/ship.md${CLAUDE_PLUGIN_ROOT}/commands/workflow/build.mdWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub luanmorenommaciel/agentspec --plugin agentspec16 skills in this plugin
/agent-routerIntelligent agent routing -- automatically matches tasks to the best specialist agent based on file patterns, intent keywords, and domain context. Loaded every session to give Claude explicit routing rules for all 58 AgentSpec agents./component-modelDecides where new logic lives in the component model — agent, skill, command, KB, or
template — and how to keep components in their layer, routing each decision to the
right authoring resource and running the fat-to-thin refactor when a component has
outgrown its layer. Loaded by the authoring flows (create-skill, create-agent,
kb-build, create-kb) as their layer-decision gate. Use for "should this be an agent
or a skill", "where does this logic go", adding a new component, "this agent is too
big", or restructuring/refactoring an agent into skills. Do not use to author the
chosen component itself — that is create-skill, create-agent, or /create-kb.
/data-engineering-guideOther plugins' skills for the same job