agentleFS
UlisesCmUlisesCm/navori-owl/.claude/skills/secure-by-design/SKILL.md

secure-by-design

Skill1 starsChanged 37 days agoMITView on GitHub

Use when a change is security-sensitive.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    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
  1. Distinctive:

    Use only when the task changes authentication, authorization, a trust boundary, sensitive data, web/API input, secrets, cryptography, …

    line 19
  2. Distinctive:

    Add an executable test or other reproducible evidence for each selected mitigation.

    line 31
  3. Very specific:

    Do not install a vendor skill, plugin, hook, or dependency from this router.

    line 48
  4. Distinctive:

    Do not treat a static scan as authorization evidence.

    line 50
  5. Distinctive:

    Keep threat modeling proportional: one boundary and its concrete abuse cases, not a generic taxonomy dump.

    line 52

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
<!-- navori:managed id="secure-by-design-base" hash="5c3cf2db" version="0.11.1" source="@navori/core" fmkeys="name,description,metadata" -->

Secure by design

This is a thin router, not a second security checklist. It composes with security-invariants (business rules), review-diff (diff review), and verify-before-done (fresh evidence); none of their gates are replaced.

Trigger

Use only when the task changes authentication, authorization, a trust boundary, sensitive data, web/API input, secrets, cryptography, uploads, an external integration, or a dependency. For ordinary code, do not load this skill.

Route

  1. State the asset, actor, boundary, and unwanted outcome in 1–3 lines.
  2. Load security-invariants; enumerate every mutating entry point when a guard or policy changes. Its server-side rules remain authoritative.
  3. Select only applicable controls from the versioned reference record: OWASP ASVS 5.0.0, NIST SSDF 1.1, and SLSA. Link the selected control ids and explain the local implementation; never copy their checklists into a task.
  4. Add an executable test or other reproducible evidence for each selected mitigation. Inputs and authorization need negative cases, not only happy paths.
  5. Send the finished diff through review-diff and verify-before-done.

Minimum handoff

Security scope: <asset / boundary / actor>
Threat: <unwanted outcome>
Controls: <versioned references and ids>
Evidence: <test or command and result>
Residual risk: <accepted risk or none>

Guardrails

  • Do not install a vendor skill, plugin, hook, or dependency from this router. Adoption follows the reversible pilot record in docs/references/skills-security-quality.md.
  • Do not treat a static scan as authorization evidence; business invariants and tests remain required.
  • Keep threat modeling proportional: one boundary and its concrete abuse cases, not a generic taxonomy dump.
<!-- /navori:managed id="secure-by-design-base" -->

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.