to-subtasks
Skill3 starsChanged 36 days agoMITView on GitHub
Converts the current conversation context into an implementation-ready subtask plan with atomic, dependency-ordered steps and optional test pairing. Use when a planning/discovery conversation (including grill-me sessions) is complete and the next step is to break decisions into actionable subtasks for sequential implementation.
In this repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- audit-project-rulesSkill
- changelogSkill
- do-subtasksSkill
- pest-arch-reviewSkill
- qaSkill
- retroSkill
- simplify-agent-instructionsSkill
- to-prSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
25 rules. About 0 are common, 25 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈25
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
When the user asks to move from discussion to execution planning:
- Distinctive: line 12
Read the current conversation context.
- Distinctive: line 15
If tests are agreed upon, pair test work with each relevant subtask.
- Distinctive: line 24
If context came from a grill-me session, treat resolved branches as requirements.
- Distinctive: line 29
Ask the user about unresolved requirements or tradeoffs.
- Distinctive: line 31
Do not turn investigation, clarification, or decision-making into subtasks.
- Distinctive: line 40
Test-only changes qualify when they deliver requested coverage or regression protection.
- Distinctive: line 42
Do not invent code changes merely to make an activity qualify.
- Distinctive: line 45
Not a subtask: “Investigate how authentication works.”
- Distinctive: line 47
Not a subtask: “Run the full test suite and validate the implementation.”
- Distinctive: line 48
Instead: Include the relevant test commands and acceptance checks in each implementation subtask.
- Distinctive: line 51
Create subtasks that are:
- Distinctive: line 59
If testing is requested or agreed:
- Distinctive: line 64
If a full-suite run is required, attach it to the final implementation subtask's validation checks.
- Distinctive: line 65
Never append a standalone testing, validation, or review subtask.
- Distinctive: line 67
If testing is explicitly not desired:
- Distinctive: line 72
If grill-me has already been run, output only the subtask list and nothing after it.
- Distinctive: line 73
Do not append sections after the list.
- Distinctive: line 77
Use this format when presenting to the human:
- Distinctive: line 87
Do not start implementation.
- Distinctive: line 88
Do not combine unrelated concerns in one subtask.
- Distinctive: line 89
Prefer smaller implementation changes, but never split investigation or validation into standalone subtasks.
- Distinctive: line 91
Before presenting the list, verify that every subtask names a concrete code change.
- Distinctive: line 92
Keep language concrete and execution-oriented.
- Distinctive: line 93
Always order subtasks so all dependencies are resolved before dependent work begins.
≈ “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
To Subtasks
Quick start
When the user asks to move from discussion to execution planning:
- Read the current conversation context.
- Extract decisions, constraints, assumptions, and open questions.
- Resolve implementation-relevant uncertainties, then produce code-changing subtasks that can be implemented one by one.
- If tests are agreed upon, pair test work with each relevant subtask.
- Present the subtasks to the human for confirmation before execution.
Workflow
1) Context digestion
- Identify final decisions from the conversation.
- Capture constraints (tech, scope, style, deadlines, dependencies).
- Detect whether a grill-me session has already been completed.
- If context came from a grill-me session, treat resolved branches as requirements.
2) Readiness gate
- Resolve implementation-relevant uncertainties before generating subtasks.
- Investigate factual questions through available code, documentation, and conversation context.
- Ask the user about unresolved requirements or tradeoffs. Recommend a grill-me session when substantial decisions remain.
- A completed grill-me session does not bypass this gate if new uncertainties appear.
- Do not turn investigation, clarification, or decision-making into subtasks.
- Generate subtasks only when the intended changes and their prerequisites are clear.
What counts as a subtask?
A subtask is a focused implementation change that produces a concrete, reviewable code diff.
- State what will change, not merely what someone will investigate or verify.
- Include relevant test changes and validation within the implementation subtask.
- Test-only changes qualify when they deliver requested coverage or regression protection.
- Reading code, exploring options, choosing an approach, running tests, and reviewing results do not qualify on their own.
- Do not invent code changes merely to make an activity qualify.
Examples:
- Not a subtask: “Investigate how authentication works.”
- Valid subtask: “Reject expired authentication tokens and add regression coverage.”
- Not a subtask: “Run the full test suite and validate the implementation.”
- Instead: Include the relevant test commands and acceptance checks in each implementation subtask.
3) Subtask generation
Create subtasks that are:
- Atomic: each can be implemented in one focused change set.
- Ordered: each step depends only on prior completed steps.
- Dependency-safe: every subtask appears only after all of its prerequisites are resolved.
- Reviewable: each step is scoped for clear implementation and validation.
- Traceable: each subtask maps back to one or more conversation decisions.
4) Test pairing (conditional)
If testing is requested or agreed:
- Attach test updates to each implementation subtask, not as one final bulk step.
- Specify test type per subtask (unit/feature/integration/e2e as appropriate).
- Define acceptance checks per subtask.
- Running existing tests is a validation check, not a separate subtask.
- If a full-suite run is required, attach it to the final implementation subtask's validation checks.
- Never append a standalone testing, validation, or review subtask.
If testing is explicitly not desired:
- Note that in assumptions and proceed without test subtasks.
5) Human-ready presentation
Present subtasks as a structured numbered list only.
- If grill-me has already been run, output only the subtask list and nothing after it.
- Do not append sections after the list.
Output format
Use this format when presenting to the human:
- Subtask N:
<title>- Goal:
- Scope:
- Deliverables:
- Tests:
Guardrails
- Do not start implementation; planning only.
- Do not combine unrelated concerns in one subtask.
- Prefer smaller implementation changes, but never split investigation or validation into standalone subtasks.
- Resolve assumptions that affect scope or implementation before planning; label only non-blocking assumptions within the relevant subtask.
- Before presenting the list, verify that every subtask names a concrete code change. Resolve or remove any item that does not.
- Keep language concrete and execution-oriented.
- Always order subtasks so all dependencies are resolved before dependent work begins.
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.

