specify-resources
4
总安装量
4
周安装量
#49380
全站排名
安装命令
npx skills add https://github.com/xfstudio/skills --skill specify-resources
Agent 安装分布
cursor
4
qoder
3
antigravity
3
qwen-code
3
claude-code
3
windsurf
3
Skill 文档
Specify Resources
Shared scripts and templates for the Spec-Driven Development workflow. This skill is automatically referenced by other spec-* skills.
Directory Structure
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
âââ ...
Setup Instructions
To use spec-* skills in a new project:
- Create
.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.mdto.specify/memory/ -
Make scripts executable:
chmod +x .specify/scripts/bash/*.sh
Scripts Reference
check-prerequisites.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
create-new-feature.sh
Creates new feature branch and spec directory.
.specify/scripts/bash/create-new-feature.sh --json "Feature description" --short-name "feature-name"
setup-plan.sh
Initializes planning phase for a feature.
.specify/scripts/bash/setup-plan.sh --json
update-agent-context.sh
Updates AI agent context files with project information.
.specify/scripts/bash/update-agent-context.sh claude
Templates Reference
- spec-template.md: Feature specification with user stories, requirements, success criteria
- plan-template.md: Implementation plan with technical context, project structure
- tasks-template.md: Task list organized by user story with dependency tracking
- checklist-template.md: Quality validation checklist template
- constitution.md: Project principles and governance rules