Shared resources (scripts, templates) for Spec-Driven Development workflow. This skill is a dependency for all spec-* skills and should NOT be invoked directly by users...
Shared scripts and templates for the Spec-Driven Development workflow. This skill is automatically referenced by other spec-* skills.
After initializing in a project, the .specify/ directory structure should be:
.specify/
āāā memory/
ā āāā constitution.md # Project principles and constraints
āāā scripts/
ā āāā bash/
ā āāā common.sh # Shared functions
ā āāā check-prerequisites.sh # Validate feature environment
ā āāā create-new-feature.sh # Initialize new feature branch
ā āāā setup-plan.sh # Setup planning phase
ā āāā update-agent-context.sh # Update AI agent context files
āāā templates/
āāā spec-template.md # Feature specification template
āāā plan-template.md # Implementation plan template
āāā tasks-template.md # Task list template
āāā checklist-template.md # Checklist template
āāā ...
To use spec-* skills in a new project:
.specify/ directory structure:mkdir -p .specify/{memory,scripts/bash,templates}
Copy scripts from this skill's scripts/bash/ to .specify/scripts/bash/
Copy templates from this skill's references/templates/ to .specify/templates/
Copy constitution template from references/memory/constitution.md to .specify/memory/
Make scripts executable:
chmod +x .specify/scripts/bash/*.sh
Validates feature environment and returns paths.
# JSON output with feature directory and available docs
.specify/scripts/bash/check-prerequisites.sh --json
# Require tasks.md to exist
.specify/scripts/bash/check-prerequisites.sh --json --require-tasks --include-tasks
# Paths only (no validation)
.specify/scripts/bash/check-prerequisites.sh --json --paths-only
Creates new feature branch and spec directory.
.specify/scripts/bash/create-new-feature.sh --json "Feature description" --short-name "feature-name"
Initializes planning phase for a feature.
.specify/scripts/bash/setup-plan.sh --json
Updates AI agent context files with project information.
.specify/scripts/bash/update-agent-context.sh claude