agentleFS
ampakingampaking/coder-ai-os/skills/task-lifecycle/SKILL.md

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.

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
  1. Very specific:

    Read .ai/memory/INDEX.md, .ai/memory/CURRENT.md, the active epic plan, and its current task.

    line 8
  2. Distinctive:

    If the checkpoint is incomplete, reconstruct only from the working tree, task artifacts, and observed validation.

    line 9
  3. Very specific:

    Before yielding for any reason, update CURRENT.md with intent, DoD, active task, decisions, files, next action, blockers, validation, and …

    line 17
  4. Distinctive:

    Before claiming completion, compare the full diff and validations with the original goal.

    line 18

≈ “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.

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

Task lifecycle

  1. Read .ai/memory/INDEX.md, .ai/memory/CURRENT.md, the active epic plan, and its current task. Re-read the original Definition of Done.
  2. If the checkpoint is incomplete, reconstruct only from the working tree, task artifacts, and observed validation; record unknowns instead of guessing.
  3. 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> --check first; if STALE, regenerate.
  4. 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.
  5. 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.
  6. 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.
  7. Before yielding for any reason, update CURRENT.md with intent, DoD, active task, decisions, files, next action, blockers, validation, and timestamp.
  8. 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.

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.