prisma
Skill2 starsChanged 35 days agoMITView on GitHub
Run PRISMA on a piece of work. Routes the request to one of five lanes (query, mechanical change, code with logic, data to a third party, text) and runs what that lane requires, up to the five steps and five gates. Use when the user says "PRISMA", "pass this through PRISMA", or asks to verify work before it leaves the machine.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- nateslabach/skillstheir own version, first seen Nov 8, 2026
- G1Joshi/Agent-Skillstheir own version, first seen Oct 13, 2026
- Alteriom/ai-dev-skillstheir own version, first seen Oct 11, 2026
- Mindrally/skillstheir own version, first seen Oct 8, 2026
- trycompai/comptheir own version, first seen Oct 8, 2026
- elie222/inbox-zerotheir own version, first seen Oct 8, 2026
Used with
Projects with it also use react.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
VercelSkillreact
React renderer for json-render that turns JSON specs into React components. Use when working with @json-render/react, building React UIs from JSON, creating component catalogs, or rendering AI-generated specs.
Also in 3 projects that use this
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- elie222/inbox-zero★ 13ksame name
- trycompai/comp★ 2.1ksame name
- Mindrally/skills★ 275same name
- G1Joshi/Agent-Skills★ 15same name
- YepAPI/skills★ 8same name
- nateslabach/skills★ 6same name
- Alteriom/ai-dev-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 repository5 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- prisma-buildSkill
- prisma-diagnoseSkill
- prisma-fidelity-reviewSkill
- prisma-planSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
1
Distinctive
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 8
Read METHOD.md at the plugin root once per session before applying this skill.
- Distinctive: line 32
Verify: Check the exit condition on the real source or surface.
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
PRISMA
Read METHOD.md at the plugin root once per session before applying this skill. It is the source; this file is the operating order.
The plugin root is two levels above the base directory Claude Code prints when this skill loads, written <base directory>/../.. below, and the helpers live in its hooks/ folder. Run them by that path, since the project you work in is not the plugin.
1. Route first
Ask two questions. First, what kind of work is it, and four lanes answer it, query, mechanical change, code with logic and text, the more expensive one winning when two fit. Second, does anything leave to a third party, and the fifth lane stacks on the first answer, adding controls and never replacing them.
| Lane | The question | What runs |
| Query | Does this only answer with data and change nothing? | the claims rule. A figure that leaves the machine gets two routes and a [value | route | date-time] label |
| Mechanical change | Can you PROVE it changes no executable behavior, stored data, permissions, integration or deployment? | step 3 only, run it and look |
| Code with logic | Is it a feature, a bug fix, a migration, or a script someone else will run? | the five steps |
| Data to a third party | Does a file, list or figure leave to someone else? | the producing query is code and runs its lane, plus step 3 on the real rows, the verification protocol, and a refuter |
| Text | Is it a page, a PR body, a message, a report, a script to read aloud? | the format gate, a refuter, the claims rule |
Two guards. When in doubt, take the MORE expensive lane, because the agent has an interest in choosing the cheap one. A lane goes up, never silently down; going down is declared.
2. The five steps, for code with logic
- Plan. Invoke
prisma-plan. It interviews in rounds with a recommended answer per question, leaves a record with the agreed behavior, the exclusions, the seams, the surface and the exit condition, and closes by declaring the lane and whether the work fits in one session, which means before 80% of its context window, about 800k tokens with a 1M window. Within one ticket, a session nearing that ceiling compacts instead of asking for a handoff. If it does not fit, it splits the work into session-sized tickets before anything is built. Every other session it asks for carries its card, and all of them are asked for at once. When the plan adopts a rule that applies to the whole system, it lists every fact that rule touches and reviews the list whole. - Build. Invoke
prisma-build. Tests first at the agreed seams, every control seen red before the code that turns it green exists, thenprisma-fidelity-reviewin a fresh subagent that receives the record and the fixed point and nothing of the builder's account, then commit. If something is broken along the way, invokeprisma-diagnosebefore patching; it ends by naming the step the defect escaped from. - End to end. Run it on real data and LOOK at the result. Name the surface where a person will see it BEFORE looking, then look at THAT surface, not the artifact that produces it. Two failures of the same functional hypothesis send you back to step 1.
- Mutation testing and format gate. Reintroduce the EXACT defect and confirm the test fails for the expected reason. Add a semantic counterexample chosen separately. When the work takes a request from someone else, feed one invalid value per field of that request, because the input contract is an oracle too. Run
sh <base directory>/../../hooks/format-gate.sh --stricton every text you deliver. - Verify. Check the exit condition on the real source or surface. A figure gets measured again by a second route, in the normal state and in the edge state. A behavior change gets observed at the destination. Never cite an earlier run as a substitute.
3. The five gates, by name
- Fidelity reviewer,
prisma-fidelity-reviewin a fresh subagent. Did we build what the record agreed, no more and no less? - Format gate,
format-gate.shamong the helpers. Is the deliverable written to the rules? It reads no code and finds no bugs. - Refuter, an adversarial agent whose job is to knock the finding down against code and data.
- Merge gate, the CI or bot check on the PR. It says whether the PR can merge. Its findings are reproduced before being repeated as facts.
- Blind replica,
blind-replica.shamong the helpers. Receives the claim and the sources and NOTHING of the calculation. Mandatory for derived figures, platform semantics, ambiguous sources, data to third parties, and hard-to-revert consequences. In single-model mode it runs in a fresh-context subagent and declares that it gives independence of derivation, not of engine. Write the claim and its sources to a file and runsh <base directory>/../../hooks/blind-replica.sh <file>. WithoutPRISMA_AUDITOR_CMDit prints the brief for a fresh subagent and exits 6; with it, the exit code is the verdict, 0 confirmed, 5 refuted, 4 none.
4. Every claim is a hypothesis until measured
A finding from an agent, a bot comment, a code comment and a line of prose enter through the same door. Reproduce against the source, let a refuter try to kill it, then an adjudicator decides value and not truth. Every figure that leaves gets two routes; every causal claim gets a negative control. If a finding dies, record why.
5. Before saying something outward
Does it need saying, or can it be done and explained after? Does it really move something outside, or is it being treated as risky without checking? Verify first, then decide whether it is a decision for the human or a formality. What always gets confirmed is the irreversible, what reaches an audience, and what costs money.
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.

