agentleFS
agent-ixagent-ix/spec-skills/spec-security-analysis/SKILL.md

spec-security-analysis

Skill1 starsChanged 6 months agoMITView on GitHub

Analyze specifications and implementations to identify applicable security standards and generate compliance traceability documentation.

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    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 spec/spec.md (if exists)

    line 25
  2. Distinctive:

    Read references/standards-index.md for standard selection

    line 30
  3. Distinctive:

    Use index decision guides to choose specific chapters to investigate

    line 37
  4. Distinctive:

    [REQUIRED]: Verify identified controls against official FREE sources:

    line 39
  5. Distinctive:

    Document requirement-to-control bidirectional traceability

    line 50
  6. Distinctive:

    Document explicitly what is NOT covered and why

    line 55
  7. Distinctive:

    Use template: assets/security-analysis-template.md

    line 58
  8. Distinctive:

    19.1 Targeted Standards: All 5 mandatory standards with version and scope

    line 64
  9. Very specific:

    Every control mapping MUST reference specific FR/NFR/StR identifiers

    line 73

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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 Analysis

Analyze a component's specification and implementation to generate comprehensive security compliance traceability. Apply ALL security standards for maximum coverage - overlapping controls strengthen rather than conflict.

Mandatory Standards

Apply ALL of these standards to EVERY analysis (scope varies by component function):

StandardVersionScope
AICPA SOC 22017 TSCTrust Services Criteria
ISO/IEC 270012022Annex A Controls
NIST SP 800-53Rev 5.2.0Security & Privacy Controls
OWASP ASVS5.0.0Application Security Verification
EU GDPR2016/679Data Protection Articles

Process

  1. Gather Context
    • Read spec/spec.md (if exists)
    • Scan implementation for security-relevant patterns (auth, data, API, logging)
    • Identify component type and function
  2. Identify Applicable Controls
  3. Map Controls to Requirements
    • Link each applicable control to existing FR/NFR/StR requirements
    • Identify gaps where controls lack requirement coverage
    • Document requirement-to-control bidirectional traceability
  4. Define Scope Boundaries
    • Identify controls outside component scope
    • Assign responsible component for out-of-scope controls
    • Document explicitly what is NOT covered and why
  5. Generate Output
    • Use template: assets/security-analysis-template.md
    • Output as Section 19 "Compliance Standards Traceability" in spec/spec.md
    • Example: assets/security-analysis-example.md

Output Sections

  • 19.1 Targeted Standards: All 5 mandatory standards with version and scope
  • 19.2 Control Mapping: Control ID → Standard → Name → Component Requirement
  • 19.3 GDPR Compliance: Specific GDPR article coverage
  • 19.4 Audit Support Controls: Cross-standard audit and logging controls
  • 19.5 Out of Scope: Controls outside component boundary with responsible component

Rules

  • Apply ALL standards - comprehensive coverage trumps minimal compliance
  • Every control mapping MUST reference specific FR/NFR/StR identifiers
  • Overlapping controls from multiple standards reinforce coverage
  • Out-of-scope controls MUST identify the responsible component
  • Gap identification is required - missing control coverage is a finding

References

  • Template: assets/security-analysis-template.md
  • Example: assets/security-analysis-example.md
  • Standards Index: references/standards-index.md
  • Component Mapping: references/component-type-mapping.md

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.