qa-sweep
Full-cycle QA orchestrator for Harnessy-compatible repositories: discovers feature surfaces, uses Playwright/browser walkthroughs when available, maps scenario gaps, updates regression artifacts, runs drift/validation, and reports coverage.
- License 许可
- AGPL-3.0
- 最近更新
- 2026-08-15
- Stars
- ★ 30
- Forks
- 7
01 前言 Front Matter
- name
- qa-sweep
- description
- Full-cycle QA orchestrator for Harnessy-compatible repositories: discovers feature surfaces, uses Playwright/browser walkthroughs when available, maps scenario gaps, updates regression artifacts, runs drift/validation, and reports coverage.
- allowed-tools
- Read, Write, Grep, Glob, Bash, ApplyPatch
- argument-hint
- [--all] [--apps <app,...>] [--features <slug,...>] [--phase discover|walk|map|codegen|execute|report] [--dry-run] [--skip-walk] [--env local|staging|production]
- disable-model-invocation
- false
02 资源文件 2
- 参考文档commands/qa-sweep.md3.7 KB
- 参考文档manifest.yaml891 B
03 SKILL.md 正文
QA Sweep
Purpose
Run a complete QA coverage cycle in any repository that follows the Harnessy QA profile contract. The sweep coordinates deterministic runtime checks with model-assisted discovery and browser inspection:
- discover app routes, APIs, actions, and existing regression coverage
- walk browser surfaces with Playwright when UI behavior or selectors matter
- map positive, negative, unauthorized, boundary, destructive, and persistence scenarios
- update regression specs and tests using codegen skills where appropriate
- execute or plan tests through repo-local commands
- report coverage gaps, failures, skips, and follow-up work
Template paths are resolved from ${AGENTS_SKILLS_ROOT}/qa-sweep/.
Required Inputs
- A canonical QA profile:
.jarvis/context/profiles/qa.json. Legacy.harnessy/qa-profile.json,.flow/qa-profile.json, andqa/qa-profile.jsonpaths remain supported as fallbacks. - Regression specs and test roots declared by that profile.
- Optional delivery profile metadata from
.flow/delivery-profile.jsonfor roles, routes, fixtures, helpers, selector inspection scripts, seeded account flows, and result sinks.
Steps
- Follow
${AGENTS_SKILLS_ROOT}/qa-sweep/commands/qa-sweep.md. - Run
qa ids,qa tests, andqa driftbefore changing files. - Discover source surfaces from the repo's actual framework and profile paths: route files, API handlers, server actions/controllers, middleware/guards, schemas, database migrations/policies, and shared workflow modules.
- Use
/browser-qaor repo-local Playwright helpers for real browser walkthroughs before writing browser assertions when selectors, redirects, auth state, or persisted UI state are uncertain. - Map scenarios with explicit roles and scenario types. Prefer container-backed
execution plans through Testcontainers or Docker Compose when DB/API behavior
matters. Browser scenarios that
verify a persisted mutation or workflow transition must include a
DB Assert:or explain why persistence cannot be checked. - Use
/browser-integration-codegenand/api-integration-codegenfor test scaffolding. Preserve canonical scenario IDs. - Run
/test-quality-validatorafter generating or editing tests. - Finish with
qa driftand, when the target repo provides result-sink commands, run the repo-local plan/execute/sync commands documented by that repo.
Outputs
.qa-sweep/<timestamp>/discover-*.md.qa-sweep/<timestamp>/walk-*.mdwhen browser walkthroughs run.qa-sweep/<timestamp>/map-*.md.qa-sweep/<timestamp>/report.md- optional updates to regression specs, test files, feature catalog, and run results
Guardrails
- Keep repo-specific auth, seed, sheet, dashboard, and CI behavior in the target repo. This skill coordinates those commands but does not invent them.
- Do not guess selectors from source when browser behavior can be walked.
- Do not design mock-first API or persistence tests when a container-backed integration test is practical.
- Do not mark scenarios as implemented unless matching tests exist or are added in the same change.
- Gate destructive flows behind explicit user intent or a repo-local destructive flag.
- Never run destructive flows against production.
- Preserve existing scenario IDs. Add new IDs only for genuinely new scenarios.
04 同仓库更多 Skills
wiki-research
Autonomous research orchestrator for Jarvis Wiki domains. Spawns a Claude agent with web tools to find new sources, drops them into raw/, runs the compile pipeline, and emits autoresearch traces for the autoflow ratchet.
tmux-agent-launcher
Launch Claude, OpenCode, or Codex in a named tmux session from the command line or agent workflows.
test-quality-validator
Validate generated or hand-written tests for coverage completeness, correctness, and false-green risks using the canonical QA runtime, regression artifacts, and optional delivery-profile rules.
tech-spec
Generate production-ready technical specifications from product specs.
tech-spec-review
Seven-lens engineering review for technical_spec.md files, including an explicit simplicity and architectural fitness gate.
spec-to-regression
Generate browser and API regression scenarios from approved product and technical specs using the Harnessy delivery profile and regression artifact contract.