Agent skill
update-planning-docs
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/update-planning-docs
SKILL.md
update-planning-docs (Manual Command)
Trigger
When the user says "@update planning docs" or "update planning docs", execute this command.
What to Do
Guide the user through updating CHANGELOG, DEVLOG, or other planning documentation.
Step 1: Ask What Needs Updating
Present these options:
Which planning document(s) need updating?
1. **CHANGELOG** - Add technical change entries
2. **DEVLOG** - Add decision/milestone narrative
3. **DEVLOG Current Context** - Update project state
4. **ADR** - Create architectural decision record
5. **All of the above** - Comprehensive update
Please specify (1-5):
Step 2: Execute Based on Choice
Option 1: Update CHANGELOG
- Ask: "What changed? (files, features, fixes)"
- Determine category: Added, Changed, Fixed, Deprecated, Removed, Security
- Open
logs/CHANGELOG.md - Add entry under "Unreleased" section in appropriate category
- Format:
- Description. Files: \path/to/file`. Commit: `hash` (if available)` - Show the entry to user for confirmation
Example:
### Added
- Improved Augment rules with pre-commit checklist. Files: `.augment/rules/log-file-maintenance.md`
Option 2: Update DEVLOG
- Ask: "What milestone/decision needs documenting?"
- Gather information:
- What was the situation/context?
- What was the challenge/problem?
- What decision was made?
- Why does it matter?
- What was the result?
- What files changed?
- Open
logs/DEVLOG.md - Add entry to "Daily Log" section (newest first)
- Use format: Situation/Challenge/Decision/Why/Result/Files
- Keep entry 150-250 words
- Show entry to user for confirmation
Example:
### 2025-10-31: Improving Augment Rules - Making Automation Actually Work
**The Situation:** The existing log-file-maintenance rule wasn't triggering automatic updates...
**The Challenge:** Rules were passive guidance, not active automation...
**The Decision:** Rewrote rules with explicit pre-commit checklist...
**Why This Matters:** Automatic planning file updates are core to the system...
**The Result:** New rules include mandatory checklists and verification steps...
**Files Changed:** `.augment/rules/log-file-maintenance.md`
Option 3: Update DEVLOG Current Context
- Ask: "What changed in project state?"
- Version?
- Branch?
- Phase?
- Objectives?
- Risks/blockers?
- Open
logs/DEVLOG.md→ "Current Context (Source of Truth)" section - Update relevant fields
- Show changes to user for confirmation
Option 4: Create ADR
- Ask: "What architectural decision needs documenting?"
- Get next ADR number from
logs/adr/README.md - Use template from
.log-file-genius/templates/ADR_template.md - Create file:
logs/adr/NNN-short-title.md - Fill in: Context, Decision, Consequences, Alternatives
- Update
logs/adr/README.mdindex - Show ADR to user for confirmation
Option 5: All of the Above
Execute steps 1-4 in sequence, asking for information for each.
Step 3: Offer to Commit
After updating files, ask:
Planning files updated. Would you like me to:
1. Commit these changes now
2. Let you review first
3. Include in your next commit
Key Files Reference
- CHANGELOG:
logs/CHANGELOG.md - DEVLOG:
logs/DEVLOG.md - ADRs:
logs/adr/directory - Templates:
.log-file-genius/templates/directory - How-to guide:
.log-file-genius/docs/log_file_how_to.md
Tips
- Be specific: Vague entries like "Updated files" aren't helpful
- Include context: Explain WHY, not just WHAT
- Reference files: Always include file paths
- Keep it concise: CHANGELOG = 1 line, DEVLOG = 150-250 words
- Link commits: Include commit hashes when available
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?