post-work-checks
Skill0 starsChanged 6 months agoMITView on GitHub
Run through a project's post-work checklist after the agent finishes a task. Fetches the active todo list for the current project and executes each item: 'always' todos run unconditionally, 'conditional' todos run only when their stated condition is met. Use when the user asks to run post-work checks, when work is finishing and there may be a checklist defined, or when the user says "check the post-work list". Also use when the user asks to preview or evaluate what would run ("show me the todos", "what would run if...", "which conditions are met") — in that case enter preview mode. Do NOT use for general task management, project planning, managing or editing post-work todos, or any todo not scoped to post-work agent activities.
In this repository7 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- aws-eks-updaterSkill
- azure-aks-updaterSkill
- github-actions-writerSkill
- agent-toolkitSkill
- plugin-factorySkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 27
When in doubt, prefer preview mode and ask if the user wants to proceed with execution.
- Very specific: line 31
Never skip an always todo — if it appears in the list, execute it (in execute mode).
- Distinctive: line 34
If a todo fails or cannot be completed, report it clearly and continue the list.
- Distinctive: line 35
Do not modify, create, or delete todos — the user manages the list.
- Very specific: line 42
Call the MCP tool mcp__post-work-checks__list_todos with the current project path (absolute):
- Distinctive: line 48
If the result has zero todos, report "No post-work todos defined for this project" and stop.
- Very specific: line 76
Run the task described by title + description.
- Distinctive: line 110
If any todo failed (execute mode), list it with a brief error and suggest next steps.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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.
Files
Post-Work Checks
Determine the mode before acting:
- Execute mode — user says "run", "execute", "do the checks", or has just finished work and is closing out.
- Preview mode — user says "show me", "what would run", "which conditions are met", "evaluate", or asks about hypothetical file changes. In preview mode, evaluate conditions and display results — never execute the actual tasks.
When in doubt, prefer preview mode and ask if the user wants to proceed with execution.
Hard rules — never violate:
- Never skip an
alwaystodo — if it appears in the list, execute it (in execute mode). - For
conditionaltodos, evaluate the condition against actual observable state (git diff, changed files, etc.) — do not assume. - If a todo fails or cannot be completed, report it clearly and continue the list.
- Do not modify, create, or delete todos — the user manages the list.
- In preview mode, never execute any todo action — only evaluate and display.
Phase 1: Fetch the checklist
Call the MCP tool mcp__post-work-checks__list_todos with the current project path (absolute):
mcp__post-work-checks__list_todos(project_path="<absolute-cwd>")If the result has zero todos, report "No post-work todos defined for this project" and stop.
For status semantics and how to evaluate conditions, see references/status-guide.md.
Display what will be executed before acting:
| # | Title | Status | Condition |
| 1 | Update README | always | — |
| 2 | Run type-check | conditional | if TS files changed |
Phase 2a: Preview mode — evaluate only
For each todo, determine whether it would run given current state (or described hypothetical state):
alwaystodos: mark as WOULD RUNconditionaltodos: evaluate the condition againstgit diff --name-only HEAD(or the hypothetical file changes the user described), then mark as WOULD RUN or WOULD SKIP (condition not met)
Produce a preview table showing what would happen — but take no action on the tasks themselves.
Phase 2b: Execute mode — run todos in order
always todos
Run the task described by title + description. Report done or failed before moving on.
conditional todos
- Evaluate the
conditionfield against current state — usegit diff --name-only HEADor inspect files as needed. - Condition met → execute and report result.
- Condition not met → report "Condition not met — skipped" and move on.
Phase 3: Final report
Execute mode:
Post-work checks complete for: /path/to/project
✓ Update README [always] — done
✓ Run type-check [conditional] — condition met, done
– Lint CSS [conditional] — condition not met, skippedPreview mode:
Post-work check preview for: /path/to/project
(No actions were taken — this is a dry run)
→ Update README [always] — WOULD RUN
→ Run type-check [conditional] — WOULD RUN (TS files changed)
– Lint CSS [conditional] — WOULD SKIP (no CSS files changed)If any todo failed (execute mode), list it with a brief error and suggest next steps.
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
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.

