w-02-light-task-workflow
Skill27 starsChanged 6 months agoMITView on GitHub
In-between task workflow for work that needs a durable task file, distinct implementation examples, and an approval gate but still fits a single-page implementation plan as a rule of thumb.
In this repository59 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github-vscode/copilot-instructions.mdCopilot instructions
- .cursor/rules/agents-remember.mdcCursor rule
- docs/llms.txtllms.txt
- c-00-initialize-memory-repoSkill
- c-01-findings-captureSkill
- c-02-memory-quality-controlSkill
- c-03-repo-bootstrapSkill
- c-04-retrieval-strategy-routerSkill
- c-05-create-or-update-onboarding-filesSkill
- c-08-ar-coordination-context-resolverSkill
- c-09-git-worktree-managerSkill
- c-10-adopt-memory-baselineSkill
- c-11-memory-carryover-from-branchSkill
- c-12-closeoutSkill
- c-13-install-and-onboardSkill
- l-01-agent-lifecyclesSkill
- w-02-light-task-workflowSkill
- c-00-initialize-memory-repoSkill
- c-01-findings-captureSkill
- c-02-memory-quality-controlSkill
- c-03-repo-bootstrapSkill
- c-04-retrieval-strategy-routerSkill
- c-05-create-or-update-onboarding-filesSkill
- c-08-ar-coordination-context-resolverSkill
- c-09-git-worktree-managerSkill
- c-10-adopt-memory-baselineSkill
- c-11-memory-carryover-from-branchSkill
- c-12-closeoutSkill
- c-13-install-and-onboardSkill
- l-01-agent-lifecyclesSkill
- w-02-light-task-workflowSkill
- c-00-initialize-memory-repoSkill
- c-01-findings-captureSkill
- c-02-memory-quality-controlSkill
- c-03-repo-bootstrapSkill
- c-04-retrieval-strategy-routerSkill
- c-05-create-or-update-onboarding-filesSkill
- c-08-ar-coordination-context-resolverSkill
- c-09-git-worktree-managerSkill
- c-10-adopt-memory-baselineSkill
- c-11-memory-carryover-from-branchSkill
- c-12-closeoutSkill
- c-13-install-and-onboardSkill
- l-01-agent-lifecyclesSkill
- w-02-light-task-workflowSkill
- c-00-initialize-memory-repoSkill
- c-01-findings-captureSkill
- c-02-memory-quality-controlSkill
- c-03-repo-bootstrapSkill
- c-04-retrieval-strategy-routerSkill
- c-05-create-or-update-onboarding-filesSkill
- c-08-ar-coordination-context-resolverSkill
- c-09-git-worktree-managerSkill
- c-10-adopt-memory-baselineSkill
- c-11-memory-carryover-from-branchSkill
- c-12-closeoutSkill
- c-13-install-and-onboardSkill
- l-01-agent-lifecyclesSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 5 are distinctive, and 11 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.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Use this workflow when:
- Very specific: line 24
Treat the single-page-plan test as guidance rather than a hard routing rule.
- Very specific: line 49
When a task outgrows a single-page plan, escalate to a master + light sub-task series.
- Very specific: line 66
search <task-root>/ for an existing active task covering the same scope before creating a new one
- Very specific: line 67
create or update the task wrapper and task.md using template.md
- Distinctive: line 68
keep requirements, implementation steps, and decisions aligned with the latest approved intent
- Distinctive: line 69
treat the task file's checkboxes as the live implementation tracker
- Very specific: line 71
run c-02-memory-quality-control before planning against onboarding files
- Distinctive: line 72
stop for approval before implementation
- Very specific: line 73
after approval, treat code changes, onboarding propagation through c-05-create-or-update-onboarding-files, and the checks listed in the …
- Very specific: line 89
Every light-task change gets a task wrapper folder and task.md.
- Very specific: line 91
When onboarding files are part of planning context, drift is checked before planning using c-02-memory-quality-control.
- Distinctive: line 92
No implementation begins before explicit developer approval.
- Very specific: line 97
After approval, onboarding is updated through c-05-create-or-update-onboarding-files and the listed checks in the …
- Very specific: line 100
When the Task Collaboration Doctrine (tasks/AGENTS.md) warrants it, the settled design is recorded in the task file's ## Design section and …
- Very specific: line 117
Read workflow.md for the phase behavior and template.md for the task-file structure.
≈ “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
w-02-light-task-workflow Light Task Workflow
This skill is the thin orchestration contract for the in-between case: work that needs a durable task file, an explicit approval gate, distinct implementation examples, and decision tracking, but still fits a single-page implementation plan as a rule of thumb.
Companion Files
workflow.mdtemplate.mdmaster-template.md
When To Use
Use this workflow when:
- the work needs a durable task file, an approval gate, and decision tracking
- the implementation plan can still fit on a single page as a rule of thumb
- the target may be non-code or a small isolated code change, provided the lighter single-page plan remains a good fit
Treat the single-page-plan test as guidance rather than a hard routing rule. When the work outgrows a single page — richer artifacts, broader coordination, or a sprawling plan — escalate to a master + light sub-task series (master-template.md) rather than forcing it into one light task.
Task Artifact
Light-task-workflow maintains one task wrapper folder under <task-root>/, where <task-root> is returned by c-08-ar-coordination-context-resolver for the target repository. The task document is always named task.md inside that wrapper folder.
Naming convention:
- ticket-linked:
YYMMDD_#<number>_<short-slug>/task.md - organic:
YYMMDD_<descriptive-slug>/task.md
Create the wrapper folder at the same time the durable task artifact is created, before any c-09-git-worktree-manager worktree exists. Use template.md as the canonical scaffold. Implementation steps and substeps are tracked with checkboxes, and that checklist is the live execution state during implementation. When code changes are in scope, the task file also carries proposed code examples for each distinct change type so the developer can review the intended implementation shape before approval.
Light-task artifacts use minute-precision timestamps in YYYY-MM-DDTHH:MM format wherever they record task-local dates or times.
Task Document Format (JSON-Primary)
The task document is JSON-primary: an ar-task-document/v1 JSON file is the source of truth, and the task.md (or <slug>.md for a sub-task) is a deterministic render of it. Author and update it with the task_doc MCP tool — create, set_status, set_step, skip_step, append_decision, set_field — which writes the JSON and re-renders the markdown on every write. skip_step is the only intentional-skip author: target one exact existing parent or parent+nested id and provide a nonblank reason; it never cascades. Do not hand-edit a tool-managed task.md; edit through the tool and let it re-render. template.md and master-template.md document the render spec (the shape the renderer produces), not a separate hand-authored format. When a planning slice defers its code examples to the plan gate, record that with codeExamplesNote (a set_field value, e.g. "Drafted at the plan gate.") so the rendered "Proposed Code Examples" section reads as deferred rather than as if none are needed. A leaf doc may also carry a descriptive statusNote (a suffix beside the strict status enum), headerNotes (extra **Key:** value header lines such as Verified/Source), and freeform sections appended after References — the escape hatch for bespoke prose (e.g. a Status history) while the standard template sections stay the backbone. Pass dry_run=true to any op to preview — it builds + validates and returns the rendered markdown, a unified diff vs the on-disk .md, and a wouldLose flag, without writing; use it before adopting a hand-authored .md into JSON-primary (author the JSON → dry-run → confirm wouldLose is false → then write).
Because the JSON encodes step/substep status explicitly, a tool-managed document is legible on the dashboard — the observer projects leaf documents through their enclosure entry in enclosures[].enclosurePath, at step granularity. The same schema/tool serves a lightweight document for the smallest single-session build (a THIN doc: title plus a few steps — chat is never a build route, so even micro-work gets this thin doc and stays legible on the dashboard) and a full one for a durable task; the difference is content completeness, not a separate format.
Scope and transition: the tool manages light and subTask documents, and the format also covers a series master (kind:"master": a structured subTasks index + ordered sections that preserve a master's bespoke prose, so a re-render is lossless). Masters and existing markdown task files stay hand-authored markdown until the runtime ships task_doc and they are intentionally migrated — new tasks adopt the JSON-primary format going forward.
Master-Task Composition (task series)
When a task outgrows a single-page plan, escalate to a master + light sub-task series. One wrapper
folder holds a master task.md plus flat, numbered sub-task files (NN_<name>.md) in execution order;
master-template.md is the canonical scaffold.
The series lifecycle follows one master = one integration branch, one leaf = one enclosure worktree:
the master owns the root series-contract.md and integration branch, while each
sub-task slice gets its own enclosures/<leaf-id>/series-contract.md, work branch,
worktree, closeout, integration into the master branch, and lifecycle finalization.
The master owns the final version bump and any release packaging after the leaf
branches have landed into the integration branch. See master-template.md for the
convention and scaffolds.
Agent Responsibilities
The agent should:
- stay in direct discussion with the developer
- search
<task-root>/for an existing active task covering the same scope before creating a new one - create or update the task wrapper and
task.mdusingtemplate.md - keep requirements, implementation steps, and decisions aligned with the latest approved intent
- treat the task file's checkboxes as the live implementation tracker
- include proposed code examples for each distinct implementation change when code changes are in scope
- run
c-02-memory-quality-controlbefore planning against onboarding files - stop for approval before implementation
- after approval, treat code changes, onboarding propagation through
c-05-create-or-update-onboarding-files, and the checks listed in thec-08-ar-coordination-context-resolverresolvedsystem/tools.mdas one implementation cycle - for worktree-backed tasks, present a commit/closeout preview and stop for explicit commit approval before any
c-09-git-worktree-managercloseout commits are created - after the task branch has landed, ensure every declared parent/nested step is
done; if the final step includes cleanup, run standaloneworktree_cleanup, then mark that exact step done; finally uselifecycle_finalize_taskto prove the edge, verify/run cleanup, and set the exact leaf plus immediate parent row toCompleted
Context Gathering
Before planning, check:
- the
c-08-ar-coordination-context-resolverresolveddocs/root for relevant local reference material when it exists - glossary or naming references listed in the
c-08-ar-coordination-context-resolverresolvedsystem/sources.mdwhen they exist <onboarding-root>/for any repo whose behavior the artifact touches
Optional supporting tools such as Confluence search, Brave search, or Context7 may still be used when the task domain needs them, but they are not mandatory here.
Invariants
- Every light-task change gets a task wrapper folder and
task.md. - The task file is the living contract for requirements, checklist state, decisions, and proposed code examples.
- When onboarding files are part of planning context, drift is checked before planning using
c-02-memory-quality-control. - No implementation begins before explicit developer approval.
- Refreshed external-memory onboarding content is committed, with the computed ledger cache excluded, before the
c-09-git-worktree-managerskill starts worktrees. - Implementation approval is separate from commit approval; worktree-backed closeout commits require a later explicit developer approval after a closeout preview.
- Implementation steps and substeps use checkbox state rather than freeform progress prose.
- Code-changing light tasks include code examples for each distinct implementation change; a slice that intentionally defers its examples to the plan gate sets
codeExamplesNote(e.g. "Drafted at the plan gate.") so the render distinguishes deferred from none needed. - After approval, onboarding is updated through
c-05-create-or-update-onboarding-filesand the listed checks in thec-08-ar-coordination-context-resolverresolvedsystem/tools.mdare run. - Durable current-state findings discovered during implementation are routed through
c-05-create-or-update-onboarding-filesduring that implementation cycle or, if consolidation is clearer, in the immediate closeout pass right after implementation. - Significant mid-implementation changes update the task file before edits continue.
- When the Task Collaboration Doctrine (
tasks/AGENTS.md) warrants it, the settled design is recorded in the task file's## Designsection and the implementation steps derive from it. - A task that outgrows a single-page plan escalates to a master + light sub-task series
(
master-template.md): one wrapper folder (mastertask.md+ flatNN_<name>.mdsub-tasks), a master integration branch, one leaf enclosure/worktree per active slice, leaf integration into the master branch, and a final master release at the end. - Tool-managed task documents are JSON-primary: author
lightandsubTaskdocuments through thetask_docMCP tool (which writes thear-task-document/v1JSON and renders the markdown); do not hand-edit a generatedtask.md.template.md/master-template.mdare the render spec; series master files can remain hand-authored markdown until intentionally migrated. - Worktree-backed task status reaches
Completedthroughlifecycle_finalize_task, not immediately after closeout. The finalizer updates the current task and the immediate parent row after the task commit is proven landed on the parent source branch; it does not recursively complete ancestors.
Relationship To Other Instructions
This skill extends the repository instructions and agent definitions. It does not replace them.
Read workflow.md for the phase behavior and template.md for the task-file structure.
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.

