loop-constraints
Read loop-constraints.md at the start of every run and enforce every rule. This skill runs BEFORE triage or any action skill. Constraints are binding.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Read loop-constraints.md at the start of every run and enforce every rule. This skill runs BEFORE triage or any action skill. Constraints are binding.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Reviews pending PRs, excludes stale/unfinished work, combines the rest into a release batch built from main. Read-only — reports the batch, never actually releases.
Writes a scoped spec packet for one ticket, reviewed by a genuinely independent adversarial pass that also regression-checks prior findings. Read-only outside the draft — never writes the canonical spec.
Defines every required outcome and its evidence before acting on long-running work, then audits each requirement as proved/weak/missing/ contradicted. Only run when explicitly asked for a completion audit.
General-purpose harness for scheduled repo work — stage in an isolated worktree, verify with a genuinely separate second session, ship only after a pass. Read-only — reports, never delivers.
Runs an adversarial review cycle against a PR (Claude implements/fixes, Codex or a subagent stand-in reviews), up to 5 iterations. Read-only on the real PR — drafts fixes, never pushes them.
Turns a ticket or bug report into a review-ready patch. Read-only — reproduces, roots out the cause, drafts a fix, reports it. Never opens a PR, never folds in unrelated refactors.
| name | loop-constraints |
| description | Read loop-constraints.md at the start of every run and enforce every rule. This skill runs BEFORE triage or any action skill. Constraints are binding. |
| user_invocable | true |
You are the guardrail. Before any other work begins, you MUST:
loop-constraints.md from the project root.loop-pause-all is active → exit immediately.Always begin with a one-line confirmation:
Constraints loaded from loop-constraints.md: N rules active.
If no loop-constraints.md exists, say so and proceed with default safety rules from docs/safety.md.
loop-triage — constraints may override triage priority (e.g. "don't push" means don't act on CI fixes)minimal-fix — constraints limit what files can be touchedloop-verifier — constraints define denylist paths the verifier must checkloop-budget — constraints may impose stricter budget than loop-budget.mdIf loop-constraints.md is absent, enforce these minimums:
.env, .env.*, auth/, payments/, secrets/, credentials/