Automate initial project planning: gather requirements, generate planning docs, create SESSION.md, and prepare for Phase 1.
Automates project planning: generates docs, creates session tracking, and prepares Phase 1 for implementation.
/plugin marketplace add evolv3-ai/vibe-skills/plugin install evolv3-ai-vibe-skills@evolv3-ai/vibe-skillsAutomate initial project planning: gather requirements, generate planning docs, create SESSION.md, and prepare for Phase 1.
Follow these steps to take a project from description to ready-to-code state.
If PROJECT_BRIEF.md exists in project root or planning/ directory:
ls PROJECT_BRIEF.md planning/PROJECT_BRIEF.md 2>/dev/null
If found:
Note: PROJECT_BRIEF.md is created by the /explore-idea command during pre-planning exploration. It contains research findings and validated decisions that streamline the planning process.
If not found:
If project description is vague or incomplete, ask 1-2 clarifying questions first:
Then invoke the project-planning skill with the project description:
Note: Do NOT ask the same questions the skill will ask. Let the skill handle requirements gathering.
Check that these files were created:
docs/IMPLEMENTATION_PHASES.md (required)Run:
ls docs/IMPLEMENTATION_PHASES.md
If IMPLEMENTATION_PHASES.md doesn't exist:
Read IMPLEMENTATION_PHASES.md to extract phases:
# Extract project name, phase count, and phase details
Create SESSION.md in project root using this template:
# Session State
**Current Phase**: Phase 1
**Current Stage**: Implementation
**Last Checkpoint**: [none yet] ([date])
**Planning Docs**: `docs/IMPLEMENTATION_PHASES.md`[, `docs/DATABASE_SCHEMA.md`][, other docs...]
---
## Phase 1: [Phase Name] π
**Type**: [Type] | **Started**: [date]
**Spec**: `docs/IMPLEMENTATION_PHASES.md#phase-1`
**Progress**:
- [ ] [First task from IMPLEMENTATION_PHASES.md]
- [ ] [Second task]
- [ ] [Third task]
**Next Action**: [Concrete first action from phase tasks]
**Key Files**:
- [List key files from phase]
**Known Issues**: None
## Phase 2: [Phase Name] βΈοΈ
**Spec**: `docs/IMPLEMENTATION_PHASES.md#phase-2`
## Phase 3: [Phase Name] βΈοΈ
**Spec**: `docs/IMPLEMENTATION_PHASES.md#phase-3`
[... list all remaining phases with βΈοΈ status ...]
Verify SESSION.md created:
ls SESSION.md
Create .claude/rules/ directory and copy session protocol:
mkdir -p .claude/rules
Copy session protocol from skill (if project-session-management skill is installed):
cp ~/.claude/skills/project-session-management/rules/session-protocol.md .claude/rules/
If skill not installed, create the rule manually by reading the template from:
skills/project-session-management/rules/session-protocol.md
Customize for this project:
Check if planning docs are committed:
git status --short docs/ SESSION.md .claude/rules/
If uncommitted planning docs exist:
Stage all planning docs and rules:
git add docs/ SESSION.md .claude/rules/
Check if this is initial commit:
git log --oneline | wc -l
Create structured commit:
Extract from IMPLEMENTATION_PHASES.md:
If this is first commit (count = 0):
git commit -m "$(cat <<'EOF'
Initial project planning
Generated planning documentation:
- IMPLEMENTATION_PHASES.md ([N] phases, ~[X] hours)
[- DATABASE_SCHEMA.md]
[- API_ENDPOINTS.md]
[- ARCHITECTURE.md]
[- other docs...]
- SESSION.md (session tracking)
- .claude/rules/session-protocol.md (session rules)
Next: Start Phase 1 - [Phase 1 Name]
π€ Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"
If not first commit:
git commit -m "$(cat <<'EOF'
Add project planning documentation
Generated planning docs:
- IMPLEMENTATION_PHASES.md ([N] phases, ~[X] hours)
[- DATABASE_SCHEMA.md]
[- API_ENDPOINTS.md]
[- other docs...]
- SESSION.md (session tracking)
- .claude/rules/session-protocol.md (session rules)
Next: Start Phase 1 - [Phase 1 Name]
π€ Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"
If no changes to commit:
Display a formatted summary of what was created:
βββββββββββββββββββββββββββββββββββββββββββββββ
PROJECT PLANNING COMPLETE
βββββββββββββββββββββββββββββββββββββββββββββββ
π Project: [Project Name from IMPLEMENTATION_PHASES.md]
π¦ Stack: [Frontend + Backend + Database from docs]
β±οΈ Estimated: [Total hours] (~[human minutes] human time)
βββββββββββββββββββββββββββββββββββββββββββββββ
PLANNING DOCS CREATED:
βββββββββββββββββββββββββββββββββββββββββββββββ
β
IMPLEMENTATION_PHASES.md ([N] phases)
β
SESSION.md (progress tracker)
β
.claude/rules/session-protocol.md (session rules)
[β
DATABASE_SCHEMA.md] (if created)
[β
API_ENDPOINTS.md] (if created)
[β
ARCHITECTURE.md] (if created)
[... other docs if created ...]
βββββββββββββββββββββββββββββββββββββββββββββββ
PHASES OVERVIEW:
βββββββββββββββββββββββββββββββββββββββββββββββ
Phase 1: [Name] ([Type], [X] hours) π β CURRENT
Phase 2: [Name] ([Type], [X] hours) βΈοΈ
Phase 3: [Name] ([Type], [X] hours) βΈοΈ
[... list all phases with emoji status ...]
βββββββββββββββββββββββββββββββββββββββββββββββ
NEXT ACTION (Phase 1):
βββββββββββββββββββββββββββββββββββββββββββββββ
[Concrete next action from SESSION.md]
File: [file path if applicable]
Task: [specific action to take]
βββββββββββββββββββββββββββββββββββββββββββββββ
KEY FILES TO KNOW:
βββββββββββββββββββββββββββββββββββββββββββββββ
β’ SESSION.md - Track progress, current state
β’ docs/IMPLEMENTATION_PHASES.md - Full phase details
[β’ docs/[other docs]] (if applicable)
βββββββββββββββββββββββββββββββββββββββββββββββ
Ask user:
Ready to start Phase 1: [Phase Name]?
Options:
1. Yes - proceed with Phase 1 Next Action
2. Review first - I want to review planning docs
3. Adjust - I want to refine some phases
Your choice (1/2/3):
If choice 1 (Yes):
If choice 2 (Review first):
If choice 3 (Adjust):
After user starts Phase 1 or reviews docs, ask:
Push planning docs to remote? (y/n)
If yes:
git push
If push succeeds:
If push fails:
git push manually when ready."project-planning skill invocation fails:
IMPLEMENTATION_PHASES.md not created:
SESSION.md creation fails:
Git commit fails:
Git push fails:
git push manually later."No git repository:
git init? (y/n)"git init && git add . && git commit -m "Initial commit"Project description too vague:
IMPLEMENTATION_PHASES.md exists but empty:
β project-planning skill invoked successfully β IMPLEMENTATION_PHASES.md created with validated phases β SESSION.md created with Phase 1 as current β .claude/rules/session-protocol.md created (portable session rules) β Planning docs committed to git (if git repo exists) β User has clear "Next Action" to start Phase 1 β User knows where to find all planning docs