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 职业分类
Build a local, self-contained HTML A/B comparison viewer for two or more generated HTML variants (e.g. different template revisions, different data sets, before/after fixes), so a human can pick between panes side-by-side without any external hosting.
Generate a sprint status report for the current phase. Default is --table.
Generate and triage adversarial templates, var-files, and rendering inputs against sc-compose by coordinating bounded background agents, differential and metamorphic checks, minimization, and regression-test promotion. Use when trying to break a rendering subsystem, validating a risky change, hunting parser/validator/rendering edge cases, or turning a confirmed fuzz failure into a unit or CLI test.
Team-lead drives plan hardening after the current plan state already exists in repo docs.
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.
Repair Claude teammate routing after same-session compaction or resume when sc-compose still exists on disk and the saved leadSessionId still matches the current SESSION_ID, but ATM or teammate reachability is broken.
| 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": "comp",
"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.
Standard GitHub CLI (preferred, authoritative):
gh run list --limit 1 --workflow <workflow> --json for workflow statusgh run watch --exit-status <run-id> for run monitoringgh pr checks <PR> --watch for check suite monitoringgh pr view <PR> --json mergeStateStatus,reviewDecision,statusCheckRollup
for one-shot structured statusUse the standard gh pr / gh run commands directly; no custom wrapper is
required.
If 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.