phase-gates
Skill5 starsChanged 4 days agoMITView on GitHub
Cluster roadmap tasks into phases that each end in a gate of checkable criteria, or evaluate a phase's gate with evidence gathered in this session and record the result.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- jabbott-iii/Tidepoolword for word, first seen Nov 29, 2026
- jabbott-iii/Grimoireword for word, first seen Nov 29, 2026
Other versions2 projects use a version of this.
Word for word · 2
- jabbott-iii/Grimoire★ 2100% same
- jabbott-iii/Tidepool★ 1100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
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 repository16 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- build-courseSkill
- set-up-githubSkill
- build-courseSkill
- set-up-githubSkill
- build-courseSkill
- build-language-packsSkill
- build-roadmap-and-docsSkill
- draw-diagramsSkill
- fix-doc-driftSkill
- next-taskSkill
- security-sweepSkill
- set-up-githubSkill
- simplify-codeSkill
- sweep-codeSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 8 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 25
Write every gate in this shape, at the end of its phase, in place of free-form exit criteria:
- Very specific: line 40
When a gate passes, its first line becomes Gate (M3): passed 2026-11-22.
- Very specific: line 50
Read each task's Depends, Decide first, and ⏳ needs … lines, the specs its Do lines point to, and the records it relies on in the Decision …
- Distinctive: line 60
Risk first: put the experiments, spikes, and riskiest assumptions in the earliest phases, so a wrong assumption is found before work builds …
- Distinctive: line 64
Size: keep each phase small enough to check in one gate, about 3 to 10 tasks.
- Very specific: line 77
Decisions: no decision record the phase relies on still Proposed.
- Distinctive: line 89
Write the approved phases into the roadmap:
- Very specific: line 90
Keep every task ID. A task that moves keeps its ID and gets a dated note: Note (2026-11-22): moved from M5 to M3, the user's choice.
- Distinctive: line 95
Update the Status locations if they name the phases.
- Distinctive: line 113
Run commands only in ways that change nothing the project ships: checks, tests, and measurements, never a deployment or a release.
- Distinctive: line 128
If every criterion passes,: ask the user to confirm the gate, because a human checks a milestone's exit criteria.
- Distinctive: line 131
If the gate doesn't pass,: leave it unticked, and list what blocks it: each failed or unevaluated criterion, and each open task.
- Very specific: line 142
Follow the Git access level in commits.md, and leave the changes uncommitted unless the user asked for a commit and that level allows it.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Cluster the roadmap into phase gates, or check a gate
Requested: $ARGUMENTS.
plan: group the roadmap's tasks into phases, each ending in a gate.- A phase ID, such as
M3: evaluate that phase's gate. - Empty: show every gate's state, the current phase, and what blocks it.
A phase is a milestone of the roadmap that roadmap-and-docs.md describes, and its gate is the
milestone's exit criteria, written as checks. Bold names are values from the "Project details"
of the adopted rules: Docs folder, Task IDs, Environments, Definition of done,
Decision log, Status locations, and Gate evidence from roadmap-and-docs.md, and
Git access from commits.md. If the repository hasn't adopted roadmap-and-docs.md, say so
and stop.
The gate format
Write every gate in this shape, at the end of its phase, in place of free-form exit criteria:
**Gate (M3):** not passed.
- [ ] <A criterion someone can check, about the phase as a whole.>
- Check: `<command>` (expect <result>), or <what a person observes, where, and how>
- Evidence: <the date, the commit, and the key output or number, once checked>- A gate checks the phase as a whole. Don't repeat each task's
Acceptcriteria; the tasks' ticks already cover them. - Give every criterion a check: an exact command with its expected result, or, when no command can do it, what a person must observe, where, and on what hardware.
- Record evidence where the Gate evidence says. When that is the roadmap itself, use the
Evidence:lines; otherwise writeEvidence: see <file>and record it there. - When a gate passes, its first line becomes
**Gate (M3):** passed 2026-11-22.A gate's state is status, so keep it in agreement with the Status locations.
Plan: cluster tasks into phases
1. Collect the work
- Open the roadmap (
roadmap.mdin the Docs folder). - Collect the tasks to cluster: every unticked task, unless the user named a range, a milestone, or backlog items to bring in. Leave ticked tasks and passed gates where they are.
- Read each task's
Depends,Decide first, and⏳ needs …lines, the specs itsDolines point to, and the records it relies on in the Decision log.
2. Find the structure
- Dependencies: order the tasks so that every task comes after everything in its
Dependsline. Add a dependency a task needs but doesn't list, and say so. - Deliverables: group the tasks that together produce one result a user can see or use: a window that opens, a request that's answered, a build that ships. Prefer a thin slice through every layer to one layer at a time, so each phase shows the parts working together.
- Risk first: put the experiments, spikes, and riskiest assumptions in the earliest phases, so a wrong assumption is found before work builds on it.
- Environments: within a phase, order platform work by the Environments. Put work that needs an environment the team rarely has where waiting for it blocks the least.
- Size: keep each phase small enough to check in one gate, about 3 to 10 tasks. Split a bigger cluster into two phases with a gate between them.
3. Write each phase's gate
Give each phase a goal and a gate whose criteria cover:
- Integration: the phase's parts working together, checked end to end, such as a scenario run or a demo with its steps.
- Budgets: each budget the phase affects, measured on the hardware the overview names.
- Quality: the full check from the Definition of done, passing.
- Open work: no
⏳ needs …line left in the phase, unless the user decides to carry one into a later gate, and that gate names it. - Decisions: no decision record the phase relies on still
Proposed. - Documents: the specs, the feature list, and the Status locations describing what the phase built.
- Risks: each experiment the phase ran answered, with its result recorded.
4. Propose, then write
- Show the user the proposal before you change the roadmap: a table of each phase with its goal, its tasks, the number of gate criteria, and why it comes where it does. List every task that would move, and every dependency you added.
- Moving tasks between milestones is the user's decision, as
roadmap-and-docs.mdsays. Write nothing until the user approves; then follow their changes. - Write the approved phases into the roadmap:
- Keep every task ID. A task that moves keeps its ID and gets a dated note:
Note (2026-11-22): moved from M5 to M3, the user's choice. - Give each new phase the next free milestone number in the Task IDs format, a goal, and its gate.
- Replace free-form exit criteria with the gate the user approved.
- Keep every task ID. A task that moves keeps its ID and gets a dated note:
- Update the Status locations if they name the phases.
Evaluate a gate
1. Read the gate and its phase
- Find the phase's gate, and its earlier evidence where the Gate evidence says.
- List the phase's tasks that aren't ticked, and every
⏳ needs …line. A gate can't pass while one remains, unless the gate names it as carried. - Confirm that every earlier phase has passed its gate. If one hasn't, say which, and evaluate this gate only if the user asks.
2. Collect the evidence
- Gather evidence for each criterion in this session: run its command, read the log, take the measurement, or ask the user for an observation you can't make yourself.
- Evidence from an earlier session counts only if it was recorded, with its commit, and nothing
in its area has changed since. Check with
git diff --stat <commit>..HEADover that area. - Run commands only in ways that change nothing the project ships: checks, tests, and measurements, never a deployment or a release.
- Record measured numbers with their unit, the hardware, and the method, and both sides of any comparison the criterion makes.
3. Judge the gate
Show a table of each criterion, its evidence (the command and its key output, or the number), and its result: pass, fail, or not evaluated. Any fail or not evaluated means the gate is not passed.
4. Record the result
- Record each criterion's evidence where the Gate evidence says, with the date and the commit.
- If every criterion passes, ask the user to confirm the gate, because a human checks a milestone's exit criteria. On their yes, tick the criteria, write the pass date on the gate's line, update the Status locations, and name the next phase as current.
- If the gate doesn't pass, leave it unticked, and list what blocks it: each failed or unevaluated criterion, and each open task. Add a task for a failure only if the user agrees.
Show every gate's state
Without an argument, list each phase with its gate's state (passed with its date, not passed, or
no gate yet), the current phase (the first whose gate hasn't passed), and what blocks it: open
tasks, ⏳ needs … lines, and criteria without evidence. Change nothing.
Commit only as the project allows
Follow the Git access level in commits.md, and leave the changes uncommitted unless the user
asked for a commit and that level allows it. Either way, end the report with a copy-ready commit
message, as commits.md describes.
Report
End with a summary that contains:
- Mode: plan, evaluate, or state.
- Phases: for a plan, each phase with its goal, its tasks, and its gate; for an evaluation, the gate's table.
- Moved tasks and added dependencies, for a plan.
- Result: for an evaluation, passed (with the user's confirmation) or not passed, and what blocks it.
- Not evaluated: each criterion without evidence, and why.
- Next: the current phase, and the first task to work on in it.
- Commit message: in a
textblock, ascommits.mddescribes, with no attribution lines.
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.

