qa

GitHub

执行代码提交前的端到端QA审查。通过确定变更范围,调度qa-checklist及领域专家代理进行多维检查,并运行静态分析和测试。最终修复阻塞性问题,给出READY或NOT READY verdict及待验证项列表。

.claude/skills/qa/SKILL.md levy-street/world-of-claudecraft

触发场景

代码合并前审查 请求完整的QA质量门禁检查

安装

npx skills add levy-street/world-of-claudecraft --skill qa -g -y
更多选项

非标准路径

npx skills add https://github.com/levy-street/world-of-claudecraft/tree/main/.claude/skills/qa -g -y

不安装直接使用

npx skills use levy-street/world-of-claudecraft@qa

指定 Agent (Claude Code)

npx skills add levy-street/world-of-claudecraft --skill qa -a claude-code -g -y

安装 repo 全部 skill

npx skills add levy-street/world-of-claudecraft --all -g -y

预览 repo 内 skill

npx skills add levy-street/world-of-claudecraft --list

SKILL.md

Frontmatter
{
    "name": "qa",
    "description": "Run the full end-of-contribution QA review over the current change (the qa-checklist gate plus a coverage fan-out and the domain reviewers it names).",
    "user-invocable": true
}

You are running the project's end-of-contribution QA gate. Do this now, before the change is called done.

  1. Scope the review from the diff: git diff --name-only for uncommitted work. For committed work, merge-base against the branch's own base, never main (work is based off the latest release branch and main trails it, so a merge-base against main sweeps the whole release into scope). Fallback chain: the upstream, else the newest origin/release/* branch, else origin/main:

    base=$(git rev-parse --abbrev-ref '@{upstream}' 2>/dev/null) ||
      base=$(git for-each-ref --sort=-creatordate --format='%(refname:short)' \
        'refs/remotes/origin/release/*' | head -1)
    git diff --name-only "$(git merge-base HEAD "${base:-origin/main}")"..HEAD
    

    If the user passed an argument (a feature name, phase, or file list), use it to focus the scope.

  2. Dispatch the qa-checklist agent over that scope. It is the read-only gate: it scales its own depth to the size of the change, checks every repo invariant in play, and ends with an adversarial "what is missing" pass. Let it run; do not duplicate its work inline.

  3. If the change is more than a trivial single-surface edit, also fan out a small coverage pass in parallel: one agent for correctness, one for test coverage, one for dead code, each prompted for COVERAGE (report every gap with confidence and severity), not filtering.

  4. Dispatch the domain reviewer agents that qa-checklist names for the surfaces this diff touches (for example privacy-security-review, migration-safety, database-performance-reviewer for SQL, indexes, query call sites, pool or lock behavior, timeout policy, or stored-data growth, cross-platform-sync, architecture-reviewer, and on a release branch release-malware-audit). Spawn them fresh; never have the implementer review its own work.

  5. Run the deterministic floor yourself so the verdict rests on green checks, not only agent reasoning: npm run ci:changed (Biome on the changed files), npx tsc --noEmit, and npx vitest run tests/architecture.test.ts tests/localization_fixes.test.ts. Report any red.

  6. Adversarially confirm each consequential finding before acting on it (about half of raw findings do not survive a second look). Then fix every BLOCKING and SHOULD-FIX finding, in focused commits. Report what you fixed and what remains as VERIFY (needs a run or E2E) or NICE-TO-HAVE.

End with a one-line verdict: READY or NOT READY, and the list of any VERIFY items the maintainer still has to run by hand (for example npm run perf:tour, npm run test:browser, or the mobile E2E scripts). READY is advisory judgment; npm run gate is the deterministic pre-merge contract (release tier on release/**), so if it has not run green this session, list it as the first VERIFY item.

版本历史

  • 2edc3ac 当前 2026-07-19 18:52

同 Skill 集合

.agents/skills/woc-codex-audit/SKILL.md
.agents/skills/woc-extract-and-test/SKILL.md
.agents/skills/woc-feature-plan/SKILL.md
.agents/skills/woc-file-issue/SKILL.md
.agents/skills/woc-image-to-glb/SKILL.md
.agents/skills/woc-qa/SKILL.md
.agents/skills/woc-release-malware-audit/SKILL.md
.agents/skills/woc-release-merge-audit/SKILL.md
.agents/skills/woc-review-pr/SKILL.md
.claude/skills/feature-plan/SKILL.md
.claude/skills/file-issue/SKILL.md
.claude/skills/image-to-glb/SKILL.md
.claude/skills/pr-screenshots/SKILL.md
.claude/skills/extract-and-test/SKILL.md
.claude/skills/i18n-locale-fill/SKILL.md
.claude/skills/release-malware-audit/SKILL.md
.claude/skills/review-pr/SKILL.md

元信息

文件数
0
版本
ae715fa
Hash
e3e23815
收录时间
2026-07-19 18:52

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-01 22:49
浙ICP备14020137号-1 $访客地图$