一键导入
qa
QA skills for testing workflows — visual inspection tools and NL spec authoring for Playwright Test Agents
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
QA skills for testing workflows — visual inspection tools and NL spec authoring for Playwright Test Agents
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Backlog-scale orchestration on top of /workflow — drives PM items through refine → plan → implement → review → local-merge via role-specialized sub-agents dispatched in parallel waves, each item isolated in its own git worktree. Bare /swarm summarizes state; /swarm <goal> runs the orchestrator; /swarm:setup sets up the charter and .agent-tools/ umbrella; /swarm:continue resumes a paused run.
Capture durable knowledge from any engineering work — debugging solutions, refactors, features, design decisions, reusable patterns — and maintain memory quality so each unit of work compounds the next
Principal workflow entry — resolve portfolio mode (swarm resume/handoff or unit state machine), drive work without inventing path; hard-stop when path is not established
Initialize and maintain planning root (.agent-tools/planning preferred), conventions (tracks, gates, integration), runs ledger scaffold, and shared memory under .agent-tools/memory/ (AGENTS.md memory-link) for the workflow family.
Parent skill for the workflow family — principal session entry is /workflow:continue (also bare /workflow). Horizon mapping, brainstorm, refine, plan, execute, review, audit, compound. Vertical-slice and deliverable-partition modes.
Detect gaps in the canonical skill corpus, propose targeted improvements, validate changes, and present for review. Inventories src/** skill trees; optional run-ledger seeds for process IP gaps.
| name | qa |
| description | QA skills for testing workflows — visual inspection tools and NL spec authoring for Playwright Test Agents |
| user-invocable | true |
Quality assurance workflows: NL spec-driven e2e testing with Playwright Test Agents, and visual inspection tools.
| Command | Purpose |
|---|---|
/qa:setup | Initialize Sentinel + Playwright Test Agents in a project |
/qa:discover | Author NL test specifications through scanning, import, or conversation |
Supporting tools for video frame extraction and visual analysis live under this group.
See the individual sub-skills for full details.
Sentinel is a thin layer over Playwright Test Agents. It provides authoring (discover) and maintenance (audit) capabilities for NL-driven testing. The actual test generation and execution are handled by Playwright's Planner, Generator, and Healer agents.
Current integration is primarily demonstrated with Claude Code as the NL spec author and auditor.
discover (Claude) → Planner (Playwright) → Generator (Playwright) → npx playwright test → audit (Claude)
↓ ↓ ↓ ↓ ↓
NL specs test plan .spec.ts files test results + report drift detection
(specs/*.md) (tests/*.spec.ts) (playwright-report/) (audit report)
Grok can participate in the Sentinel / Playwright Test Agents workflow in two primary ways:
Strengths: Strong reasoning for planning complex flows and producing maintainable, well-structured test code (especially POM patterns).
Limitations / Differences:
--loop=grok in npx playwright init-agents. Most teams use --loop=vscode (or omit the flag) while running Grok as the model.Factory Droid approaches NL-driven testing differently from the dedicated Playwright Planner/Generator/Healer loop. Instead of routing NL specs through Playwright’s specific agents, Factory tends to:
AGENTS.md, persistent project memory (.factory/memories.md), and rules (.factory/rules/) to keep the Test Droid aligned with team standards and verification requirements.Verification-oriented strengths: Factory places heavy emphasis on guardrails, role boundaries, and auditable outcomes. Test Droids can be explicitly instructed to produce evidence, catch regressions, and maintain coverage as part of a broader engineering process.
Workflow differences: You are more likely to give a Test Droid an ongoing responsibility (“Maintain E2E coverage for checkout and report drift”) than to manually step through a Planner → Generator → Healer pipeline. The platform’s multi-agent nature and strong convention enforcement are the primary advantages.
.spec.ts files.spec.ts files when tests failnpx playwright test runs the generated testsplaywright.config.ts)sentinel.config.yaml)NL specs are the contract between Sentinel (authoring) and Playwright (execution). They use YAML frontmatter for metadata and structured markdown that the Planner consumes.
See references/spec-format.md for the full format specification.
Important: Commit NL specs to version control. The audit workflow compares specs against generated tests — if specs aren't retained, audit cannot detect drift.
Tools for inspecting visual artifacts during QA workflows: video frame extraction, screenshot analysis, and visual regression documentation.
Use when: You need to analyze screen recordings, extract frames from videos, or build visual evidence for bug reports.
See tools/SKILL.md for tool documentation.
/qa:setupInitialize Sentinel in a project. Creates directory structure, config file, Playwright config, seed test file, and generated authoring adapters for the selected client(s). Adapter files are boilerplate; project facts live in sentinel.config.yaml.
/qa:discoverAuthor NL specs by scanning the app, importing existing docs, or guided interactive conversation. Outputs structured markdown NL specs ready for Playwright's Planner.
Drift detection (specs vs. generated tests vs. app behavior) is performed by /workflow:audit (qa domain). A dedicated /qa:audit command is referenced in some docs but is not yet implemented as a standalone leaf skill.
audit/domains/qa.md) audits spec completeness and driftreferences/spec-format.md — NL spec format: frontmatter fields, scenario structure, examplesreferences/authoring-adapters.md — Contract for generated Claude/OpenCode adapter files vs. project-specific Sentinel configtemplates/spec-template.md — Blank NL spec with all sections and guidance commentstemplates/sentinel-config-template.md — Full sentinel.config.yaml body with bridge example and per-strategy auth variants (used by qa:setup)templates/playwright-config-template.md — Full playwright.config.ts body plus partitioned-bridge projects variant (used by qa:setup)templates/seed-spec-template.md — Full tests/seed.spec.ts seed fixture body (used by qa:setup)templates/readme-template.md — 12-section content spec for the generated Sentinel README (used by qa:setup)