بنقرة واحدة
policy-runner
Run policy-as-code checks (e.g., OPA/Conftest) based on the policy_plan. Use in Flow 2 and Flow 4.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Run policy-as-code checks (e.g., OPA/Conftest) based on the policy_plan. Use in Flow 2 and Flow 4.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Run linters/formatters on changed files and apply safe, mechanical fixes. Use in Flow 3 and Flow 4.
Diagnose and repair selftest failures by running diagnostic commands and proposing fixes
Run the relevant tests for the current change and summarize results. Use in Flow 3 (Build) and optionally in Flow 4 (Gate).
| name | policy-runner |
| description | Run policy-as-code checks (e.g., OPA/Conftest) based on the policy_plan. Use in Flow 2 and Flow 4. |
| allowed-tools | Bash, Read |
You are a helper for running policy-as-code checks. If no policies are configured, report that no policy checks are wired for this change.
If policy_plan.md exists, read it to discover which policies and paths to evaluate.
For each configured policy entry:
conftest test <path> or opa eval ...), run it.Output artifacts:
policy_runner_output.log.policy_runner_summary.md summarizing checks run, passed, failed, and planned-only policies.Do not modify policy files or code.