
002-setup-project
by PaulCrossland1
Human-directed skill ecosystem for structured software project execution using Claude Code
SKILL.md
name: 002-setup-project description: Transform requirements into an executable project scaffold with sequential tasks. Generates tasks.json (task breakdown), ARCHITECTURE.md (technical blueprint), CONTEXT.md (agent briefing), and supporting docs. Use after /001-scope-project for medium+ scope projects that need structured execution. Invoke with /project-setup.
Project Setup — Requirements to Executable Tasks
Transform project requirements into an executable structure with sequential tasks.
When to use: Medium to large scope projects that benefit from structured task breakdown. Skip this for scripts, quick fixes, or simple features — just build those directly.
Step 1: Find or Gather Requirements
Requirements can come from multiple sources:
Option A: Existing Document
If there's a PRD or requirements doc from 001-scope-project:
{
"questions": [{
"question": "Where are the requirements?",
"header": "Source",
"options": [
{"label": ".claude/PRD.md", "description": "Standard location"},
{"label": "Other file", "description": "I'll specify the path"},
{"label": "Earlier in chat", "description": "We discussed requirements already"}
],
"multiSelect": false
}]
}
Option B: From Chat Context
If requirements were discussed but not saved to a file, work from that context. Summarize what you understand:
"Based on our discussion, here's what I understand:
- [Core functionality]
- [Tech stack]
- [Key requirements]
I'll generate the project structure from this. Correct?"
Option C: No Requirements Yet
If invoked without prior requirements work:
"I don't see a requirements doc. Should we:
- Run /001-scope-project first to gather requirements?
- You describe the project now and I'll work from that?"
Step 2: Assess Scope
Before generating 20-40 tasks, confirm this warrants structured execution:
{
"questions": [{
"question": "How substantial is this project?",
"header": "Scope Check",
"options": [
{"label": "Multi-day project", "description": "Needs structured task breakdown"},
{"label": "Day or two", "description": "Maybe 5-10 tasks"},
{"label": "Few hours", "description": "Might be overkill to formalize"}
],
"multiSelect": false
}]
}
For small scope, suggest:
"For a few hours of work, you might not need full project scaffolding. Want to just start building, or proceed with formal setup anyway?"
Step 3: Confirm Project Directory
{
"questions": [{
"question": "Where should the project be created?",
"header": "Project Path",
"options": [
{"label": "Current directory", "description": "Create .claude/ here"},
{"label": "New subdirectory", "description": "Create project-name/ folder"},
{"label": "Specify path", "description": "I'll provide the path"}
],
"multiSelect": false
}]
}
Step 4: Generate Project Structure
4a. Create Architecture Document
Read requirements and generate .claude/ARCHITECTURE.md:
- Tech stack decisions
- Data models
- API design
- File structure plan
Use template from document-templates.md.
4b. Generate Task Breakdown
Create .claude/tasks.json following task-generation.md:
- Identify phases from requirements
- Extract components per phase
- Order by dependency (foundation → data → core → api → ui → test)
- Write success criteria (every task must be verifiable)
Scale to scope:
| Project Size | Typical Tasks |
|---|---|
| Small (few hours) | 3-8 tasks |
| Medium (days) | 10-20 tasks |
| Large (weeks) | 20-40 tasks |
Use schema from task-schema.md.
4c. Generate Supporting Documents
Create remaining docs using templates:
.claude/CONTEXT.md— Initial state summary.claude/PROGRESS-NOTES.md— Empty log.claude/BLOCKERS.md— Empty blockers file.claude/ENV-SETUP.md— Environment requirements.claude/DECISIONS.md— Initial architecture decisions
4d. Create Directory Structure
Create empty directories matching ARCHITECTURE.md file structure.
Step 5: Output Summary
Present what was created:
✓ Created project structure at /path/to/project
Generated:
- tasks.json: [X] tasks across [Y] phases
- ARCHITECTURE.md: Technical blueprint
- CONTEXT.md: Initial agent briefing
- ENV-SETUP.md: Environment requirements
First task: [T001 description]
Ready to start? Run /003-execute-tasks
Output Structure
All project documentation lives under .claude/:
project-name/
├── .claude/
│ ├── PRD.md # Requirements (if saved)
│ ├── ARCHITECTURE.md # Technical blueprint
│ ├── DECISIONS.md # Architecture decisions
│ ├── ENV-SETUP.md # Environment requirements
│ ├── tasks.json # Task breakdown
│ ├── CONTEXT.md # Current state
│ ├── PROGRESS-NOTES.md # Work log
│ └── BLOCKERS.md # Issues needing human
└── [project source files]
Task Generation Rules
Atomicity
Each task completable in single agent session (~15-30 min).
Too big: "Build authentication system" Right size: "Create User model and Prisma schema"
Verifiability
Every task has automated success criteria:
file_exists— Check file/directorycommand_succeeds— Run command, check exit 0type_checks— TypeScript compilestest_passes— Specific tests pass
Sequential Ordering
Tasks execute in order. Each task's depends_on references prior tasks.
Complexity Estimation
| Complexity | Duration | Example |
|---|---|---|
| trivial | <5 min | Config file change |
| simple | 5-15 min | Single model/component |
| moderate | 15-30 min | Feature with multiple files |
| complex | 30-60 min | Integration, significant logic |
CONTEXT.md Purpose
Most important file for agent continuity.
Each subagent starts fresh. CONTEXT.md tells it:
- What the project is
- What's been built
- What files exist
- Current task
- Key decisions made
Updated after each task completion.
References
- task-schema.md — JSON schema, success criteria types
- document-templates.md — Templates for all generated docs
- task-generation.md — Requirements-to-tasks methodology
スコア
総合スコア
リポジトリの品質指標に基づく評価
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
レビュー
レビュー機能は近日公開予定です