From sdd
Core infrastructure for Specification-Driven Development workflow. Contains templates for specs/plans/tasks, bash scripts for feature management, and constitution framework for project governance. This skill powers the /sdd commands with reusable, versioned templates and automation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sdd:sdd-infrastructureThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill provides the complete infrastructure for the Specification-Driven Development (SDD) workflow, including templates, scripts, and documentation that power all `/sdd:*` commands.
assets/constitution/constitution-template.mdreferences/constitution-guide.mdreferences/script-guide.mdreferences/template-guide.mdreferences/workflow-overview.mdscripts/check-prerequisites.shscripts/common.shscripts/create-new-feature.shscripts/setup-plan.shscripts/update-agent-context.shtemplates/agent-file-template.mdtemplates/checklist-template.mdtemplates/plan-template.mdtemplates/spec-template.mdtemplates/tasks-template.mdThis skill provides the complete infrastructure for the Specification-Driven Development (SDD) workflow, including templates, scripts, and documentation that power all /sdd:* commands.
| Workflow Phase | Component | Location | Used By |
|---|---|---|---|
| Constitution | Constitution template | assets/constitution/constitution-template.md | /sdd:constitution |
| Specify | Spec template | templates/spec-template.md | /sdd:specify |
| Specify | Feature creation script | scripts/create-new-feature.sh | /sdd:specify |
| Plan | Plan template | templates/plan-template.md | /sdd:plan |
| Plan | Setup script | scripts/setup-plan.sh | /sdd:plan |
| Tasks | Tasks template | templates/tasks-template.md | /sdd:tasks |
| Analyze | Checklist template | templates/checklist-template.md | /sdd:checklist |
| Implement | Agent file template | templates/agent-file-template.md | /sdd:implement |
| All phases | Common utilities | scripts/common.sh | All scripts |
| All phases | Prerequisites check | scripts/check-prerequisites.sh | Multiple commands |
| All phases | Agent context sync | scripts/update-agent-context.sh | Multiple commands |
Templates define the structure for SDD artifacts. Each template includes:
Available templates:
spec-template.md - Feature specifications with user storiesplan-template.md - Technical implementation planstasks-template.md - Independent, testable user storieschecklist-template.md - Quality validation checklistsagent-file-template.md - AI agent context and guidelines📖 See Template Guide for detailed documentation.
Bash scripts automate common SDD workflow tasks:
common.sh - Shared utilities (feature paths, validation)create-new-feature.sh - Initialize new feature with branch and specsetup-plan.sh - Create plan from templatecheck-prerequisites.sh - Validate feature readinessupdate-agent-context.sh - Sync AI agent configurationScripts use .sdd/ directory for runtime content:
.sdd/codebase/ - Auto-generated codebase documentation.sdd/memory/ - Project constitution and principles.sdd/features/<name>/ - Feature-specific artifacts📖 See Script Guide for parameters and examples.
The constitution defines project-specific principles and constraints:
assets/constitution/constitution-template.md - Template for project constitutionCommands copy this to .sdd/memory/constitution.md and load it into Claude's memory for context-aware development.
📖 See Constitution Guide for principles catalog.
Plugin-managed (versioned):
plugins/sdd/skills/sdd-infrastructure/
├── SKILL.md # This file
├── templates/ # Reusable templates
├── scripts/ # Automation scripts
├── assets/constitution/ # Constitution template
└── references/ # Extended documentation
User repository (runtime, gitignored):
.sdd/
├── .gitignore # Ignore runtime content
├── codebase/ # Auto-generated docs (from /map)
│ ├── STACK.md
│ ├── ARCHITECTURE.md
│ └── ...
├── memory/
│ └── constitution.md # Project principles
└── features/<name>/ # Feature artifacts
├── spec.md
├── plan.md
└── tasks.md
Commands invoke this skill's resources using ${CLAUDE_PLUGIN_ROOT}:
# Resolve plugin root (once per command)
PLUGIN_ROOT=$(python3 /tmp/cpr.py sdd)
# Use templates
cat "$PLUGIN_ROOT"/skills/sdd-infrastructure/templates/spec-template.md
# Execute scripts
"$PLUGIN_ROOT"/skills/sdd-infrastructure/scripts/create-new-feature.sh --json "$ARGS"
Users can override templates by creating .sdd/templates/<template-name>.md. Commands check for local overrides before using plugin templates.
Scripts source common.sh for shared utilities:
#!/usr/bin/env bash
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$SCRIPT_DIR/common.sh"
# Now use shared functions
get_feature_paths "$FEATURE_NAME"
This skill is part of SDD plugin v1.0.0 (migrated from .specify to .sdd architecture).
npx claudepluginhub aaronbassett/agent-foundry --plugin sddGuides structured feature development through a 5-phase Spec-Driven Development workflow: Brainstorm, Define, Design, Build, Ship. Manages phase transitions, templates, and document outputs.
Guides GitHub Spec-Kit CLI integration for 7-phase constitution-based spec-driven feature development, managing .specify/specs/ directories with phases: Constitution, Specify, Clarify, Plan, Tasks, Analyze, Implement.
Transforms ideas into structured specifications (requirements, design, tasks) before implementation. Use when building features, fixing bugs, refactoring, or designing systems.