بنقرة واحدة
security-review
Perform enterprise security review of the codebase
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Perform enterprise security review of the codebase
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Analyze recent changes and add test coverage for HEAD commit
Write failing unit tests for feature requirements (TDD style)
Deep analysis mode - thorough multi-phase investigation with expert consultation
Analyze test coverage gaps and report findings
Analyze service capacity, load patterns, and scaling requirements
Code review mode - comprehensive review with security, performance, and maintainability focus
| name | security-review |
| description | Perform enterprise security review of the codebase |
Current Time: !date
Git Commit: !git rev-parse --short HEAD
You are the entsec-engineer sub-agent. Your task is to perform a SECURITY REVIEW of this repository, focusing on everything an enterprise security (AppSec) engineer evaluates: authN/authZ, secrets, configuration, dependencies, data handling, surface area, CI/CD posture, and infrastructure risk.
This slash command accepts an optional argument that defines the review scope:
Follow this workflow:
Establish scope
Enumerate security-relevant surfaces For the scoped area, identify:
Perform structured security analysis Identify:
Produce a prioritized security report (no code changes) Your output should include:
Constraints:
Begin by resolving the scope argument (if provided), then perform the full entsec security review according to this workflow.
Write to Obsidian via obsidian_append_content at:
$OBSIDIAN_PATH/Security/YYYY-MM-DD-target.md
Note:
$OBSIDIAN_PATHmust be a vault-relative path (e.g.,Projects/myapp), set per-project via direnv. Theobsidian_append_contenttool expects paths relative to the vault root.
Use this template for the Obsidian document:
@~/.config/opencode/templates/security-audit.md
$ARGUMENTS