agentleFS
evolplusevolplus/talos/skills/security-compliance-checklist/SKILL.md

security-compliance-checklist

Skill9 starsChanged 6 months agoApache-2.0View on GitHub

Checklist for the SRS `## Security & Compliance` section. Consult during BA ingestion when the requirement involves auth, payments, PII, account data, public endpoints, or third-party integrations.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 4 are distinctive, and 2 are 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.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the SRS touches any of these, the section is mandatory:

    line 23
  2. Distinctive:

    Read the SRS; mark every requirement that touches one of the trigger categories.

    line 37
  3. Very specific:

    Add a final subsection ### Threats considered: 3–6 bullets naming threat actors and how the requirement addresses them.

    line 40
  4. Very specific:

    If any item touches regional data law (Vietnam Cybersecurity Law, China data localization, Southeast Asia patchwork, GDPR for EU users), …

    line 41
  5. Distinctive:

    Never reduce a security requirement to "follow industry best practices".

    line 46
  6. Distinctive:

    When in doubt about whether a category applies, include it.

    line 49

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

Security & Compliance Checklist

When to use

You are the BA. The incoming SRS describes a feature that involves at least one of: authentication, authorization, payments, PII, account data, public endpoints, or third-party integrations. CLAUDE.md §2 requires a ## Security & Compliance section in the SRS before sign-off, and this skill is the BA's playbook for what that section needs.

Inputs and outputs

  • Inputs: a draft SRS with at least one trigger category present
  • Outputs: a populated ## Security & Compliance section in docs/SRS.md, plus any Open Questions for unresolved items

Trigger categories

If the SRS touches any of these, the section is mandatory:

TriggerExamples
AuthenticationLogin flows, SSO, magic links, OAuth, MFA enrollment / recovery
AuthorizationRole checks, scope checks, resource ownership, admin endpoints
PaymentsCard data, payment provider integrations, refunds, ledger entries
PIINames, emails, phone numbers, addresses, government IDs, biometrics
Account dataGame progress, in-game purchases, friend lists, chat history, profile photos
Public endpointsAnything reachable without auth, or with weak auth (e.g., share-by-link)
Third-party integrationsExternal APIs (payment, identity, analytics, CDN, partner game services)

Procedure

  1. Read the SRS; mark every requirement that touches one of the trigger categories.
  2. For each marked requirement, walk the per-category checklist in references/per-regime.md. Copy answers (or unanswered questions) into the SRS's ## Security & Compliance section.
  3. Where the SRS is silent or ambiguous on a checklist item, raise it as ## Open Questions. Do not invent answers.
  4. Add a final subsection ### Threats considered: 3–6 bullets naming threat actors and how the requirement addresses them. Lightweight threat-modeling, not a full STRIDE analysis.
  5. If any item touches regional data law (Vietnam Cybersecurity Law, China data localization, Southeast Asia patchwork, GDPR for EU users), include a ### Regional subsection naming the regions the feature is exposed to and which constraints apply per region.

Hard rules

  • The SRS cannot reach Signed-off while ## Security & Compliance has unresolved items, regardless of how complete the rest of the SRS is.
  • Never reduce a security requirement to "follow industry best practices". State the actual control: "tokens stored in Secure HttpOnly cookies, 30-minute idle expiry, rotated on privilege escalation".
  • BA never decides on threat-model trade-offs alone. Trade-offs go in ## Open Questions and are resolved by SA + Security review (or whoever your org names) before sign-off.
  • For games/products in regulated regions: account, payment, and chat data are subject to regional data laws. Any feature touching these requires the Regional subsection.
  • When in doubt about whether a category applies, include it. Over-documenting security is cheaper than under-documenting.

References

  • references/per-regime.md — per-category checklist with required SRS content
  • CLAUDE.md §2 — SRS Sign-off Protocol (the gate this skill helps you pass)
  • CLAUDE.md §10 — Hard Rules

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.