qa

GitHub

执行对抗性验证,主动寻找功能实现中的缺陷。涵盖意图理解、链路追踪、正常路径测试及边界/错误/并发等破坏性测试,并检查测试覆盖率,最终输出评估报告。

.agents/skills/qa/SKILL.md kdlbs/kandev

Trigger Scenarios

用户明确要求对抗性验证 需要 actionable PR/CI 发现时

Install

npx skills add kdlbs/kandev --skill qa -g -y
More Options

Non-standard path

npx skills add https://github.com/kdlbs/kandev/tree/main/.agents/skills/qa -g -y

Use without installing

npx skills use kdlbs/kandev@qa

指定 Agent (Claude Code)

npx skills add kdlbs/kandev --skill qa -a claude-code -g -y

安装 repo 全部 skill

npx skills add kdlbs/kandev --all -g -y

预览 repo 内 skill

npx skills add kdlbs/kandev --list

SKILL.md

Frontmatter
{
    "name": "qa",
    "description": "Verify a feature works after implementation. Actively try to break it — edge cases, error paths, integration wiring, and real usage flows."
}

QA

Planner Entry

Run /qa only when the user explicitly requests adversarial validation or an actionable PR/CI finding needs it. Do not add QA as a pre-PR quality gate: task-defined tests and the two PR AI reviewers are the default evidence.

Verify that a feature works as intended after implementation. Assume bugs exist and hunt for them.

Mindset: you are not confirming it works — you are discovering where it breaks.

Available skills

  • /tdd — Use when unit or integration coverage is missing.
  • /e2e — Use when a user-facing flow lacks browser coverage.

Before starting: create the pipeline

Create these tasks immediately (use your task/todo tracking tool if available):

  1. Understand the intent — Read task/PR/commits to understand what was built
  2. Trace the wiring — Verify the feature is actually connected end-to-end
  3. Test the happy path — Run the feature as a user would
  4. Try to break it — Boundary values, error paths, concurrency, auth
  5. Verify test coverage — Check for missing tests and report gaps
  6. Report — Summarize findings with verdict

Mark each task in_progress when you begin it and completed when you finish it.


Phase 1: Understand the intent

Mark task 1 as in_progress.

Read the task description, PR, or recent commits to understand what was built and what it should do. Identify:

  • The expected behavior (happy path)
  • System boundaries (user input, API endpoints, external data)
  • Integration points (what calls what, data flow end-to-end)

Mark task 1 as completed.


Phase 2: Trace the wiring

Mark task 2 as in_progress.

Before testing behavior, verify the feature is actually connected:

  • Exports are imported and used (not just defined)
  • API routes have consumers (frontend calls them, or tests exercise them)
  • Data flows end-to-end: input -> handler -> storage -> response -> display
  • New config/env vars are documented and have defaults

If something is orphaned or unwired, stop and report it — no point testing disconnected code.

Mark task 2 as completed.


Phase 3: Test the happy path

Mark task 3 as in_progress.

Run the feature as a user would. For backend changes, call the API. For frontend changes, trace the UI flow. For both, follow the full path:

  • Does the basic use case work?
  • Does the response/output match expectations?
  • Is the data persisted correctly?

Mark task 3 as completed.


Phase 4: Try to break it

Mark task 4 as in_progress.

Systematically test these categories (skip what doesn't apply):

Boundary values:

  • Empty input, nil/null, zero, negative numbers, max values
  • Empty arrays/maps, single element, very large collections
  • Strings: empty, whitespace-only, special characters, very long

Error paths:

  • What happens when dependencies fail (DB down, API timeout, invalid response)?
  • Are errors surfaced clearly or silently swallowed?
  • Does the system recover or get stuck in a bad state?

Concurrency:

  • What happens with simultaneous requests to the same resource?
  • Race conditions: create/update/delete at the same time
  • Does it handle duplicate submissions?

Authorization:

  • Can the feature be accessed without proper auth?
  • Does it respect permission boundaries?

Mark task 4 as completed.


Phase 5: Verify test coverage

Mark task 5 as in_progress.

Check that the implementation has tests covering the behaviors you just verified:

  • Are the happy path and key error paths tested?
  • Are edge cases from Phase 4 covered?
  • Are tests at the right level: unit for pure logic, integration for boundaries, E2E for critical browser flows?
  • Do tests assert behavior/state/output rather than implementation details or mock behavior?
  • If tests are missing, report the exact behavior and recommended test level so add the focused test in the same conversation.
  • Avoid snapshot tests unless the snapshot change will be deliberately reviewed.

Mark task 5 as completed.


Phase 6: Report

Mark task 6 as in_progress.

Summarize what was tested and what was found:

Verified working:

  • List of behaviors confirmed working

Issues found:

  • file:line - description, how to reproduce, severity (blocker/suggestion)

Missing test coverage:

  • Behaviors that work but have no automated test

Verdict: Feature complete / Has issues — fix before merge

Mark task 6 as completed.

Version History

  • 1578843 Current 2026-08-16 08:48

    Planner Entry 从默认执行 QA 改为仅在复杂场景或显式请求时运行;可用技能描述从 'Use when' 调整为 'Recommend for implementer'。

  • b4239d8 2026-07-24 17:32

Same Skill Collection

.agents/skills/acp-debug/SKILL.md
.agents/skills/add-integration/SKILL.md
.agents/skills/clean-branches/SKILL.md
.agents/skills/code-review/SKILL.md
.agents/skills/commit/SKILL.md
.agents/skills/context-engineering/SKILL.md
.agents/skills/create-kandev-plugin/SKILL.md
.agents/skills/debug/SKILL.md
.agents/skills/docs-maintainer/SKILL.md
.agents/skills/e2e/SKILL.md
.agents/skills/fix/SKILL.md
.agents/skills/harness-improvement/SKILL.md
.agents/skills/interview-me/SKILL.md
.agents/skills/plan/SKILL.md
.agents/skills/planner-orchestration/SKILL.md
.agents/skills/playwright-cli/SKILL.md
.agents/skills/pr-fixup/SKILL.md
.agents/skills/pr/SKILL.md
.agents/skills/product-demo-seeding/SKILL.md
.agents/skills/product-video-capture/SKILL.md
.agents/skills/push/SKILL.md
.agents/skills/release/SKILL.md
.agents/skills/runtime-feature-flags/SKILL.md
.agents/skills/simplify/SKILL.md
.agents/skills/spec-driven-development/SKILL.md
.agents/skills/spec/SKILL.md
.agents/skills/tdd/SKILL.md
.agents/skills/using-agent-skills/SKILL.md
.agents/skills/verify/SKILL.md
.agents/skills/mobile-parity/SKILL.md
.agents/skills/record/SKILL.md

Metadata

Files
0
Version
1578843
Hash
afe2c275
Indexed
2026-07-24 17:32

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-16 21:34
浙ICP备14020137号-1 $mapa de visitantes$