Use this skill when starting a new project or adding AgenticDev to an existing project. Scaffolds the directory structure (docs/specs, docs/changes) and configuration files needed for the spec-driven development workflow.
Initialize a new project with the AgenticDev directory structure and configuration files. This skill sets up the foundational folders needed for the spec-driven development workflow, creating a standard structure for specifications, change proposals, and documentation.
Use this skill in the following situations:
Important: If the project already has documentation in a docs/ directory, use the project-migrate skill instead. It will properly catalog, categorize, and migrate existing documentation into the AgenticDev structure while preserving git history and updating links.
Before initializing, determine:
docs/ directory already exist?docs/ exists, does it contain markdown files?Decision Tree:
The init-project.sh script will automatically detect existing documentation and suggest using project-migrate if appropriate.
Execute the helper script to create the directory structure:
For current directory:
bash scripts/init-project.sh
For a specific directory:
bash scripts/init-project.sh -d /path/to/project
The script will create:
docs/specs/ - Source-of-truth for approved specificationsdocs/changes/ - Staging area for proposed changes (Spec PRs)Check that the directories were created successfully:
ls -la docs/
Expected output:
docs/
├── specs/
└── changes/
After the directory structure is created, consider adding these files:
Create RETROSPECTIVE.md (in project root):
cat > RETROSPECTIVE.md << 'EOF'
# Development Retrospective
This file captures learnings from completed tasks to inform and improve future development work.
## Active Improvements
EOF
Create AGENTS.md (using agent-integrator skill):
# Use the agent-integrator skill to create AGENTS.md
bash skills/agent-integrator/scripts/update-agents-file.sh
After initialization, guide the user on getting started:
spec-authoring skill to propose the first featuredocs/specs/ directorySymptom: Script reports that directories already exist or initialization appears to do nothing
Solution:
docs/specs/ and docs/changes/ already existSymptom: "Permission denied" when creating directories
Solution:
sudo if necessary (rare)Symptom: Directories created in unexpected location
Solution:
rm -rf docs/bash scripts/init-project.sh -d /correct/pathPurpose: Source-of-truth for all approved specifications
Contents:
Example structure:
docs/specs/
├── 001-initial-system.md
├── 002-authentication.md
└── feature-name/
├── spec.md
└── design.md
Purpose: Staging area for proposed changes before approval
Contents:
Example structure:
docs/changes/
├── my-feature/
│ ├── proposal.md
│ ├── spec-delta.md
│ └── tasks.md
└── another-feature/
└── proposal.md
Workflow: Changes start in docs/changes/, get approved via Spec PR, then move to docs/specs/
Understanding when to use each skill:
The init-project.sh script automatically detects existing documentation and will:
This ensures you always use the right skill for your situation.
.gitkeep files to track empty directories in gitSearch for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer