skill-phase-gate
Skill1 starsChanged 8 months agoMITView on GitHub
Use when a meaningful coding checkpoint is needed before or after risky execution, such as a multi-file refactor, migration, or pre-commit pause.
In this repository6 other files it gives its agents.
- skill-context-keeperSkill
- skill-context-packetSkill
- skill-governanceSkill
- skill-handoff-summarySkill
- skill-subtask-contextSkill
- skill-task-continuitySkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Use skill-phase-gate to add an optional operational checkpoint around meaningful coding work.
≈ “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
Skill Phase Gate
Overview
Use skill-phase-gate to add an optional operational checkpoint around meaningful coding work.
It is for risky edits before or after execution, not for root-state refresh, packet compression, suite bootstrap, generic planning, or final handoff writing.
Use This Skill When
- you are about to start a refactor, migration, or multi-file change and want a brief preflight gate
- you have finished a meaningful edit and need a postflight checkpoint before commit or handoff
- the task is risky enough that expected files, explicit non-goals, and a verification plan should be stated out loud
- you want a pre-commit checkpoint for work that is substantial enough to deserve one more deliberate review pass
Do Not Use This Skill When
- the request is a typo fix, tiny one-line edit, or similarly trivial change
- the user only wants an explanation, walkthrough, or analysis with no checkpoint artifact
- the main need is reconstructing current task state or preserving long-running state ownership
- the main need is packet compression for the next live turn
- the main need is suite bootstrap or routing
- the main need is generating a full transfer packet or final handoff summary
Meaningful Checkpoint Bar
This package is a good fit when the checkpoint serves a meaningful workflow boundary:
- good fit: refactors, multi-file changes, risky edits, migration checkpoints, or pre-commit review passes
- bad fit: typo fixes, tiny one-line changes, pure explanation tasks, or generic up-front planning
Package Boundary
skill-phase-gatecan mention current task state only to support the immediate checkpointskill-context-keeperremains the owner of root-state refresh and compressionskill-subtask-contextremains the owner of local child-task stateskill-context-packetremains the owner of packet-sized next-turn context- this package does not replace suite bootstrap, planning packages, or handoff generation
References
README.mdandREADME.zh-CN.md: install guidance, trigger boundaries, and non-goalsassets/PREFLIGHT.template.md: compact pre-execution gateassets/POSTFLIGHT.template.md: compact post-execution gatereferences/use-cases.mdandreferences/use-cases.zh-CN.md: reader-facing positive and negative examplesreferences/prompt-templates.en.mdandreferences/prompt-templates.zh-CN.md: ready-to-paste prompt patterns
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.

