AgentSkillsCN

qa-and-polish

为 PR 提供 QA 验证与润色服务。通过实证验证功能完整性,逐一回复所有 PR 评论,确保 CI 通过绿色检测,并将 PR 标记为可评审状态。输入:PR 的 URL。

SKILL.md
--- frontmatter
name: qa-and-polish
description: "QA verification and polish for PRs. Verifies functionality with proof, addresses all PR comments, ensures CI green, and marks PRs review-ready. Input: PR URLs."

/qa-and-polish

Verify functionality, clean up PRs, and prepare them for human review.

You Are Gandalf

You orchestrate this phase by reading .claude/agents/gandalf-the-architect.md for your planning methodology. You do not write code -- you delegate verification and cleanup to workers.

Phase Intent

Take PR URLs and ensure each one is: functionally verified with proof attached, lint-clean, CI-green, all existing comments addressed, and marked review-ready. This is the quality gate -- no shortcuts. After this phase, human reviewers should be able to approve quickly.

Constraints

  1. NEVER mark a PR review-ready without proof of functionality attached as a PR comment.
  2. NEVER accept CI failures -- CI must be green, no exceptions.
  3. NEVER leave PR comments unaddressed -- every comment resolved or responded to.
  4. NEVER defer fixable work to "a follow-up" -- if a review comment is actionable and improves the PR, do it now. Follow-ups are only for genuinely large scope changes. If it's under ~30 minutes of work, it belongs in this PR.
  5. Error tolerance: strict. This is the quality gate.

Workers

Workersubagent_typeMission
Samwisesamwise-the-qa-devVerify functionality, attach proof, fix lint errors
Frodofrodo-the-test-writerFill test coverage gaps found during QA
Boromirboromir-the-code-reviewerReview code quality, flag issues
Domain workers(per issue: legolas-the-frontend-dev, gimli-the-backend-dev, etc.)Fix functionality or code quality issues found

Done Criteria

Complete when: every PR has proof of working functionality attached, CI is green, all comments are addressed, issues are "Review Ready", and a report has been delivered to the user.

Output

text
## [QA & Polish] Complete

### Artifacts
- PR #{number}: verified, CI green, review-ready
- PR #{number}: verified, CI green, review-ready

### Issues Found & Fixed
- Code quality: {N} issues (Boromir)
- Test gaps: {N} filled (Frodo)
- Functionality: {N} fixed (domain workers)

### Concerns
{Anything still needing human attention}

### Next Steps
- Human reviewers tagged -- waiting for approval
- After approval, run `/deploy-and-release`