ss-guardrails
Skill2 starsChanged 5 months agoApache-2.0View on GitHub
A library of safety, code-quality, and anti-mistake checklists that other ss-* skills consult on demand while writing or reviewing code. Not invoked directly by users — skills like ss-coding-workflow, ss-code-review, and ss-coding read core.md plus the relevant language file before generating or grading code.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- ss-archiveSkill
- ss-cleanupSkill
- ss-code-reviewSkill
- ss-codingSkill
- ss-coding-workflowSkill
- ss-create-branchSkill
- ss-create-prSkill
- ss-feature-workflowSkill
- ss-inspectSkill
- ss-list-changesSkill
- ss-multi-repo-workflowSkill
- ss-planSkill
- ss-proposalSkill
- ss-referencesSkill
- ss-reverse-specSkill
- ss-show-specSkill
- ss-trace-specSkill
- ss-troubleshooting-workflowSkill
- ss-write-specSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 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.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 26
Read core.md in full — it applies regardless of stack.
- Distinctive: line 27
Read the one or two language files that match the project's stack.
- Distinctive: line 30
Treat this as read-only reference material: load it into context at the moment it's needed, apply it, and don't copy its contents into the …
- Very specific: line 34
If the project's stack isn't covered by any language file here, fall back to core.md alone and note the gap to the user rather than …
≈ “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
Guardrails
This skill is a reference library, not a workflow. Other skills read it at the point where they need to write, change, or review code; it has no standalone "run" behavior of its own.
What's Here
| File | Covers | Read When |
core.md | Security baseline, code-review dimensions and severity levels, unit-testing principles, and anti-mistake rules for AI coding agents | Always — every coding or review task |
java.md | Java exception handling and concurrency anti-patterns, JVM testing pitfalls | Project is Java/Kotlin/JVM |
go.md | Go error handling and testing pitfalls | Project is Go |
cpp.md | C++ memory safety, concurrency, error handling, and testing pitfalls | Project is C++ |
web.md | Frontend/Node security and quality pitfalls | Project is TypeScript/JavaScript/web |
android.md | Android-specific safety and quality pitfalls | Project is Android/Kotlin |
ios.md | iOS-specific safety and quality pitfalls | Project is iOS/Swift |
flutter.md | Flutter/Dart-specific safety and quality pitfalls | Project is Flutter |
How to Use This
- Detect the project's primary language/stack (build files, file extensions, existing code) or ask if it's ambiguous.
- Read
core.mdin full — it applies regardless of stack. - Read the one or two language files that match the project's stack. Skip the rest.
- Apply the checklists while writing code, and re-check against them during review, before claiming a task complete.
Treat this as read-only reference material: load it into context at the moment it's needed, apply it, and don't copy its contents into the user's repository. It carries no user-specific configuration and produces no output files of its own.
Failure Handling
If the project's stack isn't covered by any language file here, fall back to core.md alone and note the gap to the user rather than guessing at stack-specific rules that don't exist yet.
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.

