Add a new feature to an existing project by generating new phases and integrating them into IMPLEMENTATION_PHASES.md and SESSION.md.
Adds a new feature to an existing project by generating phases and integrating them into planning docs.
/plugin marketplace add evolv3-ai/vibe-skills/plugin install evolv3-ai-vibe-skills@evolv3-ai/vibe-skillsAdd a new feature to an existing project by generating new phases and integrating them into IMPLEMENTATION_PHASES.md and SESSION.md.
Follow these steps to plan and integrate a new feature into an existing project.
Check that planning docs exist:
ls SESSION.md docs/IMPLEMENTATION_PHASES.md
If SESSION.md doesn't exist:
If IMPLEMENTATION_PHASES.md doesn't exist:
Read SESSION.md to extract:
Read IMPLEMENTATION_PHASES.md to extract:
If current phase is in progress (π):
Output warning:
β οΈ WARNING: Phase [N] - [Name] is in progress.
Current phase status: [Stage]
Progress: [Show task completion from SESSION.md]
Adding a new feature now may cause confusion. Options:
1. Finish current phase first (recommended)
2. Add feature anyway (will append after current phases)
3. Cancel and come back later
Your choice (1/2/3):
If choice 1 (Finish current phase):
If choice 2 (Add anyway):
If choice 3 (Cancel):
If current phase is complete (β ) or paused (βΈοΈ):
Ask clarifying questions about the feature:
I'll help plan this feature. A few questions:
1. Feature Description: What does this feature do?
(Be specific: "Add user profiles with avatar upload" vs "Add profiles")
2. Scope: Is this feature...
- Small (1-2 phases, ~2-4 hours)
- Medium (3-4 phases, ~6-10 hours)
- Large (5+ phases, ~12+ hours)
3. Dependencies: Does this feature require...
- New database tables/columns?
- New API endpoints?
- New UI components?
- Third-party integrations?
- All of the above?
4. Priority: When should this feature be built?
- Immediately after current phase
- After specific phase: [specify phase number]
- At the end (append to existing phases)
5. Integration: Does this feature...
- Modify existing functionality (may require changes to existing phases)?
- Add completely new functionality (independent phases)?
Wait for user answers.
Invoke project-planning skill to generate phases for this feature:
Skill output: New phases in IMPLEMENTATION_PHASES.md format
Verify phases generated:
Read existing IMPLEMENTATION_PHASES.md completely.
Determine insertion point based on user's priority answer:
If inserting mid-document:
Add feature separator before new phases:
---
## Feature: [Feature Name] (Added [YYYY-MM-DD])
[Feature description from user]
---
Insert new phases with proper formatting:
Write updated IMPLEMENTATION_PHASES.md
Read current SESSION.md completely.
Determine where to insert new phases (matching IMPLEMENTATION_PHASES.md):
Add new phases to SESSION.md:
Example insertion:
## Phase 3: Tasks API β
**Completed**: 2025-11-07 | **Checkpoint**: abc1234
**Summary**: CRUD endpoints with validation
## Phase 4: User Profiles Database βΈοΈ
**Type**: Database | **Added**: 2025-11-07
**Spec**: `docs/IMPLEMENTATION_PHASES.md#phase-4`
## Phase 5: User Profiles API βΈοΈ
**Type**: API | **Added**: 2025-11-07
**Spec**: `docs/IMPLEMENTATION_PHASES.md#phase-5`
## Phase 6: User Profiles UI βΈοΈ
**Type**: UI | **Added**: 2025-11-07
**Spec**: `docs/IMPLEMENTATION_PHASES.md#phase-6`
## Phase 7: Task UI βΈοΈ
**Spec**: `docs/IMPLEMENTATION_PHASES.md#phase-7`
[... existing phase, renumbered from Phase 4 ...]
Update "Next Action" if feature is immediate priority:
Write updated SESSION.md
Check if feature requires doc updates:
If feature adds database tables:
If feature adds API endpoints:
If feature changes architecture:
If feature adds UI components:
Stage changes:
git add docs/IMPLEMENTATION_PHASES.md SESSION.md
If other docs were updated:
git add docs/DATABASE_SCHEMA.md docs/API_ENDPOINTS.md docs/ARCHITECTURE.md docs/UI_COMPONENTS.md
Create structured commit:
Extract from generated phases:
git commit -m "$(cat <<'EOF'
Add feature: [Feature Name]
Added [N] new phases for [feature description]:
- Phase [X]: [Name] ([Type], [Y] hours)
- Phase [X+1]: [Name] ([Type], [Y] hours)
[... list all new phases ...]
Integration point: [After Phase N / End of plan]
Estimated: [X] hours (~[Y] minutes human time)
Docs updated:
- IMPLEMENTATION_PHASES.md (added phases)
- SESSION.md (added pending phases)
[- DATABASE_SCHEMA.md] (if updated)
[- API_ENDPOINTS.md] (if updated)
[- ARCHITECTURE.md] (if updated)
π€ Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"
Display formatted summary:
βββββββββββββββββββββββββββββββββββββββββββββββ
FEATURE PLANNING COMPLETE
βββββββββββββββββββββββββββββββββββββββββββββββ
β¨ Feature: [Feature Name]
π¦ Scope: [Small/Medium/Large] ([N] phases, [X] hours)
βββββββββββββββββββββββββββββββββββββββββββββββ
NEW PHASES ADDED:
βββββββββββββββββββββββββββββββββββββββββββββββ
Phase [X]: [Name] ([Type], [X] hours) βΈοΈ
Phase [Y]: [Name] ([Type], [X] hours) βΈοΈ
Phase [Z]: [Name] ([Type], [X] hours) βΈοΈ
[... list all new phases ...]
βββββββββββββββββββββββββββββββββββββββββββββββ
INTEGRATION:
βββββββββββββββββββββββββββββββββββββββββββββββ
β’ Inserted: [After Phase N / End of plan]
β’ Existing phases: [Renumbered from Phase X / Unchanged]
β’ Total project phases: [N]
βββββββββββββββββββββββββββββββββββββββββββββββ
UPDATED DOCS:
βββββββββββββββββββββββββββββββββββββββββββββββ
β
IMPLEMENTATION_PHASES.md
β
SESSION.md
[β
DATABASE_SCHEMA.md] (if updated)
[β
API_ENDPOINTS.md] (if updated)
[β
ARCHITECTURE.md] (if updated)
[β
UI_COMPONENTS.md] (if updated)
βββββββββββββββββββββββββββββββββββββββββββββββ
CURRENT STATUS:
βββββββββββββββββββββββββββββββββββββββββββββββ
Current Phase: Phase [N] - [Name] ([Status emoji])
New feature phases: βΈοΈ (pending)
Next Action: [Current Next Action from SESSION.md]
βββββββββββββββββββββββββββββββββββββββββββββββ
Ask user:
Feature planning complete. What would you like to do?
Options:
1. Continue with current phase (recommended if in progress)
2. Start new feature immediately (skip ahead to feature phases)
3. Review feature phases first
4. Push to remote
Your choice (1/2/3/4):
If choice 1 (Continue current):
If choice 2 (Start feature immediately):
If choice 3 (Review first):
If choice 4 (Push to remote):
git push
git push manually when ready." (if failed)SESSION.md doesn't exist:
IMPLEMENTATION_PHASES.md doesn't exist:
Current phase is in progress and user cancels:
Feature description is vague:
project-planning skill fails:
Phase numbering conflict:
File conflict with existing phases:
Git commit fails:
Git push fails:
git push manually later."Related doc doesn't exist:
β Existing planning docs verified β Current phase status checked β Feature requirements gathered (5 questions answered) β New phases generated with validation β IMPLEMENTATION_PHASES.md updated with new phases β SESSION.md updated with new pending phases β Phase numbering consistent across all docs β Related docs updated (if applicable) β Git commit created for feature planning β User has clear understanding of integration point β User can continue current work or start feature