security-review
Team threat model as executable instruction. Use when checking code for security issues before merge.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Team threat model as executable instruction. Use when checking code for security issues before merge.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | security-review |
| description | Team threat model as executable instruction. Use when checking code for security issues before merge. |
When to load it: When checking code for security issues before merge or during review.
Applies a structured security check to a piece of code using the team's prioritised threat model. Produces a categorised findings report: critical issues (block merge), important concerns (must address before merge), and advisories (track and evaluate). The categories encode the team's judgment about severity — not a generic checklist.
Populate the Design Constraints section below with your team's specific threat model. The placeholders are a starting structure. A security skill without project-specific constraints is generic and less useful than running a standard scanner.
userId directly into the query string" not "SQL injection risk present."Opening prompt structure:
Review the following code for security issues.
Use the /security-review skill.
Code under review:
[paste the code]
Context:
- Entry point: [HTTP endpoint / background job / CLI / other]
- Caller trust level: [authenticated user / anonymous / internal service]
- Data sensitivity: [PII / financial / internal / public]
Response structure the skill produces:
## Critical — Block Merge
[Finding]: [specific location] — [what the risk is]
## Important — Address Before Merge
[Finding]: [specific location] — [what the risk is]
## Advisory — Track and Evaluate
[Finding]: [specific location] — [what the risk is, why it is lower priority]
## Boundaries checked
- HTTP inputs: [checked / not present]
- Database queries: [checked / not present]
- File system: [checked / not present]
- External API calls: [checked / not present]
- Environment / secrets: [checked / not present]
Replace the placeholders below with your team's specific threat model. These are the checks the team applies instinctively — the ones a senior would catch without consulting a checklist.
Critical (block merge):
Important (must address before merge):
Advisory (track and evaluate):
Generic checks this skill does NOT replace:
Team quality gate as executable instruction. Use when reviewing completed work before merge, or when processing PR review comments received from other reviewers.
Generate well-formed user stories from technical context. Use when generating or improving story descriptions for an issue tracker.
Type-safe validated configuration properties from application.yml. Use when adding any externalisable value.
Consistent error handling with named exceptions and global handler. Use when implementing any method that can fail with a business reason.
Consistent, safe log statements with correct levels and no PII. Use when adding or reviewing log statements.
Team standard for improving existing code without changing behaviour. Use when refactoring code.