agentleFS
lbk-openlbk-open/super-spec/skills/ss-guardrails/SKILL.md

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.

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
  1. Very specific:

    Read core.md in full — it applies regardless of stack.

    line 26
  2. Distinctive:

    Read the one or two language files that match the project's stack.

    line 27
  3. Distinctive:

    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 …

    line 30
  4. Very specific:

    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 …

    line 34

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

FileCoversRead When
core.mdSecurity baseline, code-review dimensions and severity levels, unit-testing principles, and anti-mistake rules for AI coding agentsAlways — every coding or review task
java.mdJava exception handling and concurrency anti-patterns, JVM testing pitfallsProject is Java/Kotlin/JVM
go.mdGo error handling and testing pitfallsProject is Go
cpp.mdC++ memory safety, concurrency, error handling, and testing pitfallsProject is C++
web.mdFrontend/Node security and quality pitfallsProject is TypeScript/JavaScript/web
android.mdAndroid-specific safety and quality pitfallsProject is Android/Kotlin
ios.mdiOS-specific safety and quality pitfallsProject is iOS/Swift
flutter.mdFlutter/Dart-specific safety and quality pitfallsProject is Flutter

How to Use This

  1. Detect the project's primary language/stack (build files, file extensions, existing code) or ask if it's ambiguous.
  2. Read core.md in full — it applies regardless of stack.
  3. Read the one or two language files that match the project's stack. Skip the rest.
  4. 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.