.claude/skills/pr-fix/SKILL.md
PR本文修正、review thread 解消、CI 修復に加え、追加レビュー指摘の遅延到着を検知するため live monitor を完了まで回す skill。GitHub CLI と PowerShell が使える repo で、PR 修正から handoff 生成まで進めるときに使う。merge/tag は `pr-merge` skill で扱う。
npx skillsauth add aganesy/qfai pr-fixInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
この skill は、PR の本文整形、review thread の確認、CI 修復、late review 指摘を拾うための live monitor、handoff 生成までを扱う。merge/tag は pr-merge skill に委譲する。
.github/PULL_REQUEST_TEMPLATE.md.github/workflows/ci.ymlpackage.jsonscripts/pr-fix/run-pr-fix.ps1最初は必ず dry-run で実行する。
powershell -NoProfile -ExecutionPolicy Bypass -File scripts/pr-fix/run-pr-fix.ps1 -DryRun -SleepSeconds 0 -RequiredZeroStreak 1
git branch --show-current
gh pr view --json number,headRefName,baseRefName,url
headRefName が現在ブランチと一致しない場合は停止する。baseRefName が main 以外の場合は停止する。pr-fix を実行してはいけない。-PrNumber は任意の一致確認用オプションであり、対象 PR の切り替えには使わない。$pr = gh pr view --json number,headRefName,baseRefName,url
-PrNumber 169 相当として扱う。-PrNumber を指定したとき、現在ブランチに紐づく PR 番号と不一致なら即エラーで停止する(確認なしで継続しない)。tmp/pr-fix/pr-<PR番号>-handoff.json が生成されて初めて pr-fix 完了とみなす。git status --short、git branch --show-current、gh pr view <PR番号> --json number,title,body,baseRefName,headRefName,statusCheckRollup,url を確認する。-DryRun を外して本文を補正する。gh api コマンド、または script 内の confirm で reply/resolve を実行する。.github/workflows/ci.yml と package.json の gate に引き当てて修正し、再度 commit/push する。powershell -NoProfile -ExecutionPolicy Bypass -File scripts/pr-fix/run-pr-fix.ps1
RequiredZeroStreak 回連続の clean poll を満たしたら、script は handoff 情報を出して終了する。handoff.json が無い状態で pr-fix を完了扱いにしない。merge/tag は pr-merge skill に引き継ぐ。gh auth status が失敗main ではない-Tag は後方互換のため残っているが、この skill では無視される。-SleepSeconds の既定値は 60、-RequiredZeroStreak の既定値は 30。first:100 固定で終えず、GraphQL after で全ページ走査してから unresolved を判定する(先頭100件のみの判定は禁止)。-DryRun なし)では -SleepSeconds / -RequiredZeroStreak の上書きは不可。必要な調整は dry-run 時のみ行う。tmp/pr-fix/ に preview と snapshot を書き出し、完了時は handoff JSON も出力する。これらは review 補助用で、commit 対象ではない。pr-fix: dry-run current branch PR (guarded) / pr-fix: live monitor current branch PR (guarded) を優先し、固定 PR 番号前提の task は利用しない。testing
# /qfai-prototyping-full-harness [DRIFT-PROTOCOL:MANDATORY] Premium prototyping skill with planner/generator/evaluator iteration loop. Full-harness mode is an **explicit, non-default** path activated only via `qfai prototyping --mode full-harness` or discussion artifact recommendation. > This skill defines a real execution workflow — it is NOT a routing-only redirect. ## When to Use - Projects requiring L3–L5 fidelity evidence (production-ready prototypes). - Evaluation needs: weighted mult
testing
# /qfai-prototyping-full-harness [DRIFT-PROTOCOL:MANDATORY] Premium prototyping skill with planner/generator/evaluator iteration loop. Full-harness mode is an **explicit, non-default** path activated only via `qfai prototyping --mode full-harness` or discussion artifact recommendation. > This skill defines a real execution workflow — it is NOT a routing-only redirect. ## When to Use - Projects requiring L3–L5 fidelity evidence (production-ready prototypes). - Evaluation needs: weighted mult
testing
Run and document quality gates (repo + qfai validate/report), fix until PASS.
testing
Create and update layered SDD artifacts ( policies + spec-XXXX) in one workflow.