agentleFS
DasDigitaleMomentumDasDigitaleMomentum/opencode-processing-skills/skills/update-plan/SKILL.md

update-plan

Skill60 starsChanged 34 days agoMITView on GitHub

Update an existing plan's status, todo list, and phase progress. Tracks what was done, updates completion status, and maintains the changelog. Use this skill during or after working on a plan phase to keep planning artifacts current.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

42 rules. About 0 are common, 30 are distinctive, and 12 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈30

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 12

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After completing work: to mark items and phases as done

    line 26
  2. Distinctive:

    When blockers are discovered: to document them

    line 27
  3. Distinctive:

    When the implementation approach changes: to update the implementation plan

    line 28
  4. Distinctive:

    After a plan review: to apply accepted Remove / Merge / Simplify findings while keeping scope artifacts consistent

    line 29
  5. Distinctive:

    When the user asks to "update the plan" or "mark phase as done"

    line 30
  6. Very specific:

    Use doc-explorer only if verifying acceptance criteria requires codebase analysis (results are written to docs/).

    line 36
  7. Distinctive:

    implementer: never used for plan maintenance.

    line 44
  8. Very specific:

    Check plans/ directory for existing plans

    line 52
  9. Very specific:

    If multiple plans exist, use the question tool to ask the user which plan

    line 53
  10. Very specific:

    Read the plan's plan.md to understand the current status

    line 54
  11. Very specific:

    Read todo.md to see current task state

    line 55
  12. Distinctive:

    Add new items discovered during work

    line 61
  13. Distinctive:

    Verify all acceptance criteria from the phase document are met

    line 66
  14. Very specific:

    Update phase status in phases/phase-N.md frontmatter

    line 67
  15. Very specific:

    Update the phases table in plan.md

    line 68
  16. Distinctive:

    If the technical approach changed during implementation

    line 73
  17. Very specific:

    Update the affected implementation/phase-N-impl.md

    line 74
  18. Distinctive:

    Document the reason for the change

    line 75
  19. Distinctive:

    Update any affected todo items

    line 76
  20. Distinctive:

    Do not invent replacement phases, abstractions, infrastructure, requirements, or acceptance criteria

    line 86
  21. Very specific:

    If execution has not started, remove obsolete pending phase artifacts after explicit approval.

    line 88
  22. Distinctive:

    Keep the review artifact immutable

    line 89
  23. Distinctive:

    Update references directly affected by the reduction, then stop.

    line 90
  24. Distinctive:

    Always add a changelog entry:

    line 110
  25. Distinctive:

    When a phase is completed and the next phase begins:

    line 136
  26. Distinctive:

    Read the next phase's implementation plan

    line 140
  27. Distinctive:

    Update the todo list's Phase Context section: update phase/implementation links, relevant docs, and latest handover reference

    line 142
  28. Very specific:

    Update plan status in plan.md if needed

    line 143
  29. Distinctive:

    Add changelog entry documenting the transition

    line 144
  30. Very specific:

    Update plan status in plan.md frontmatter to completed

    line 149
  31. Distinctive:

    Verify that the overall Definition of Done is met

    line 150
  32. Distinctive:

    Add a final changelog entry: "Plan completed"

    line 151
  33. Very specific:

    Use the question tool to confirm with the user that the plan is truly done

    line 153
  34. Distinctive:

    Next: stop | primary decision required.

    line 167
  35. Distinctive:

    Always read before writing: Read the current state of all affected files before making changes.

    line 171
  36. Distinctive:

    Changelog is append-only: Never modify or remove existing changelog entries.

    line 172
  37. Distinctive:

    Preserve history: When moving todo items between sections, maintain the completion date annotation.

    line 173
  38. Distinctive:

    Atomic updates: Update all related files together (todo + phase + plan) - don't leave them in an inconsistent state.

    line 174
  39. Distinctive:

    Track deviations: If the actual implementation deviated from the plan, document the deviation in the implementation plan rather than …

    line 176
  40. Distinctive:

    File-based interface: All updates are written to plan files.

    line 178
  41. Distinctive:

    Reduction over compensation: When fixing gold-plating, remove or simplify work.

    line 180
  42. Distinctive:

    Review artifact immutability: Never modify the review that authorized remediation.

    line 181

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Skill: Update Plan

What This Skill Does

Keeps planning artifacts synchronized with actual progress:

  • Updates todo items (mark done, add new items, note blockers)
  • Updates phase status (pending → in_progress → completed)
  • Updates plan status and changelog
  • Updates implementation plan if approach changed during work
  • Prepares for next phase when current phase completes

When to Use

  • During work on a plan phase: to track progress in real-time
  • After completing work: to mark items and phases as done
  • When blockers are discovered: to document them
  • When the implementation approach changes: to update the implementation plan
  • After a plan review: to apply accepted Remove / Merge / Simplify findings while keeping scope artifacts consistent
  • When the user asks to "update the plan" or "mark phase as done"

Execution Model (Recommended)

  • Preferred: the primary agent runs this skill and updates artifacts under plans/<name>/.
  • Rationale: plan updates encode session decisions and current intent; the primary has the best access to that context.
  • Use doc-explorer only if verifying acceptance criteria requires codebase analysis (results are written to docs/).
  • Optional (edge cases): delegate mechanical edits (bulk todo moves, large reshuffles) to doc-explorer if needed.

