decompose-gates
Skill1.9k starsChanged 2 months agoMITView on GitHub
Decompose a hard or multi-part task into independently checkable pieces with explicit verification gates and risk-weighted ordering. Use when planning corridor-sized work, writing lane briefs for subagents or Codex, or whenever a task is too large to verify as a whole.
Trending
Quiet since October.thin dataabout the whole repository
Who's talking about happier-dev/happier
- slopus/happy“Not Dead Yet Release”GitHub · Jan 27, 2026 · 9 reactions
- @kaidav.is“github.com/happier-dev/...”Bluesky · Jul 19, 2026 · 6 likes
- @future-beginner.bsky.social“github.com/happier-dev/... memo”Bluesky · Sep 28, 2026 · 3 likes
- sudosubin/agents.nix“agent-skills.github.happier-dev.happier: 0-unstable-2026-09-22 → 0-unstable-2026-10-02”GitHub · Oct 3, 2026
- sudosubin/agents.nix“agent-skills.github.happier-dev.happier: init at 0-unstable-2026-09-22”GitHub · Sep 27, 2026
The biggest 5 of 14 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 14
Talked about on GitHub and Bluesky (14 times).
On GitHub · 12
- Jan 27, 2026Not Dead Yet Release — slopus/happy9 reactions · 12 comments
- Oct 3, 2026agent-skills.github.happier-dev.happier: 0-unstable-2026-09-22 → 0-unstable-2026-10-02 — sudosubin/agents.nix0 reactions
- Sep 27, 2026agent-skills.github.happier-dev.happier: init at 0-unstable-2026-09-22 — sudosubin/agents.nix0 reactions
- Sep 17, 2026Investigate and enable Copilot ACP mid-turn steering after live compatibility validation — cuihuibot/happier0 reactions
- Aug 8, 2026Add report: happier-dev/happier — SeeyeeTech/github-explorer0 reactions
7 more on GitHub
- Aug 8, 2026[Analyze] happier-dev/happier — SeeyeeTech/github-explorer0 reactions · 2 comments
- May 22, 2026Node builtins: classify node:sqlite as a platform module — fallow-rs/fallow0 reactions · 1 comment
- May 7, 2026happier: init at 0.2.1 — NixOS/nixpkgs0 reactions
- Apr 18, 2026Audit candidate: happier-dev/happier — xiaolai/nlpm0 reactions · 1 comment
- Apr 12, 2026byobu/tmux session support for terminal sessions (project → tmux session, task → tmux window), helps allow remote ssh access — debuglebowski/slayzone0 reactions · 1 comment
- Apr 10, 2026replacing or modifying the cli ai launch command? — debuglebowski/slayzone0 reactions · 1 comment
- Feb 28, 2026CRITICAL BUGFIX (daemon,app): Session spawning via tmux always fails — PID mismatch timeout, hidden errors, orphaned windows (#272) — slopus/happy0 reactions
On Bluesky · 2
- Jul 19, 2026github.com/happier-dev/... — @kaidav.is6 likes and reposts
- Sep 28, 2026github.com/happier-dev/... memo — @future-beginner.bsky.social3 likes and reposts · 1 reply
In this repository34 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/context.mdcCursor rule
- .cursor/rules/delegation.mdcCursor rule
- .cursor/rules/edison.mdcCursor rule
- .cursor/rules/implementation.mdcCursor rule
- .cursor/rules/validation.mdcCursor rule
- attack-conclusionSkill
- handoff-reportSkill
- happier-ci-stabilizeSkill
- happier-commit-worktreeSkill
- happier-compatibilitySkill
- happier-diagnoseSkill
- happier-docsSkill
- happier-github-opsSkill
- happier-implement-planSkill
- happier-implementSkill
- happier-instruction-evalSkill
- happier-issue-diagnoseSkill
- happier-issue-triageSkill
- happier-planSkill
- happier-port-0-2-to-0-3Skill
- happier-profile-and-optimizeSkill
- happier-pr-stewardSkill
- happier-release-notesSkill
- happier-release-promoteSkill
- happier-releaseSkill
- happier-release-validation-reviewSkill
- happier-release-validationSkill
- happier-reviewSkill
- happier-session-controlSkill
- happier-testingSkill
- verify-claimsSkill
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 14
Name the risk spots before sequencing: Write the two or three "if I'm wrong anywhere, it's here" spots — silent failure modes, irreversible …
- Distinctive: line 19
Firewall live-path corrections: If gated or dormant work exposes a live dispatch, lifecycle, persistence, migration, or startup defect, …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Decompose With Gates
Turn a hard task into pieces that can each pass or fail on their own, ordered so the riskiest assumption is tested first. Full doctrine: docs/agent-craft.md §2–§3.
Procedure
- Split along verification boundaries, not implementation convenience. Each piece must have its own pass/fail check that does not depend on the other pieces being right. If checking B assumes A is correct, A+B is one piece, not two.
- State each piece as a falsifiable claim, not a task. "The watermark advances only after server ack" (checkable) — not "update watermark logic" (a task). Attach to each claim the concrete check that decides it: a test slice, a log observation, a live replay, a measurement.
- Name the risk spots before sequencing. Write the two or three "if I'm wrong anywhere, it's here" spots — silent failure modes, irreversible steps, boring mechanical stretches — and design a specific verification for each. Generic suite runs are uniform effort against non-uniform risk.
- Order by information yield. Test first the smallest shared assumption whose failure would invalidate repeated downstream units. This gates only dependent replication: keep independent work moving and expand the rolling window as soon as the assumption holds. Skip the ramp when prior evidence or a deterministic tool already proves the unit shape.
- Relay dependency context, not only order. State the upstream contract and evidence each piece consumes. Those assumptions are themselves claims to check; most integration failures live at the interfaces.
- Right-size. A piece owns a whole responsibility end to end: analysis, change, tests, validation. Too small to fail meaningfully is overhead — micro-slicing (one-boolean extractions) provably grew the god-files it was meant to shrink. Too big to check independently is not decomposed yet.
- Prefer consumed verticals over horizontal spines. The first implementation slice should connect a real entry point through its canonical owner to an observable outcome. Do not split protocol/schema/producer/consumer into weeks of dormant layers whose correctness can only be known after activation. When compatibility forces phases, each phase names its active reader/consumer and removal condition.
- Firewall live-path corrections. If gated or dormant work exposes a live dispatch, lifecycle, persistence, migration, or startup defect, handle that correction as its own complete vertical at the live owner. Do not partially activate the dormant design to fix the production path.
For compatibility-sensitive work, use .agents/skills/happier-compatibility and decompose the transition into independently falsifiable prepare/read, activate/write, migrate/backfill, mixed-version or rollback, and contract/removal claims only where those phases are reachable. Every such claim names its exact released/predecessor baseline and old/new producer-consumer direction; do not create empty phases for an additive or internal-only change.
When pieces become lane briefs
- Coordinate conceptual seams, overlapping edit hunks, generated outputs, and exclusive runtime resources; do not treat file dirtiness or a prior edit as ownership. Keep an advisory integration map for live seams/resources when useful. Lanes may layer compatible changes onto the same current file, but must not overwrite concurrent work or independently make incompatible decisions for the same seam.
- For cross-program work, name the seam authority and each lane's
Supersedes:,Extends:, orConsumes:relationship. A dependent lane consumes a typed contract; it does not repair the owning seam from the wrong program. - Every brief carries its gate (the falsifiable claim plus its check). Update durable state only when plan-gate readiness, dependency availability, blocker state, approved authority/contract, substantial review-boundary state, or the final verdict changes. Ordinary closed subchecks, landed fixes, RED/GREEN iterations, and lane-local validations belong in command output and the concise lane handoff.
- Hard gates are measured, not merely reported. Re-measure decision-material claims through their deciding test, source inspection, runtime observation, or artifact check; do not create decorative count gates.
- A lane brief should be a sufficient restart brief on its own: if the lane dies, its on-disk report plus the brief must let a fresh agent continue without the lost transcript.
- Include exact paths/symbols, observed evidence, in-scope and out-of-scope surfaces, success criteria, required validation, expected output, and stop/fallback conditions. For compatibility lanes, include baseline tags/commits/artifacts and component roles.
- Schedule formal independent review at the fewest substantial integrated boundaries needed by the approved plan, plus explicit user-requested or high-risk triggers. Every lane performs a compact author self-attack without a separate workspace, report, or reviewer. Advisory review may inspect moving work; boundary/ship verdicts reconcile current decision-material paths. See root
AGENTS.md→ "Adversarial review and handoff".
Output
A short plan listing: the pieces as claims, each with its deciding check; the named risk spots with their specific verifications; the ordering and why; the inter-piece assumptions.
Failure this prevents
The monolithic change where something works but you cannot say which part, and something fails but you cannot say where.
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.

