task-lifecycle
Skill0 starsChanged 3 months agoMITView on GitHub
Resume or run a complex repository task from portable checked-in state. Use when continuing work across sessions, agents, models, or context compaction.
In this repository16 other files it gives its agents.
- build/AGENTS.mdAGENTS.md
- build/CLAUDE.mdCLAUDE.md
- build/copilot-instructions.mdCopilot instructions
- api-change-reviewSkill
- debuggingSkill
- feature-developmentSkill
- monorepo-changeSkill
- native-orchestrationSkill
- pr-engineerSkill
- project-tasksSkill
- release-handoffSkill
- val-captureSkill
- val-fixSkill
- val-judgeSkill
- val-reportSkill
- val-verifySkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Read .ai/memory/INDEX.md, .ai/memory/CURRENT.md, the active epic plan, and its current task.
- Distinctive: line 9
If the checkpoint is incomplete, reconstruct only from the working tree, task artifacts, and observed validation.
- Very specific: line 17
Before yielding for any reason, update CURRENT.md with intent, DoD, active task, decisions, files, next action, blockers, validation, and …
- Distinctive: line 18
Before claiming completion, compare the full diff and validations with the original goal.
≈ “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
Task lifecycle
- Read
.ai/memory/INDEX.md,.ai/memory/CURRENT.md, the active epic plan, and its current task. Re-read the original Definition of Done. - If the checkpoint is incomplete, reconstruct only from the working tree, task artifacts, and observed validation; record unknowns instead of guessing.
- Before editing a unit, snapshot its structure:
.coder-ai/scripts/update-ai-context.sh --symbols <dir> --baseline. Locate symbols via the unit's atlas maps: QUERY them, never read a map whole —rg -w '<name>' .ai/symbols/answers in one line; open only the section the task needs (each map's header lists the sed recipes). Run--symbols <dir> --checkfirst; if STALE, regenerate. - Execute exactly one atomic task. Retrieve context query-first; for feature/epic work load
native-orchestration, use native same-provider subagents or direct invocation of the other installed CLI, and keep all writes serial. The current normal Claude/Codex session remains the controller. - Run the task's relevant lint, typecheck, tests, and diff checks. Then run
.coder-ai/scripts/update-ai-context.sh --symbols <dir> --diff(or--changed <dir>to diff against git HEAD when no baseline exists): every +/-/~ symbol must map to the task's declared Files — anything outside is an unrelated change to revert or report. On task completion run.coder-ai/scripts/update-ai-context.sh --refresh— it regenerates exactly the atlas maps your changes touched, tracing which files are done. Record commands and observed results; never infer success. - Review by tier: trivial self-review; small one correctness pass; feature correctness plus relevant specialist lenses; high-risk all applicable lenses and opposite-provider review when available.
- Before yielding for any reason, update
CURRENT.mdwith intent, DoD, active task, decisions, files, next action, blockers, validation, and timestamp. - Before claiming completion, compare the full diff and validations with the original goal. Run the
tier-appropriate review passes over changed code and direct callers;
surface findings with file:line and resolve in-scope findings. Then synchronize
CURRENT.md; installed hooks own Project Tasks lifecycle collection, so do not invoke its CLI during normal work. Report omissions explicitly; missing/failing evidence means partial.
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.

