Agent skill
done
Archive completed, skipped, or dropped features and steps to Done.md. Browse past completed work and recover deleted step content via git SHAs. Keywords: done, completed, finished, archived, history, shipped, browse done, what did we finish, past work, completed features.
Install this agent skill to your Project
npx add-skill https://github.com/FlineDev/PlanKit/tree/main/skills/done
SKILL.md
Done
Archive completed work to Done.md and browse past accomplishments.
Config Preamble
Before any operation, locate the PlanKit folder and read its config:
- Check if
PlanKit/exists in the project root. If not, checkplan-kit/. - Read
.config.jsonfrom the PlanKit folder to get the naming convention.
Determine file path:
- Done:
PlanKit/Done.mdorplan-kit/done.md
If Done.md doesn't exist, create it with just # Done as content.
Archive Scenarios
Other PlanKit skills trigger these scenarios by loading this skill and specifying which one applies. When loaded, find the matching scenario and follow its instructions.
Scenario 1: Step Completed (or Dropped)
Triggered by the detail-steps skill after a step file is deleted.
Input from calling skill: step name, step letter, feature name, feature number, file path, status (โ completed or ๐ dropped), reason (for dropped only), PR numbers (if known).
- Get the deletion commit SHA:
git log -1 --format=%h -- "path/to/deleted/file"- This finds the commit that last touched the file (the deletion commit)
- Read Done.md
- Find or create the version section:
- Look for
## vX.Ymatching the feature's roadmap version - If it doesn't exist, create it:
## vX.Y โ Subtitle (YYYY-MM-DD โ) - Start date = today if this is the first entry for this version
- End date left blank (filled when version is released)
- Look for
- Find or create the feature subsection:
- Look for
### ... NNN-FeatureNameunder the version section - If it doesn't exist, create it with the feature's one-line description from the Roadmap
- Don't set the feature-level status marker yet (it's set when the feature is fully complete)
- Look for
- Add the step line:
- Format:
- โ X-StepName ยท plan: \SHA`` (for completed) - Format:
- ๐ X-StepName ยท plan: \SHA` โ reason` (for dropped) - Append
ยท PR #Nif PR numbers were provided
- Format:
- Write Done.md
Scenario 2: Feature Completed
Triggered by the detail-steps skill after all steps are done and the feature folder is deleted.
- Read Done.md
- Find the feature subsection (should already exist from Scenario 1 step entries)
- Set the feature status marker to โ
: update
###line to### โ NNN-FeatureName - Verify all steps are listed โ if any are missing (completed before Done.md existed), add them now
- Write Done.md
Scenario 3: Feature Skipped or Dropped
Triggered by the plan-roadmap skill when a feature is removed from the roadmap without completion.
Input: feature name, feature number (if it had one), version, status (โญ๏ธ skipped or ๐ dropped), reason.
- Read Done.md
- Find or create the version section (same as Scenario 1, step 3)
- Add the feature entry:
### โญ๏ธ NNN-FeatureName(skipped โ never started) or### ๐ NNN-FeatureName(dropped โ started but abandoned)- If the feature never got a number (removed during roadmap triage before steps), use just the feature name without a number
- Next line: the reason, as plain text
- Archive any existing steps โ if the feature had step files, archive each one with its actual status
- Write Done.md
Scenario 4: Version Released
Triggered by the plan-roadmap or dashboard skill when a version ships.
Input: version number, subtitle, release date, list of features with their final statuses.
- Read Done.md
- Find the version section (should already exist from earlier step/feature entries)
- Fill in the end date: update
(YYYY-MM-DD โ)to(YYYY-MM-DD โ YYYY-MM-DD) - Ensure all features have final status markers (โ , โญ๏ธ, or ๐)
- Add any features that aren't listed yet (features without steps that were completed directly)
- Write Done.md
Browse Mode
When the user wants to review completed work (triggered by keywords like "what did we finish", "show history", "browse done"):
- Read Done.md
- Present a summary by version: version name, date range, feature count, status distribution
- Offer to show details for specific versions or features
- For recovery: when user wants to see a deleted step file, use the
plan:SHA:bash(Usegit show <sha>~1:PlanKit/Features/NNN-FeatureName/X-StepName.md~1to get the parent commit, which still has the file content.)
Important Rules
- Done.md is append-mostly โ entries are added as work completes, rarely modified after creation
- Version sections ordered newest-first โ newest version at the top, oldest at the bottom
- Git SHAs enable full recovery โ every deleted step file can be reconstructed from its
plan:SHA - PR references are optional โ include when the user mentions them, skip otherwise. Can be added retroactively.
- Reason is mandatory for โญ๏ธ and ๐ โ always explain why something was skipped or dropped
- One-line descriptions โ feature descriptions are a single sentence from the Roadmap, not the full detail
- Cross-references use
NNN/Xformat โ e.g.,005/Afor feature 005, step A
Format Reference
For detailed file format specification, see DONE_FORMAT.md.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
dashboard
Project dashboard that tracks progress on the current version. Only activates in projects with a PlanKit folder. Triggers automatically when the user asks about status or progress, mentions completing a step, or discusses shipping a version. Keywords: progress, status, what's done, where are we, show progress, how far, what's left, current status, mark done, mark complete, ship version, release version, what did we finish, step is done, just finished, we released, version is out.
plan-roadmap
Create and manage the project roadmap by triaging ideas into versioned releases. Use when the user wants to plan a version, prioritize features, create a roadmap, or triage ideas. Interactively clarifies requirements with questions about edge cases and technical direction. Keywords: roadmap, plan version, next release, prioritize, triage, what should we build, release plan, version plan, plan features, next milestone, what's next.
capture-ideas
Capture and organize project ideas in the PlanKit ideas file. Use when the user mentions a new idea, feature concept, improvement, or wants to review their ideas. Preserves all details, examples, motivation, and links. Keywords: idea, feature idea, brain dump, improvement, wish list, backlog, concept, what if, we should add, capture idea, new idea, I was thinking, wouldn't it be cool, we could also, it would be nice.
detail-steps
Break down a roadmap feature into detailed implementation steps. Use when the user wants to plan how to implement a feature, create tasks, or break down a milestone into work items. Generates requirement-focused steps with design always separate from implementation. Keywords: steps, break down, implementation plan, tasks, how to build, plan feature, work breakdown, step by step, detail feature, let's implement, start building, plan implementation, what are the steps.
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
handoff
Compact the current conversation into a handoff document for another agent to pick up.
Didn't find tool you were looking for?