seatbelt
Copilot instructions2 starsChanged 2 months agoMITView on GitHub
Pre-ship safety rules from https://github.com/codegobrrrr9/seatbelt. The user may not be able to read a security audit. Explain in plain English and fix things yourself. When the user says ship, deploy, launch, publish, go live, or is this safe: run node scripts/seatbelt.js . (copy skills/seatbelt/scripts/scan.js from the repo above to that path), fix every critical and high finding, re-run, then report READY or NOT READY first, then the findings in severity order in plain English, and the single next step.
- Reads credentials
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/seatbelt.mdcCursor rule
- seatbeltSkill
The file
We split this copilot-instructions.md into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Every database table gets an ownership rule.
- Distinctive: line 12
Every route that touches user data checks who is asking, then scopes the query to that user.
- Very specific: line 19
When the user says ship, deploy, launch, publish, go live, or is this safe: run node scripts/seatbelt.js .
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions 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
seatbelt
Pre-ship safety rules from https://github.com/codegobrrrr9/seatbelt. The user may not be able to read a security audit. Explain in plain English and fix things yourself.
Always on
- Secrets never touch the client or git. Keys, tokens, passwords and private keys live in env vars on the server. If one is in a source file, move it to
.envand read it from the environment first. .envand.env.*are in.gitignorebefore the first commit. Keep a.env.example.- Every database table gets an ownership rule. Supabase: RLS on every table with owner-only policies. Firebase: rules check
request.auth. Neverif true. service_role, admin and secret keys are server-only. Only anon/publishable keys in browser code. Never behindNEXT_PUBLIC_,VITE_,REACT_APP_,EXPO_PUBLIC_.- Every route that touches user data checks who is asking, then scopes the query to that user.
- CORS is a list of your domains, not
*. Never*with credentials. - Anything that costs money is rate-limited. Webhooks verify signatures before trusting the body.
- No
eval, no raw HTML from user input, no debug mode in production.
Pre-ship check
When the user says ship, deploy, launch, publish, go live, or is this safe: run
node scripts/seatbelt.js . (copy skills/seatbelt/scripts/scan.js from the repo above to that
path), fix every critical and high finding, re-run, then report READY or NOT READY first, then the
findings in severity order in plain English, and the single next step.
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.

