do
Skill1 starsChanged 4 months agoMITView on GitHub
Executes a task per plan. Triggered when the user writes "execute", "do", "run the plan", "implement", or passes a path to a plan file and asks to execute it.
In this repository19 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- sync-docsSkill
- yoke-createSkill
- yoke-releaseSkill
- yoke-validateSkill
- bootstrapSkill
- draftSkill
- gcaSkill
- gpSkill
- grill-docsSkill
- grillSkill
- handoffSkill
- helpSkill
- issuesSkill
- journalSkill
- mergeSkill
- prdSkill
- prSkill
- reviewSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 78
Worktree on default branch: Before touching code (after the cold-start pause, if any), enter a worktree per reference/finish.md §2 when the …
- Very specific: line 90
Artifacts under
.yoke/: Every file do writes lives under .yoke/. - Very specific: line 94
Read the git memory first: Before modifying a file, read its recent commit history per …
- Very specific: line 103
CLI output: Run commands with long output (formatter, lint, build, test) with 2>&1 | tail -20.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Execute task per plan
Act as the orchestrator. Detect the input shape, pick a mode, and run that
mode's procedure from its reference file. The flow is grill → do → PR: every
run ends by finishing per reference/finish.md — the pull request(s) are the
deliverable.
Principle: the developer starts the run and returns on notification.
Input
$ARGUMENTS — one of:
- empty — no input; work from the current conversation (inline)
- a plain task description — chat text, no ticket (inline)
- a single issue URL, a bare
<slug>, or a*-task.mdpath (sub-agents) - a
*-plan.mdpath — a pre-built plan (sub-agents, back-compat) - a PRD issue that has GitHub sub-issues (team)
- a Draft PR URL, or a bare
<slug>whose.yoke/ai/<slug>/<slug>-draft.mdexists (draft execution)
Optional flag --update-docs enables the documentation step. Without it, /do
skips docs unless the plan's frontmatter sets update_docs: true.
Router
Detect the mode from $ARGUMENTS. First match wins:
$ARGUMENTSis a path ending-plan.md→ sub-agents mode. A plan already exists, so skip planning. Read the file's**Mode:**header for back-compat — anagent-teamheader maps to team mode instead. Then read and followreference/mode-sub-agents.md(orreference/mode-team.mdwhen the header saysagent-team).$ARGUMENTSis a GitHub pull-request URL (path contains/pull/), or a bare<slug>for which.yoke/ai/<slug>/<slug>-draft.mdexists → draft execution mode: a/draftrun marked the code and opened the Draft PR; implement it per the review. Read and followreference/mode-draft-execution.md.$ARGUMENTSis a single issue URL, a bare<slug>, or a*-task.mdpath → sub-agents mode (investigate → plan → pause → execute). Read and followreference/mode-sub-agents.md.$ARGUMENTSpoints at a PRD issue that HAS sub-issues (detect viagh api) → team mode. Read and followreference/mode-team.md.- empty / a plain chat description / no ticket → inline mode. Read and
follow
reference/mode-inline.md.
Each mode's full procedure lives in its reference file. Read only the one this ladder selects, then execute it.
Modes
| Mode | Input | Behavior |
| inline | empty / plain chat description | Brief plan in chat, execute in-session, then finish per reference/finish.md. |
| sub-agents | issue URL / <slug> / *-task.md / *-plan.md | Write the plan, pause only on cold start, executor → reviewer → validator, then finish. |
| draft execution | Draft PR URL / drafted <slug> | Implement the Markup per the review (comments > markers > plan), reply in the threads, flip the PR to ready, then finish. |
| team | PRD issue with sub-issues | Write the plan, pause only on cold start, dispatch sub-agents per sub-issue, then finish. |
Principles
These hold for every mode run:
- Worktree on default branch. Before touching code (after the cold-start
pause, if any), enter a worktree per
reference/finish.md§2 when the run starts on the default branch. - Finish at PR. Once the tasks are done, hand off to
reference/finish.md§3-§7: finish each repo by its finish policy from the flow map, comment on the ticket, and send the notify carrying the PR link(s). - Pause only on cold start. The plan-confirmation pause fires only when no grill preceded in the session and no approved plan was handed in. A plan already agreed in grill runs straight through.
- Never merge, except one signal. An explicit "straight to main" from the
user is the single merge exception (
reference/finish.md§6). Otherwisedofinishes at the PR and never merges; it never runs deploy or release. - Artifacts under
.yoke/. Every filedowrites lives under.yoke/. - Commits by convention. Format, ticket ID, and git initiative — from
${CLAUDE_PLUGIN_ROOT}/skills/gca/reference/commit-convention.md(see its "Git initiative and defaults"). Do not ask "commit?" mid-run. - Read the git memory first. Before modifying a file, read its recent
commit history per
${CLAUDE_PLUGIN_ROOT}/skills/gca/reference/history-reading.md. AConstraint:orDirective:that conflicts with the plan is surfaced, not silently overridden; aRejected:approach is not re-proposed without new evidence. - Review after each task. Spec compliance → code quality. Mandatory.
- Context isolation. A sub-agent receives only its own task text, not the whole plan.
- CLI output. Run commands with long output (formatter, lint, build, test)
with
2>&1 | tail -20. - Language: match the ticket/input language, or follow the project-level definition in CLAUDE.md / AGENTS.md.
Report
Sub-agents and team modes write .yoke/ai/<slug>/<slug>-report.md and append the finish block from reference/finish.md §7; inline prints its summary in chat. Full template: reference/report-format.md.
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.

