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.
From sddnpx claudepluginhub aaronbassett/agent-foundry --plugin sddThis skill uses the workspace's default tool permissions.
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.mdSearches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Designs and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
This 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).