scope-decomposition
Skill220 starsChanged 18 days agoMITView on GitHub
Use after the goal is understood but the work spans multiple modules, owners, or verification seams: cut it into dependency-ordered, independently shippable units with explicit write sets, exclusions, and one-sentence pass or fail checks.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- xmllint/sre-project-pipeline-skillstheir own version, first seen Jun 5, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- xmllint/sre-project-pipeline-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository179 other files it gives its agents.
- AGENTS.mdAGENTS.md
- chrono/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- accessible-media-authoringSkill
- agentic-safety-auditSkill
- agent-prompt-engineeringSkill
- audio-event-map-authoringSkill
- auto-scaffoldSkill
- chain-constructSkill
- chain-construct-smart-contractSkill
- claim-verificationSkill
- code-reachability-auditSkill
- code-review-loopSkill
- color-theorySkill
- conversation-designSkill
- copy-refinementSkill
- cosmos-sdk-audit-checklistSkill
- cross-chain-bridge-auditSkill
- cross-file-relationship-synthesisSkill
- data-flow-traceSkill
- dedup-prior-art-checkSkill
- defi-invariant-checkSkill
- dependency-cycle-auditSkill
- dependency-health-triageSkill
- detection-as-codeSkill
- diff-aware-semgrep-scanSkill
- differential-reviewSkill
- dimensional-analysis-checkSkill
- dual-level-retrievalSkill
- durable-nonce-exploitationSkill
- erc1271-revert-data-checkSkill
- error-based-sstiSkill
- evm-audit-flowSkill
- figma-implement-designSkill
- findings-filterSkill
- forensic-timeline-authoringSkill
- game-design-fundamentalsSkill
- game-mechanics-balancingSkill
- head-tailSkill
- incident-response-runbookSkill
- interactive-audio-designSkill
- interface-ambiguity-checkSkill
- keyword-clusteringSkill
- knowledge-base-integrationSkill
- known-advisory-backport-checkSkill
- layered-analysis-loopSkill
- level-design-patternsSkill
- locale-adaptationSkill
- multi-stance-audit-fanoutSkill
- narrative-structureSkill
- osint-platform-auditSkill
- parser-differential-route-confusionSkill
- persuasive-technical-writingSkill
- platform-complianceSkill
- player-engagement-psychologySkill
- pre-audit-threat-modelSkill
- program-rubric-lookupSkill
- read-only-reentrancy-checkSkill
- requirements-elicitationSkill
- review-severity-ladderSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 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.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 46
Every unit has a pass/fail check runnable without later units.
- Distinctive: line 47
Write sets are explicit and pairwise-disjoint, or the overlap is declared as an ordering edge.
≈ “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
Scope Decomposition
Break a broad goal into shippable slices, each with its own pass/fail check, its own write set, and named exclusions, so that no unit's "done" depends on work that hasn't happened yet.
When to use
- An ask is too large to verify in one pass, or its edges are fuzzy ("improve X", "add support for Y").
- A task will be split across specialists or dispatches and each piece needs an enforceable write scope.
- A packet's success criteria read as activities ("investigate", "refactor") rather than observable outcomes.
Inputs
- The operator's stated goal and any constraints (deadline, dependencies, stack).
- The current state of what the ask touches: files, systems, interfaces — inventoried, not assumed.
Steps
- Restate the goal as an observable end-state ("requests to /api authenticate via tokens; unauthenticated requests get 401"), never as activity ("work on auth"). If you cannot, the goal is under-specified — elicit before decomposing (
requirements-elicitation). - Inventory the touched surface: list the files, modules, interfaces, and external systems the goal implicates. Mark unknowns explicitly; an unknown surface is a discovery unit, not a silent risk.
- Slice along existing seams — module, interface, data boundary — not by activity phase. "All design, then all code, then all tests" ships nothing until the end; a seam-aligned slice lands whole and verifiable.
- Make each unit independently verifiable: it has a pass/fail check runnable without the other units existing. A unit whose verification needs a later unit is mis-cut — re-slice or merge.
- Bind each unit to an explicit write set: the files whose changes may be integrated. Overlapping write sets between units are a hidden ordering dependency — serialize them, merge them, or re-cut the boundary so the overlap disappears. A packet's
write_scopeis enforced mechanically at controller integration, not as an action-time worker filesystem boundary. - Name exclusions per unit (OUT: ...). An exclusion left unstated becomes scope creep in whichever unit runs longest. Naming what a unit does NOT do is cheaper than arbitrating drift later.
- Order by dependency, then by assumption risk: run first the unit whose failure would invalidate the most downstream slices, so a wrong assumption dies cheaply.
- Cap unit size by the one-sentence test: if a unit's verification cannot be stated in one sentence, split it again.
Outputs
- An ordered unit list; per unit: goal end-state, write set, IN/OUT boundary, acceptance check, dependencies.
- A stated overall done-definition: which units must pass, and what integration check proves the whole.
Failure modes
- Horizontal slicing — phases instead of seams; nothing is shippable until everything is.
- The "misc/cleanup" bucket — an unbounded unit that absorbs all drift; dissolve it into named exclusions.
- Activity-shaped units — "investigate X" with no observable output; every unit ships an artifact or a decision.
- Hidden coupling via shared files — two "independent" units editing the same file; caught by comparing write sets, not by intuition.
- Verification deferred to integration — every unit "done", nothing proven until the end; each unit needs its own check.
Worked example
Ask: "add auth to the API." End-state: every endpoint rejects unauthenticated requests; valid users get tokens. Units: (1) token issue/verify module + unit tests — writes auth/, OUT: any endpoint change; (2) middleware rejecting unauthenticated requests, applied to one pilot endpoint + integration test — writes middleware/, one route file; (3) rollout to remaining endpoints + e2e pass — writes route files only; (4) migration for existing API consumers — OUT of all prior units, explicitly. Unit 1 runs first: it holds the riskiest assumption (token scheme fits the existing session model), and units 2–3 are invalid without it. Write sets are disjoint, so 2 and 4 could parallelize after 1.
Acceptance
- The overall goal is stated as an observable end-state, and so is every unit.
- Every unit has a pass/fail check runnable without later units.
- Write sets are explicit and pairwise-disjoint, or the overlap is declared as an ordering edge.
- Exclusions are named per unit; there is no catch-all unit.
- Unit order puts the riskiest assumption first.
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.

