/act-lite:plan-workfrom act-lite
Plans work as a resumable work graph of nodes with contracts, dependencies and fixed acceptance checks, cut from an approved design, validated, reviewed and delivered in a mergeable pull request. Use when the operator asks to write a plan, plan a change, break work down or turn a spec into tasks before writing code ("write a plan", "plan this", "implementation plan", "break this down"), or to create or set up a work loop, work graph or tracker ("create a work loop for this spec", "set up a tracker", "make this resumable").
Ships in act-lite. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Rules need the operator's approval
Add no rule the operator has not approved. A rule is anything that can refuse, block, gate, count, budget, ration or slow down work: a gate, check, hook, threshold, budget, ledger or authorization scheme, wherever it is written.
- A citation is who approved the rule and when, or the project file or spec it comes from. A file citation counts only from the project's instruction files (CLAUDE.md, AGENTS.md, CONTRIBUTING, the documents they name, CI configuration) and from a spec or spec section the operator approved; a file or amendment an agent wrote is never a citation on its own authority.
- To propose a rule, give the operator the rule, the failure it prevents with its evidence, what it costs (time, blocked work, maintenance) and what it gains. Write it only after the operator approves it, with its citation.
- Every rule in a graph carries its citation. A rule without one is deleted, not debated. Do not write a second rule to work around it.
- This skill's own rules are its defaults (§2) and carry no citation.
- This notice governs adding a rule. It is never a reason to stop and ask the operator about a design choice: a design choice is decided in planning (Questions), and one that execution meets is the executor's call.
This skill answers "how do we build this approved design". It ends with a validated work graph in a pull request that can merge. It does not run the graph: running, resuming and continuing a graph follow the project's execution workflow.
A work loop is a work graph. Nodes are units of work. Edges are
dependencies. Every node whose dependencies are all done can run, in
parallel. Each node runs as a bounded loop: a fixed acceptance check, an
attempt, then keep or discard. The graph's files are its whole state, so any
session continues it with one instruction: "resume the work in
<graph path>".
The separation of powers:
graph.md owns order and state. Which nodes exist, how they depend on
each other, what state each is in, which commits closed it.nodes/<id>.md owns the node. Its contract, its plan, and the
checkboxes that are the resume state inside the node.The graph's format is normative in
../work-graph/references/graph-format.md, cited below as "format §n". The
templates graph-template.md and node-template.md and the ledger contract
ledgers.md sit beside it.
A graph that the validator rejects, or that the executor cannot run, is not a graph.
A choice is a question for the operator only when all of these are true:
Every other choice is the author's call: decide it and record it. Mechanics never pass this test. A design does not ask for an exception to a project rule; it complies.
Send the questions that pass in one message, each with your recommendation, so that one word answers it. If none pass, ask none. While a question is open, continue all work that does not depend on it, on your recommendation.
Questions are asked during planning only, before the graph is delivered (§6). When an answer has not come by the time the rest of the graph is done, write the graph on your recommendation, record the choice as the author's call, and list it in the report (§7); the operator can change it in the pull request before the graph runs. No question goes into the graph for the executor to ask.
Node order, graph structure, node size, and the fix for a review finding are mechanics.
| Request | Action |
|---|---|
| Write a plan, plan this, break this down, turn this spec into tasks; create a work loop, set up a graph or a tracker | Create the graph (§3), then deliver it (§6). |
A graph lives in docs/work/<program>/ unless the project has a
convention.
When a graph for the program already exists there, add the new work to that graph. One request gets one graph on one branch: work from several specs goes in the same graph, with an edge for each real dependency. Do not order work between two graphs: the format has no edge between graphs, and a node that waits on another graph cannot run.
A small change gets a small graph. One node is a valid graph.
This skill's procedures are defaults. Where the operator has chosen a workflow for part of the work, use it.
**Workflows:** line to the graph header, one entry
per adopted workflow: what it governs, then its citation. Map a ticket
lifecycle in ledger.md (format §6): for each state change, what the
lifecycle requires.python3 <this skill's directory>/../work-graph/scripts/work_graph.py check <graph.md>
and read its output. Exit status 0 is the only proof that the graph is
valid; a report that the graph is valid quotes this output. A session
that gave the planning to a subagent runs the command again itself.A node's capability is chosen at creation by the work's complexity, nuance and technicality:
| Capability | Work |
|---|---|
lookup | Read-only work: find files, trace code, summarize, classify, extract; run a check and report its output. Changes no file. |
mechanical | Small edits the plan fully decides: copying, renaming, fixtures, docs that restate code. |
implementation | Ordinary implementation from a complete plan; node reviews. |
judgment | Design choices the plan leaves to the implementer; core or shared code; concurrency, security or data-loss risk; interfaces between nodes; a node in its second or later round; planning a node whose spec is ambiguous; the graph-level verification stages. |
A node that edits files is never lookup.
A capability names the class of task. A session maps it to the subagent or model it uses for that class of task — judgment for demanding or nuanced coding work, implementation for normal coding work, mechanical and lookup for simple work — and never to a newer or frontier model beyond that class. When the session's configuration assigns a model to a role (an implementer, a reviewer, a planner), that assignment wins over the capability.
Choose the subagent by its capability as the session describes it; do not set a model on the call when the session describes subagents.
The audit has three steps:
Adversarial review. The operator's or the project's declared reviewer
if there is one; otherwise a fresh reviewer that has not seen this
session, with the judgment capability. Tell it to find defects, not to
approve. Give it the graph, the authority specs it answers, and the
review focus. Give nothing else: no summary, reasoning or concern from
this session. It reports each finding with its location, the failure it
causes, and the evidence. The handoff begins with these four lines,
written even when no tool reads them, where <program> is the graph's
directory name:
Unit: <program>:graph:plan
Round: 1
Check:
Files:
After the header, the handoff instructs: "If the session offers a tool
named work_begin, call it first, once, with unit, round, check and
files from the header above. If the tool is absent, skip this step."
Verify each finding. Read the spec or graph text it cites and reproduce it. Mark it confirmed or refuted, with the evidence. Record a refuted finding with its reason and drop it.
Remediate. Fix every confirmed finding in the graph: a missing node, a wrong or missing edge, an unresolved Consumes, a contract that restates the spec or writes the code. The audit passes when no confirmed finding is open. It does not run a second time. A finding goes to the operator only when it passes the test in Questions; the fix for a finding is the author's call. A finding that shows the graph cannot run, or several findings of one kind, shows which of the author's checks (§3 step 7) was skipped: do that check again over the whole graph.
Open a pull request for the work branch, or update the one that exists, and make it mergeable: checks green, no conflict. Fix a failed check yourself. Give the operator the pull request link.
When the request includes running the graph, go on to execution without asking: it follows the operator's instruction, else the project's execution workflow. Otherwise stop here; do not start execution, and do not tell the operator what to type to start it. Any session can continue the graph from its path.
At hand-over, report:
Every claim cites a result from this session.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
9 skills in this plugin
/audit-debtAudits technical debt in a repository or directory: where complexity concentrates, which functions exceed structural thresholds, and where code is duplicated. Use when the operator asks for a tech-debt audit, a code-health audit or where to start cleaning up./define-workTurns a request into a design document with no open question, delivered in a mergeable pull request, before any code is written. Use when the operator asks to build, add, change or design something whose intent, scope or constraints are not yet settled ("I want to add…", "what should we build", "help me think this through", "let's design this"), or asks to brainstorm, scope or spec a change./deliver-workTakes finished work to a reviewed, CI-green pull request, reports it, and carries out a merge or discard only when the operator authorizes it. Use when implementation is complete and the operator asks to finish, wrap up, ship, deliver or open a PR for the work ("open a PR", "ship it", "we're done, wrap this up"), to respond to review feedback on that PR, to merge a finished branch ("merge it", "land it on main") or to discard one./diagnose-defectFinds the root cause of a defect and fixes it at the cause, proven by a test that failed first. Use when something is broken and its cause is not yet known, before proposing a fix: a bug, a failing or flaky test, a crash or error message, a regression ("this used to work"), a failure seen only in CI, or a performance regression./execute-workRuns a work graph to completion, schedules the ready nodes in parallel, plans and implements each node test-first in its own checkout through its fixed acceptance check and a verification stage, keeps or discards, archives, and hands the finished branch to delivery. Use when the operator asks to run, resume, continue or execute a plan, work loop, work graph or tracker ("run the graph", "resume the work loop", "continue the remediation loop", "execute the plan", "resume the work in docs/work/<program>/graph.md"))./map-repoMaps a repository for orientation: its languages and size, where complexity concentrates, and how the most complex files connect to the rest. Use when the operator or an agent is new to a repository, asks for an overview, a map, a tour, or where to start reading.npx claudepluginhub act101-ai/act-lite --plugin act-lite