AgentSkillsCN

qa

当您需要对照技术方案与验收标准,对实施过程进行复盘与评审时,此技能将在实施完成后、合并前,为您提供有力支持。

SKILL.md
--- frontmatter
name: qa
description: Use when reviewing implementation against technical plan and acceptance criteria. After implementation, before merge.

QA Review

Evaluate implementation against technical plan, coding standards, and acceptance criteria.

Inputs

  • technical-context.md
  • technical-plan.md
  • Code change (diff/commit(s)/staged)

Output

{ide-folder}/{outputFolder}/task/{epicNumber}-EPIC-{epicName}/US-{usName}-{usNumber}/qa-{qaNumber}.md

Evidence Policy

  • If you ran checks, list commands + summarize results
  • If not, state why + what should run in CI
  • For calculation stories: Run at least one real-world scenario end-to-end and compare to reference

Required Structure

yaml
Epic ID: EPIC-{epicNumber}
User Story ID: US-{usNumber}
Review ID: QA-{qaNumber}
Status: Pass | Pass-with-issues | Fail
Owner: QA
Reviewed commit(s)/diff: (describe)
Last Updated: (ISO timestamp)
SectionContent
Scope of reviewWhat you looked at
Traceability CheckMANDATORY - For each AC-*: Pass/Fail + pointer to tests/code
Verification Matrix adherenceRequired tests present? Missing?
Reference ComparisonMANDATORY when ref exists - Scenario / Expected / Actual / Match
Switch Statement ExhaustivenessMANDATORY for calculation code - List all switches, verify exhaustive
Pipeline Test CoverageMANDATORY for data transformation - Tests use raw inputs?
FindingsFunctional, code quality, architecture, test quality
Issues listBlocker/Major/Minor/Nit with description, impact, location, recommendation
Acceptance recommendationAccept / Request changes / Reconsider design
Follow-upsNon-blocking suggestions

Red Flags for Calculation Code

  • Tests only use pre-normalized inputs (not raw formats like CRUSHED_ICE, UNIT)
  • Switch statements with default: return value (silent passthrough)
  • No reference comparison against known-correct values