Routing Matrix (Who does what)

  • Writes: updates under plans/<name>/ including plan.md, todo.md, phases/**, and (when needed) implementation/**.
  • Primary: preferred owner for updates (session decisions/intents live here).
  • doc-explorer: optional helper for mechanical edits or codebase analysis to verify acceptance criteria.
  • implementer: never used for plan maintenance.

Workflow

Step 1: Identify the Plan

Find the active plan:

  • Check plans/ directory for existing plans
  • If multiple plans exist, use the question tool to ask the user which plan
  • Read the plan's plan.md to understand the current status
  • Read todo.md to see current task state

Step 2: Determine What to Update

Option A: Todo updates (most common)

  • Mark completed items: move from Pending/In Progress to Completed
  • Add new items discovered during work
  • Mark blocked items with reason
  • Move next items to In Progress

Option B: Phase completion

  • Verify all acceptance criteria from the phase document are met
  • Update phase status in phases/phase-N.md frontmatter
  • Update the phases table in plan.md
  • Populate todo list with next phase's items (from implementation plan)
  • Add changelog entry

Option C: Implementation plan revision

  • If the technical approach changed during implementation
  • Update the affected implementation/phase-N-impl.md
  • Document the reason for the change
  • Update any affected todo items

Option D: Plan-level updates

  • Requirements changed → update plan.md
  • New risks identified → add to risks table
  • Scope adjustment → update scope section

Option E: Plan-review remediation

  • Inputs: immutable plan-review artifact, accepted finding IDs, explicitly rejected IDs with rationale, and user/primary decisions
  • Apply accepted Remove, Merge, and Simplify dispositions across plan.md, pending phase files, todo.md, and affected references
  • Do not invent replacement phases, abstractions, infrastructure, requirements, or acceptance criteria
  • Record applied finding IDs and material scope decisions in the changelog
  • If execution has not started, remove obsolete pending phase artifacts after explicit approval; if history exists, preserve it and mark the phase skipped or superseded with a concise pointer
  • Keep the review artifact immutable
  • Update references directly affected by the reduction, then stop; do not create a general plan-audit pass

Step 3: Apply Updates

Updating Todo List (todo.md)

### Completed
- [x] Implement user authentication endpoint (2025-02-14)

### In Progress
- [ ] Add input validation for login form

### Pending
- [ ] Write integration tests for auth flow

### Blocked
- [ ] Deploy to staging - waiting for CI pipeline fix

Always add a changelog entry:

### 2025-02-14
- Completed: Implement user authentication endpoint
- Started: Add input validation for login form
- Blocked: Deploy to staging (CI pipeline issue)

Updating Phase Status

In phases/phase-N.md frontmatter:

status: completed  # was: in_progress
updated: "2025-02-14"

Updating Plan Changelog

In plan.md:

### 2025-02-14
- Phase 1 completed, Phase 2 started

Step 4: Phase Transition

When a phase is completed and the next phase begins:

  1. Mark current phase as completed
  2. Mark next phase as in_progress
  3. Read the next phase's implementation plan
  4. Populate the todo list with the next phase's implementation steps
  5. Update the todo list's Phase Context section: update phase/implementation links, relevant docs, and latest handover reference
  6. Update plan status in plan.md if needed
  7. Add changelog entry documenting the transition

When the final phase is completed (Plan Completion):

  1. Mark the final phase as completed
  2. Update plan status in plan.md frontmatter to completed
  3. Verify that the overall Definition of Done is met
  4. Add a final changelog entry: "Plan completed"
  5. Clear the todo list's active phase header or add a "Plan Completed" note
  6. Use the question tool to confirm with the user that the plan is truly done

Step 5: Report

Summarize what was updated. If the phase is complete, highlight:

  • What was achieved
  • Whether all acceptance criteria were met
  • What comes next

For plan-review remediation, return:

  • Outcome: succeeded | partial | blocked
  • Findings: applied and unresolved IDs
  • Edits: changed artifacts with one-line descriptions
  • Next: stop | primary decision required; no independent re-review was started

Rules

  1. Always read before writing: Read the current state of all affected files before making changes.
  2. Changelog is append-only: Never modify or remove existing changelog entries. Only add new entries.
  3. Preserve history: When moving todo items between sections, maintain the completion date annotation.
  4. Atomic updates: Update all related files together (todo + phase + plan) - don't leave them in an inconsistent state.
  5. Phase transitions are explicit: A phase is only completed when all acceptance criteria are verified. Use the question tool to confirm with the user if unsure.
  6. Track deviations: If the actual implementation deviated from the plan, document the deviation in the implementation plan rather than silently updating.
  7. Use subagents sparingly: Plan updates are typically small enough for the primary agent. Only use subagents if verifying acceptance criteria requires codebase analysis.
  8. File-based interface: All updates are written to plan files. Do not return updated content as chat messages.
  9. Review remediation is bounded: Apply accepted findings once and stop. Do not automatically re-review, continue until zero findings, or reopen rejected findings.
  10. Reduction over compensation: When fixing gold-plating, remove or simplify work. Do not add replacement architecture, infrastructure, tests, or documentation unless the confirmed objective requires it.
  11. Review artifact immutability: Never modify the review that authorized remediation; record decisions and resulting scope in the plan changelog.

Templates

This skill includes normative templates as bundled files. Only read the templates when processing them. Output MUST preserve template headings/frontmatter keys when updating plan artifacts:

  • tpl-todo.md - Expected structure for the todo list
  • tpl-phase.md - Expected structure for phase documents
  • tpl-implementation-plan.md - Expected structure for implementation plans
  • tpl-plan.md - Expected structure for the plan document (reference for changelog/phases table updates)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.