Safe MASTER_PLAN.md management with backup, validation, and intelligent updates. Use when updating task tracking, adding features to roadmap, or modifying project documentation.
Intelligent management of MASTER_PLAN.md files with comprehensive safety measures.
Use this skill when:
MANDATORY before any MASTER_PLAN.md modification:
Update task/bug status in the Dependency Index table:
| ID | Status | Primary Files | Depends | Blocks |
|----|--------|---------------|---------|--------|
| TASK-XXX | 🔄 **IN PROGRESS** | `file.ts` | - | - |
Status transitions:
📋 TODO → 🔄 IN PROGRESS → 👀 REVIEW → ✅ DONENew Task:
### TASK-XXX: Task Title (📋 TODO)
**Priority**: P2-MEDIUM
**Files to Modify:**
- `src/file.ts`
**Steps:**
- [ ] Step 1
- [ ] Step 2
New Bug:
### BUG-XXX: Bug Description (🔄 IN PROGRESS)
**Severity**: HIGH
**Symptoms**: What's wrong
**Root Cause**: (To be determined)
Roadmap Item:
| ROAD-XXX | Feature description | P2 | TODO | Notes |
When marking complete:
~~TASK-XXX~~(✅ DONE)| Prefix | Usage |
|---|---|
TASK-XXX |
Features and tasks |
BUG-XXX |
Bug fixes |
ROAD-XXX |
Roadmap items |
IDEA-XXX |
Ideas to consider |
ISSUE-XXX |
Known issues |
1. READ current MASTER_PLAN.md
↓
2. ANALYZE what needs to change
↓
3. CHECK if content already exists (avoid duplicates)
↓
4. BACKUP before modifications
↓
5. APPLY changes incrementally
↓
6. VALIDATE markdown structure
↓
7. CONFIRM with user if significant changes
Before:
### TASK-033: Create Plugin (🔄 IN PROGRESS)
After:
### ~~TASK-033~~: Create Plugin (✅ DONE)
Also update Dependency Index:
| ~~TASK-033~~ | ✅ **DONE** | `plugin/*` | - | - |
### BUG-XXX: Button not responding (🔄 IN PROGRESS)
**Severity**: MEDIUM
**Symptoms**: Click handler not firing on mobile
**Root Cause**: Touch event not handled
**Fix**: Add touchstart listener
**Steps:**
- [x] Research ✅
- [x] Implementation ✅
- [ ] Testing
- [ ] Documentation
When chief-architect or other skills delegate:
master-plan-manager: update-status TASK-033 done
master-plan-manager: add-task "New feature" P2
master-plan-manager: add-bug "Issue description" HIGH
master-plan-manager: move-to-completed TASK-033
Before completing any update:
If something goes wrong:
# Restore from backup
cp docs/MASTER_PLAN.md.backup docs/MASTER_PLAN.md
# Or use git
git checkout HEAD -- docs/MASTER_PLAN.md