بنقرة واحدة
qa-discover
Discover and author NL test specifications through app scanning, doc import, or guided conversation
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Discover and author NL test specifications through app scanning, doc import, or guided conversation
التثبيت باستخدام 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:discover |
| description | Discover and author NL test specifications through app scanning, doc import, or guided conversation |
| argument-hint | [--scan | --import <path> | <area-name> for interactive discovery] |
| user-invocable | true |
Build NL test specs by scanning the live app, importing from existing docs, or guided conversation.
$ARGUMENTS
Parse input to determine discovery mode:
| Input Pattern | Mode | Action |
|---|---|---|
--scan | Sitemap Scan | Launch browser, explore app, build feature map |
--import <path> | Doc Import | Extract specs from existing markdown/docs |
<area-name> | Interactive | Guide user through spec creation for an area |
| Empty | Auto-detect | Check for sitemap, suggest next step |
Read sentinel.config.yaml and extract app.base_url, specs.nl_dir, specs.seed, and auth settings. If no config exists, tell the user to run qa:setup first and stop.
| Invocation | Mode | Detail |
|---|---|---|
--scan | Sitemap scan | Load references/modes/scan.md |
--import <path> | Import from docs | Load references/modes/import.md |
<area-name> | Interactive discovery | Load references/modes/interactive.md |
Always load @qa references/spec-format.md and write NL specs via @qa templates/spec-template.md
(and seed template when applicable). Priority tiers P0–P3 and persona tagging rules are defined
in the mode refs and spec-format — do not invent a different priority scheme.
If $ARGUMENTS is empty:
specs/_sitemap.md existsIf sitemap exists:
Read the sitemap and show discovered areas. Use AskUserQuestion:
"Sitemap found with these areas: [list areas]. Which area would you like to discover specs for? Or type '--scan' to re-scan the app."
Then proceed with interactive discovery for the chosen area.
If no sitemap:
"No sitemap found. Would you like to scan the app first? Run with --scan to explore the app and build a feature map, or provide an area name to start interactive discovery directly."
Every generated scenario must have:
Every spec needs a persona field. This helps the Planner understand who is doing the action and what prior state to assume:
new-user — first-time setup, no existing datapower-user — heavy usage, complex data, advanced featuresreturning-user — resuming work, existing data presentWhen in doubt, ask the user rather than guess. A spec based on real knowledge is worth more than one filled with assumptions.
Discover depends on sentinel.config.yaml produced by setup. If config is missing, direct user to run /qa:setup first. Config provides app.base_url, specs.nl_dir, specs.seed, and auth settings.
/qa:auditDiscover produces NL specs. Audit evaluates them for drift against the app. When audit finds gaps, it recommends discover to author new specs.
Discover's --scan mode uses Chrome DevTools MCP (or agent-browser) to explore the app, take snapshots, and build the feature map.
Discover's output (NL specs) feeds directly into Playwright's Planner → Generator pipeline. Specs are the contract between discover (authoring) and Playwright (execution).