본문으로 건너뛰기
cccskills
무료GitHub에 공개

wf-review

Review a change with an optional workflow contract using deterministic scope, adaptive cross-model reviewers, verified findings, fixes, and a gate. Use standalone or from wf-impl.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구GitHub
설치 방법 보기

포함된 파일(1)

  • SKILL.md3.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

/wf-review

Argument: optional absolute path to a contract. Without a contract, review the current diff. You own the review: reviewers only report; verify every finding and delegate fixes sequentially. Never edit production code yourself.

GATE = node ~/Workspace/pi-ext/wf/wf-gate.mjs

1. Scope

TARGET = sc worktree status --json → target_branch (fallback main). Run ocr delegate preview --from TARGET --to HEAD, restore excluded product files such as .md when they carry the change or the contract names them, then load rules with ocr delegate rule <files>. Keep lockfiles and generated code out.

Write .wf/review-packet.md: contract path or “no contract”, refs, merge_base, final files, diff stats, and rules. Every reviewer gets it. Without ocr, use git diff --stat TARGET...HEAD and disclose the fallback.

2. Pick the panel

With a contract, use its exact GATE agents <spec> --json → review plan; never infer models from YAML. Without a contract, inspect the packet and use:

  • docs/tests-only with no runtime behavior or sensitive config: 1 reviewer;
  • behavior changes: 2 reviewers for correctness and tests/edge cases;
  • security, auth, permissions, secrets, migrations, data integrity, concurrency, public APIs, or a large cross-module diff: 3 reviewers for correctness, the relevant risk, and impact/tests.

Read PI_PROVIDER and PI_MODEL. Reviewers must differ by model from the current session and each other. Prefer claude/fable, codex/gpt-5.6-sol, pi/zai/glm-5.2, then pi/anthropic/claude-opus-5. Skip matching or unavailable models, record the fallback, and never add reviewers merely because more models exist.

3. Review — max 2 rounds

Run each round's reviewers IN PARALLEL with subagent_spawn, each in a fresh context; never collapse them onto one model. Give each the packet, focus, read-only mode, and these rules:

  • with claude harness: the prompt MUST start with /code-review; codex would treat /review as plain text, so other harnesses get no slash prefix;
  • with pi harness: use sem_impact for blast radius/tests and sem_context;
  • findings are CLAIMS: severity, file:line, problem, and impact; with a contract also cite the violated criterion or scope;
  • Critical/High = bug, security, data loss, or uncovered criterion; Medium = performance or missing error handling with context; discard Low unless useful;
  • project rules are the checklist; read-only means never gh pr create or gh pr merge — for the codex harness this sentence is the only guard.

Save raw outputs to .wf/reviews/<HEAD>/round-<N>/<focus>.md; a missing planned report means incomplete review. Verify every finding against the code and explain rejections. Batch legitimate findings by 3–5 and delegate them sequentially; only one agent may edit at a time. Each batch ends with a commit and targeted test. Send repeatable mechanical findings to review-guards; never edit skills, the workflow pipeline, or AGENTS.md yourself.

Run round 2 only after fixes and only on changed areas. With a contract use its planned round; standalone use one best-matching reviewer.

4. Result

With a contract, GATE verify <spec> quick must pass (max 3 repair attempts per hypothesis). Without a contract, do not run GATE agents or verify; after fixes run targeted project tests. An unresolved finding or missing report means FAILED; otherwise PASS. wf-impl creates the review attest only after its final full gate; never create it here.

Report fixes with commits, rejections with reasons, planned/used reviewers and model fallbacks, artifact paths, scope stats, and gate/test results.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Explain a GitHub pull request as an English Markdown walkthrough and return a Plannotator share link. Use for PR explanations, walkthroughs, or review preparation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tomsej/pi-ext792026년 9월 4일 업데이트

Review, triage, and resolve PR review comments. Use when user asks to check PR comments, address review feedback, fix issues raised in review, reply to reviewers, or resolve review threads.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tomsej/pi-ext792026년 9월 4일 업데이트

Codify project review rules as deterministic guards — ast-grep structural rules (with TDD-style rule tests) for mechanical checks, REVIEW_GUIDELINES.md for qualitative ones, wired into the project gate / wf verify. Use when the user wants to define review rules, turn a repeated review finding into a lint/guard, or set up ast-grep in a project.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tomsej/pi-ext792026년 9월 4일 업데이트

sem

무료

Entity-aware code change analysis using the pi-sem tools. Use when the user asks what changed, wants blast radius or affected tests, needs focused context for a function/class, wants review help on a commit/branch/PR, or asks to compare semantic diff with raw git diff. Prefer sem_context and sem_impact; use sem_diff selectively for summaries and reviews.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tomsej/pi-ext792026년 9월 4일 업데이트

wf

무료

Vytvoř workflow kontrakt z dosavadní diskuse — zapíše ~/Workspace/specs/<projekt>/<název>/contract.md (české tělo + strojový frontmatter) a zlintuje ho wf-gate. Použij, když uživatel řekne /wf nebo chce z probraného problému udělat kontrakt. Nikdy neimplementuje.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tomsej/pi-ext792026년 9월 4일 업데이트

České vysvětlení změny kódu z kontraktu, ref range nebo PR — pozadí, intuice, průchod kódem, důkazy, UAT a kvíz. Volá wf-impl po UAT nebo uživatel ručně.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tomsej/pi-ext792026년 9월 4일 업데이트

tomsej의 스킬 모두 보기

이 스킬의 문제 신고