一键导入
spec-security-analysis
Analyze specifications and implementations to identify applicable security standards and generate compliance traceability documentation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze specifications and implementations to identify applicable security standards and generate compliance traceability documentation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | spec-security-analysis |
| description | Analyze specifications and implementations to identify applicable security standards and generate compliance traceability documentation. |
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.
Apply ALL of these standards to EVERY analysis (scope varies by component function):
| Standard | Version | Scope |
|---|---|---|
| AICPA SOC 2 | 2017 TSC | Trust Services Criteria |
| ISO/IEC 27001 | 2022 | Annex A Controls |
| NIST SP 800-53 | Rev 5.2.0 | Security & Privacy Controls |
| OWASP ASVS | 5.0.0 | Application Security Verification |
| EU GDPR | 2016/679 | Data Protection Articles |
Gather Context
spec/spec.md (if exists)Identify Applicable Controls
Map Controls to Requirements
Define Scope Boundaries
Generate Output
spec/spec.mdConvert ISO spec requirements (StR, FR, NFR) into a TDD-based project plan with dependency analysis, parallel execution tracks, quality gates, and task decomposition. Selects or starts a plan and writes a frontmatter-typed plan bundle under plan/<Plan-id>-<slug>/ (Plan + Task + index + log).
Create or update spec artifacts from a design or change request. Orchestrates authoring each requested requirement type (StR/US/FR/NFR/IT) as a discrete file using quoin catalog templates and Quire validation.
Analyze requirement statements (FR/NFR/StR) for EARS requirement-grammar conformance and author a SpecReview of the findings.
Build and maintain the requirements Test Matrix ensuring 100% coverage.
Review requirements for quality, consistency, and completeness.
Verify a targeted plan is complete and validated — every task done, the Test Matrix backed by real tracking tags in tests, and code fully traced to spec (flagging underspecified code with no owning requirement). Optional semantic review checks that intent↔test↔code actually agree. Emits a quire-validated SpecReview artifact to reviews/YY-MM-DD-<slug>.md.