Agent skill

update-planning-docs

Stars 163
Forks 31

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

  1. Ask: "What changed? (files, features, fixes)"
  2. Determine category: Added, Changed, Fixed, Deprecated, Removed, Security
  3. Open logs/CHANGELOG.md
  4. Add entry under "Unreleased" section in appropriate category
  5. Format: - Description. Files: \path/to/file`. Commit: `hash` (if available)`
  6. Show the entry to user for confirmation

Example:

markdown
### Added
- Improved Augment rules with pre-commit checklist. Files: `.augment/rules/log-file-maintenance.md`

Option 2: Update DEVLOG

  1. Ask: "What milestone/decision needs documenting?"
  2. 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?
  3. Open logs/DEVLOG.md
  4. Add entry to "Daily Log" section (newest first)
  5. Use format: Situation/Challenge/Decision/Why/Result/Files
  6. Keep entry 150-250 words
  7. Show entry to user for confirmation

Example:

markdown
### 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

  1. Ask: "What changed in project state?"
    • Version?
    • Branch?
    • Phase?
    • Objectives?
    • Risks/blockers?
  2. Open logs/DEVLOG.md → "Current Context (Source of Truth)" section
  3. Update relevant fields
  4. Show changes to user for confirmation

Option 4: Create ADR

  1. Ask: "What architectural decision needs documenting?"
  2. Get next ADR number from logs/adr/README.md
  3. Use template from .log-file-genius/templates/ADR_template.md
  4. Create file: logs/adr/NNN-short-title.md
  5. Fill in: Context, Decision, Consequences, Alternatives
  6. Update logs/adr/README.md index
  7. 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

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results