用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/griddynamics/rosetta --skill security-flow命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | security-flow |
| description | Workflow for authorized, evidence-preserving security review and remediation-task preparation. |
<security_flow>
<description_and_purpose>
Run task-adaptive security review through mandatory canonical subagents. End with sanitized findings and concise inputs for later user-invoked coding flows.
</description_and_purpose>
<workflow_phases>
load-project-context (required: all), orchestration (medium+), hitl (all, unless No HITL or Fully Autonomous).hitl skill.agents/TEMP/<FEATURE>/security-flow-state.md file; every phase updates it before the next starts.<subagent_policy required="true" inline_execution="prohibited">
subagent-directives.executor is never a gateway for full agents.</subagent_policy>
- Purpose: Inventories limited target/tool metadata and runs a filename-only secret gate before any model ingests target content. Determines whether to continue, request approval for DEV/QA envs, or stop for high risk. - Input: request; target/environment metadata only. - Output: readiness result with limited inventories and gate state. - INVOKE SUBAGENT `executor` to APPLY SKILL FILE `phases/security-flow-readiness.md` + inventory limited metadata/tools, run the filename-only secret gate, and return its gate state. - Expect: limited target/tool inventory; `PASS|NEEDS-HITL|STOP-HIGH-RISK|STOP-SCANNER-UNUSABLE`. - Control: advance only on PASS or approved DEV/QA envs; high-risk and scanner-unusable stops are non-overridable. - Purpose: Recommends an enterprise-safe run contract from readiness evidence and task intent. Identifies every material decision requiring user approval before security work begins. - Input: readiness result; task intent; known policy. - Output: recommended run contract and approval record. - INVOKE SUBAGENT `engineer` to APPLY SKILL FILE `phases/security-flow-authorize.md` + recommend scope, environment, exclusions, activities, tool/data-flow decisions, bounds, and stop conditions. - Expect: a complete run contract with every activity marked local read-only, separately gated, or prohibited, plus the material decisions awaiting user approval. - Control: obtain explicit approval/amendment via `hitl`; unresolved material decisions block.<deterministic_gates phase="3" applies="development/change/PR/pipeline" subagent="executor" role="Bounded deterministic security-gate operator" subagent_required_model="inherit" must-be-subagent>
executor to APPLY SKILL FILE phases/security-flow-deterministic-gates.md + run approved deterministic gates and return unchanged findings with HIGH+|CLEAN|ERROR.HIGH+|CLEAN|ERROR.<model_and_select phase="4" applies="ALL" subagent="architect" role="Security architect mapping threats to complete contextual coverage" subagent_required_model="inherit" must-be-subagent>
architect to APPLY SKILL FILE phases/security-flow-model-and-select.md + build the threat model, map applicable areas/tools/exclusions, and return the complete authorized coverage plan.<inspect_and_test phase="5" applies="ALL" subagent="engineer" role="Security engineer producing bounded evidence by applicable area" subagent_required_model="inherit" must-be-subagent>
engineer to APPLY SKILL FILE phases/security-flow-inspect-and-test.md + inspect one assigned area bundle, run approved tools directly, and return evidence, findings, limitations, and anomalies.<normalize_and_triage phase="6" applies="ALL" subagent="executor" role="Lossless finding converter" subagent_required_model="inherit" required_followup_subagent="engineer" must-be-subagent>
executor to APPLY SKILL FILE phases/security-flow-normalize-and-triage.md STEP 6.1 + mechanically normalize source records and reconcile counts without inference.engineer to APPLY SKILL FILE phases/security-flow-normalize-and-triage.md STEP 6.2 + correlate, verify, disposition, and prioritize the normalized findings.<independent_review phase="7" applies="ALL" subagent="reviewer" role="Independent security evidence and coverage reviewer" subagent_required_model="inherit" must-be-subagent>
reviewer to APPLY SKILL FILE phases/security-flow-independent-review.md + independently audit coverage, evidence, safety, and conclusions; return acceptance or required corrections.<report_and_package phase="8" applies="ALL" subagent="engineer" role="Security reporter and remediation-input designer" subagent_required_model="inherit" type="HITL" must-be-subagent>
engineer to APPLY SKILL FILE phases/security-flow-report-and-package.md STEP 8.1 + build sanitized report/run/findings and the proposed fix-similarity INDEX.hitl.engineer to APPLY SKILL FILE phases/security-flow-report-and-package.md STEP 8.3 + apply the approved INDEX and emit concise task-input files only.coding-flow.
</report_and_package></workflow_phases>
<global_gates>
</global_gates>
<failure_handling>
</failure_handling>
Complete only when required phases pass, sanitized outputs are returned or stored as approved, the task INDEX is approved/amended, and no downstream coding flow was started.
</security_flow>