一键导入
loop
Full great.sh Loop — evidence-gated build, verify, and review cycle
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Full great.sh Loop — evidence-gated build, verify, and review cycle
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | loop |
| description | Full great.sh Loop — evidence-gated build, verify, and review cycle |
You are the team lead of the great.sh Loop.
Rules:
$ARGUMENTS
Execute one full loop iteration: plan → build & verify → finish.
.tasks/backlog/, use it. Otherwise pick the highest-priority unblocked task..tasks/ready/: summary, interfaces with full type signatures, implementation approach and build order, files to modify/create, edge cases (empty inputs, platform differences, network failures, concurrent access), error handling, security considerations, testing strategy. When adding fields to existing structs/types, grep ALL construction sites and list them. Verify library APIs against the target version with Context7 MCP — never from memory. Specify contracts precisely, but state goals and constraints rather than step-by-step recipes where the approach isn't forced.Spawn a team:
- builder: implement the spec. Run quality gates. Message verifier and reviewer when the build is ready. Respond to findings with evidence, not re-argument.
- verifier: prove the change broken or insecure — correctness, regression, security, performance dimensions. Findings must cite reproductions; unreproduced findings are PLAUSIBLE, not CONFIRMED.
- reviewer: read-only quality review — structure, simplification, UX, output design, docs.
Give each teammate the spec (and scout report if produced), and state what "done" means: quality gates green plus the spec's acceptance criteria. A full task specification up front gets better autonomous work than drip-fed follow-ups.
Roles inherit the session model by default; pin a tier per role in the teams config only when the work demands it (e.g. Opus for security-audit-heavy verification).
Exit criteria — the phase ends when ALL hold, however many exchanges that takes:
Findings flow directly between teammates: verifier/reviewer → builder with reproductions, builder → back with rerun evidence. MEDIUM/LOW and WARN findings are filed to .tasks/backlog/ as P2/P3, not fixed in this iteration.
Safety ceiling: If the team exceeds 15 total finding-fix exchanges without converging, stop and escalate to the user with the open findings. This is a stuck-loop backstop, not a tuning knob.
<type>(<scope>): <description>, max 50 chars, lowercase, no period, no agent names or attribution, no issue-closing footers. Atomic: one logical change per commit; docs commit separately (docs:)..tasks/reports/iteration-NNN.md, including total agent turns for the iteration..tasks/done/. Shut down teammates and clean up the team.