quality-management-gh
Reusable QA orchestration skill for GitHub PRs. Use for multi-pass QA, CI monitoring, and template-driven findings and final quality reports.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Reusable QA orchestration skill for GitHub PRs. Use for multi-pass QA, CI monitoring, and template-driven findings and final quality reports.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | quality-management-gh |
| version | 1.0.0 |
| description | Reusable QA orchestration skill for GitHub PRs. Use for multi-pass QA, CI monitoring, and template-driven findings and final quality reports. |
This skill defines a reusable quality-management workflow for teams that run QA across one or more passes before merge.
Use this skill when you need to:
IN-FLIGHT, FAIL, PASS)This skill is intentionally generic. Team-specific teammate names, branch
policy, and background-agent ownership stay in the repo’s quality-mgr agent
prompt.
Every QA update, both ATM and PR, must include:
PASS | FAIL | IN-FLIGHT)complete, total, percent)blocking, important, minor)ready | not ready) plus reasonUse fenced JSON for machine-readable status payloads:
{
"sprint": "M.1",
"task": "mailbox-locking",
"branch": "feature/pM-s1-mailbox-locking",
"commit": "abc1234",
"pr": 123,
"verdict": "FAIL",
"deliverables": {
"complete": 9,
"total": 11,
"percent": 82
},
"findings": {
"blocking": 1,
"important": 2,
"minor": 0
},
"blocking_ids": ["QA-001"],
"next_action": "Fix lock acquisition rollback semantics",
"owner": "arch-ctm",
"merge_readiness": "not ready",
"merge_reason": "Blocking findings remain"
}
FAIL with findings.
IN-FLIGHT or FAIL while fixes are in progress.
PASS with final quality report and merge recommendation.Do not treat QA as single-shot.
Preferred repo-specific flow:
atm gh monitor status to verify monitor health when availableatm gh monitor pr <PR> --start-timeout 120 to start or attach a PR monitor when availableatm gh pr report <PR> --json for one-shot structured status when availableFallback when repo-specific atm gh tooling is unavailable or not yet wired:
gh pr checks <PR> --watchgh pr view <PR> --json mergeStateStatus,reviewDecisionIf monitoring cannot start, include the failure in QA status and proceed with one-shot PR report data.
Template:
.claude/skills/quality-management-gh/findings-report.md.j2Recommended flow:
Suggested commands:
sc-compose render --root .claude/skills/quality-management-gh --file findings-report.md.j2 --var-file <vars.json> | gh pr review <PR> --request-changes --body-file -sc-compose render --root .claude/skills/quality-management-gh --file findings-report.md.j2 --var-file <vars.json> | gh pr comment <PR> --body-file -Fallback when render fails:
<vars.json> must be a flat JSON map of strings for sc-compose.
Use raw JSON strings for array-valued machine-status fields, for example:
blocking_ids_json: "[\"QA-001\"]"Use numeric strings for count fields so the templates can render them as JSON numbers without quotes.
Template:
.claude/skills/quality-management-gh/quality-report.md.j2Recommended flow:
Suggested command:
sc-compose render --root .claude/skills/quality-management-gh --file quality-report.md.j2 --var-file <vars.json> | gh pr review <PR> --approve --body-file -Use the final template only for PASS closeout.
FAIL and should use
--request-changes.PASS closeout with residual risk and readiness and should
use --approve.For each task:
No silent processing.
Team-lead drives plan hardening after the current plan state already exists in repo docs.
Repair ATM teammate coordination after same-session compaction or resume when atm-dev still exists on disk and the saved leadSessionId still matches the current SESSION_ID, but named-teammate ATM reachability is broken.
Session initialization for the team-lead identity. Confirms identity and detects whether a full team restore is needed. Only run when ATM_IDENTITY=team-lead.
Run or inspect the Phase Z smoke harness for atm-core. Use when implementing or operating `just smoke`, `just smoke fast`, or `just smoke thorough`, when rendering `reports/smoke/*`, when checking the frozen Phase Z row map, or when triaging smoke findings against retained logs and report artifacts.
Create, manage, scan, update, and clean up git worktrees for parallel development with protected branch safeguards. Use when working on multiple branches simultaneously, isolating experiments, updating protected branches (main/develop), or when user mentions "worktree", "parallel branches", "feature isolation", "branch cleanup", "worktree status", or "update main/develop".
Orchestrate atm-core sprint work where team-lead coordinates, arch-ctm is the sole developer, and quality-mgr enforces the QA gate.