moonlight-lupin/agent-skills / plugins/dev-pipeline/skills/review-commit
review-commit
VerifiedUse when the user says 'review loop N times', 'build then review', 'fix and re-review', 'review loop until clean', 'have cursor build, codex review', or wants the dev-pipeline review stage: a two-axis single pass (Standards + Spec, parallel, never merged) FIRST, then a budgeted confirm-round loop on the fix diffs until no BLOCKING/MAJOR is open, then the commit/deploy gate — three-reviewer gate before live deploy, release hygiene before tagging. Also triggers: 'two-axis review', 'confirm rounds', 'review diff until SHIP', 'N confirm rounds', ship gate.
| File | Kind | Size |
|---|---|---|
| SKILL.mdexecutable | skill md | 6.8 KB |
| references/background-build-polling.mdexecutable | script | 3.9 KB |
| references/confirm-round-protocol.mdexecutable | script | 12.3 KB |
| references/dispatch-result-contract.mdexecutable | script | 3.5 KB |
| references/feature-build-brief.mdexecutable | script | 2.9 KB |
| references/fix-brief-template.mdexecutable | script | 10.5 KB |
| references/persistent-loop-plan.mdexecutable | script | 6.9 KB |
| references/release-hygiene.mdexecutable | script | 3.9 KB |
| references/reviewer-dispatch.mdexecutable | script | 6.0 KB |
| references/spec-convergence.mdexecutable | script | 5.2 KB |
| references/two-axis-single-pass.mdexecutable | script | 9.9 KB |
| references/workflow-steps.mdexecutable | script | 18.9 KB |
| scripts/attest_file.pyexecutable | script | 2.7 KB |
| scripts/capture_dispatch_result.pyexecutable | script | 3.6 KB |
| scripts/loop_plan_check.pyexecutable | script | 3.8 KB |
scripts/attest_file.py
View on GitHub#!/usr/bin/env python3
"""Attest and verify files by SHA-256 (build-review-loop port of the
planning-with-files attestation concept).
Two uses:
1. Briefs — hash the brief before dispatching a builder; verify after the
build. A changed hash means the builder edited its own instructions
(pitfall #20: warp the spec until tests pass).
2. Loop plans — hash task_plan.md in gated loops so a mid-loop edit to
phase statuses is visible instead of silent.
The sidecar lives next to the file as <name>.attest (JSON). Loop-plan files
are gitignored working state, never committed; the sidecar follows the file.
"""
import argparse
import datetime
import hashlib
import json
import os
import sys
def sha256_file(path):
h = hashlib.sha256()
with open(path, "rb") as fh:
for chunk in iter(lambda: fh.read(65536), b""):
h.update(chunk)
return h.hexdigest()
def sidecar_path(path):
return path + ".attest"
def cmd_attest(args):
digest = sha256_file(args.path)
record = {
"schema": "btl-attest.v1",
"file": os.path.basename(args.path),
"sha256": digest,
"attestedAt": datetime.datetime.now(
datetime.timezone.utc).isoformat(timespec="seconds"),
"note": args.note,
}
with open(sidecar_path(args.path), "w", encoding="utf-8") as fh:
json.dump(record, fh, indent=2)
fh.write("\n")
print(f"attested {args.path} -> {sidecar_path(args.path)}")
print(digest)
def cmd_verify(args):
sc = sidecar_path(args.path)
if not os.path.isfile(sc):
print(f"NO ATTESTATION: {sc} missing", file=sys.stderr)
return 2
with open(sc, encoding="utf-8") as fh:
record = json.load(fh)
actual = sha256_file(args.path)
if actual == record.get("sha256"):
print(f"OK {args.path} matches attestation {record['attestedAt']}")
return 0
print(f"TAMPERED {args.path}: sha256 {actual} != attested "
f"{record.get('sha256')} (attested {record['attestedAt']})",
file=sys.stderr)
return 1
def main():
ap = argparse.ArgumentParser(description=__doc__)
sub = ap.add_subparsers(dest="cmd", required=True)
a = sub.add_parser("attest", help="write <path>.attest with the SHA-256")
a.add_argument("path")
a.add_argument("--note", default=None)
v = sub.add_parser("verify", help="verify <path> against <path>.attest")
v.add_argument("path")
args = ap.parse_args()
if not os.path.isfile(args.path):
print(f"file not found: {args.path}", file=sys.stderr)
raise SystemExit(2)
raise SystemExit(cmd_attest(args) if args.cmd == "attest" else cmd_verify(args))
if __name__ == "__main__":
main()
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deployment | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |