qaa-agent 1.6.2 → 1.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/commands/create-test.md +164 -164
- package/.claude/commands/qa-audit.md +37 -37
- package/.claude/commands/qa-blueprint.md +54 -54
- package/.claude/commands/qa-fix.md +36 -36
- package/.claude/commands/qa-from-ticket.md +24 -24
- package/.claude/commands/qa-gap.md +20 -20
- package/.claude/commands/qa-map.md +47 -47
- package/.claude/commands/qa-pom.md +36 -36
- package/.claude/commands/qa-pr.md +23 -23
- package/.claude/commands/qa-pyramid.md +37 -37
- package/.claude/commands/qa-report.md +38 -38
- package/.claude/commands/qa-research.md +33 -33
- package/.claude/commands/qa-start.md +22 -22
- package/.claude/commands/qa-testid.md +19 -19
- package/.claude/commands/qa-validate.md +42 -42
- package/.claude/commands/update-test.md +58 -58
- package/.claude/settings.json +20 -20
- package/.claude/skills/qa-bug-detective/SKILL.md +122 -122
- package/.claude/skills/qa-learner/SKILL.md +150 -150
- package/.claude/skills/qa-repo-analyzer/SKILL.md +88 -88
- package/.claude/skills/qa-self-validator/SKILL.md +109 -109
- package/.claude/skills/qa-template-engine/SKILL.md +113 -113
- package/.claude/skills/qa-testid-injector/SKILL.md +93 -93
- package/.claude/skills/qa-workflow-documenter/SKILL.md +87 -87
- package/.mcp.json +8 -8
- package/CHANGELOG.md +71 -71
- package/CLAUDE.md +553 -553
- package/agents/qa-pipeline-orchestrator.md +1378 -1378
- package/agents/qaa-analyzer.md +524 -524
- package/agents/qaa-bug-detective.md +446 -446
- package/agents/qaa-codebase-mapper.md +935 -935
- package/agents/qaa-e2e-runner.md +415 -415
- package/agents/qaa-executor.md +651 -651
- package/agents/qaa-planner.md +390 -390
- package/agents/qaa-project-researcher.md +319 -319
- package/agents/qaa-scanner.md +424 -424
- package/agents/qaa-testid-injector.md +585 -585
- package/agents/qaa-validator.md +452 -452
- package/bin/install.cjs +198 -198
- package/bin/lib/commands.cjs +709 -709
- package/bin/lib/config.cjs +307 -307
- package/bin/lib/core.cjs +497 -497
- package/bin/lib/frontmatter.cjs +299 -299
- package/bin/lib/init.cjs +989 -989
- package/bin/lib/milestone.cjs +241 -241
- package/bin/lib/model-profiles.cjs +60 -60
- package/bin/lib/phase.cjs +911 -911
- package/bin/lib/roadmap.cjs +306 -306
- package/bin/lib/state.cjs +748 -748
- package/bin/lib/template.cjs +222 -222
- package/bin/lib/verify.cjs +842 -842
- package/bin/qaa-tools.cjs +607 -607
- package/docs/COMMANDS.md +341 -341
- package/docs/DEMO.md +182 -182
- package/docs/TESTING.md +156 -156
- package/package.json +41 -41
- package/templates/failure-classification.md +391 -391
- package/templates/gap-analysis.md +409 -409
- package/templates/pr-template.md +48 -48
- package/templates/qa-analysis.md +381 -381
- package/templates/qa-audit-report.md +465 -465
- package/templates/qa-repo-blueprint.md +636 -636
- package/templates/scan-manifest.md +312 -312
- package/templates/test-inventory.md +582 -582
- package/templates/testid-audit-report.md +354 -354
- package/templates/validation-report.md +243 -243
- package/workflows/qa-analyze.md +296 -296
- package/workflows/qa-from-ticket.md +536 -536
- package/workflows/qa-gap.md +303 -303
- package/workflows/qa-pr.md +389 -389
- package/workflows/qa-start.md +1168 -1168
- package/workflows/qa-testid.md +356 -356
- package/workflows/qa-validate.md +295 -295
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
# QA Gap Analysis
|
|
2
|
-
|
|
3
|
-
Compare a developer repository against its QA repository to identify coverage gaps. Requires both repo paths. Produces a detailed gap report showing missing tests, broken tests, and quality assessment.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
/qa-gap --dev-repo <path> --qa-repo <path>
|
|
8
|
-
|
|
9
|
-
- --dev-repo: path to the developer repository (required)
|
|
10
|
-
- --qa-repo: path to the existing QA repository (required)
|
|
11
|
-
|
|
12
|
-
## Instructions
|
|
13
|
-
|
|
14
|
-
1. Read `CLAUDE.md` -- testing pyramid, test spec rules, quality gates.
|
|
15
|
-
2. Execute the workflow:
|
|
16
|
-
|
|
17
|
-
Follow the workflow defined in `@workflows/qa-gap.md` end-to-end.
|
|
18
|
-
Preserve all workflow gates (both-repo scanning, gap metrics).
|
|
19
|
-
|
|
20
|
-
$ARGUMENTS
|
|
1
|
+
# QA Gap Analysis
|
|
2
|
+
|
|
3
|
+
Compare a developer repository against its QA repository to identify coverage gaps. Requires both repo paths. Produces a detailed gap report showing missing tests, broken tests, and quality assessment.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
/qa-gap --dev-repo <path> --qa-repo <path>
|
|
8
|
+
|
|
9
|
+
- --dev-repo: path to the developer repository (required)
|
|
10
|
+
- --qa-repo: path to the existing QA repository (required)
|
|
11
|
+
|
|
12
|
+
## Instructions
|
|
13
|
+
|
|
14
|
+
1. Read `CLAUDE.md` -- testing pyramid, test spec rules, quality gates.
|
|
15
|
+
2. Execute the workflow:
|
|
16
|
+
|
|
17
|
+
Follow the workflow defined in `@workflows/qa-gap.md` end-to-end.
|
|
18
|
+
Preserve all workflow gates (both-repo scanning, gap metrics).
|
|
19
|
+
|
|
20
|
+
$ARGUMENTS
|
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
# QA Codebase Map & Analysis
|
|
2
|
-
|
|
3
|
-
Deep-scan a codebase for QA-relevant information and produce a complete analysis. Runs codebase mapping (4 parallel agents) followed by repository analysis. One command to fully understand a codebase before writing tests.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
/qa-map [--focus <area>] [--dev-repo <path>] [--qa-repo <path>]
|
|
8
|
-
|
|
9
|
-
- No arguments: runs full map + analysis on current directory
|
|
10
|
-
- --focus: run a single map area only, skip analysis (testability, risk, patterns, existing-tests)
|
|
11
|
-
- --dev-repo: explicit path to developer repository
|
|
12
|
-
- --qa-repo: path to existing QA repository (produces gap analysis instead of blueprint)
|
|
13
|
-
|
|
14
|
-
## What It Produces
|
|
15
|
-
|
|
16
|
-
### Stage 1: Codebase Map (4 parallel agents)
|
|
17
|
-
- TESTABILITY.md + TEST_SURFACE.md — what's testable, entry points, mocking needs
|
|
18
|
-
- RISK_MAP.md + CRITICAL_PATHS.md — business-critical paths, error handling gaps
|
|
19
|
-
- CODE_PATTERNS.md + API_CONTRACTS.md — naming conventions, API shapes, auth patterns
|
|
20
|
-
- TEST_ASSESSMENT.md + COVERAGE_GAPS.md — existing test quality, what's missing
|
|
21
|
-
|
|
22
|
-
### Stage 2: Repository Analysis
|
|
23
|
-
- SCAN_MANIFEST.md — file tree, framework detection, testable surfaces
|
|
24
|
-
- QA_ANALYSIS.md — architecture overview, risk assessment, top 10 unit targets, testing pyramid
|
|
25
|
-
- TEST_INVENTORY.md — every test case with ID, target, inputs, expected outcome, priority
|
|
26
|
-
- QA_REPO_BLUEPRINT.md (no QA repo) or GAP_ANALYSIS.md (QA repo provided)
|
|
27
|
-
|
|
28
|
-
## Instructions
|
|
29
|
-
|
|
30
|
-
1. Read `CLAUDE.md` — QA standards.
|
|
31
|
-
2. Create output directory: `.qa-output/codebase/`
|
|
32
|
-
3. If no --focus flag, spawn 4 agents in parallel (one per focus area):
|
|
33
|
-
|
|
34
|
-
For each focus area, spawn:
|
|
35
|
-
|
|
36
|
-
Agent(
|
|
37
|
-
prompt="Analyze this codebase for QA purposes. Focus area: {focus}. Write documents to .qa-output/codebase/. Follow the process in your agent definition.",
|
|
38
|
-
subagent_type="general-purpose",
|
|
39
|
-
execution_context="@agents/qaa-codebase-mapper.md"
|
|
40
|
-
)
|
|
41
|
-
|
|
42
|
-
4. If --focus flag, spawn only that one area and stop (skip analysis stage).
|
|
43
|
-
5. When all map agents complete, print summary of codebase documents produced.
|
|
44
|
-
6. Run the analysis stage — execute the workflow defined in `@workflows/qa-analyze.md` end-to-end. Pass --dev-repo and --qa-repo arguments if provided. Preserve all workflow gates (scan verification, artifact checks).
|
|
45
|
-
7. Print final summary: all documents produced across both stages.
|
|
46
|
-
|
|
47
|
-
$ARGUMENTS
|
|
1
|
+
# QA Codebase Map & Analysis
|
|
2
|
+
|
|
3
|
+
Deep-scan a codebase for QA-relevant information and produce a complete analysis. Runs codebase mapping (4 parallel agents) followed by repository analysis. One command to fully understand a codebase before writing tests.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
/qa-map [--focus <area>] [--dev-repo <path>] [--qa-repo <path>]
|
|
8
|
+
|
|
9
|
+
- No arguments: runs full map + analysis on current directory
|
|
10
|
+
- --focus: run a single map area only, skip analysis (testability, risk, patterns, existing-tests)
|
|
11
|
+
- --dev-repo: explicit path to developer repository
|
|
12
|
+
- --qa-repo: path to existing QA repository (produces gap analysis instead of blueprint)
|
|
13
|
+
|
|
14
|
+
## What It Produces
|
|
15
|
+
|
|
16
|
+
### Stage 1: Codebase Map (4 parallel agents)
|
|
17
|
+
- TESTABILITY.md + TEST_SURFACE.md — what's testable, entry points, mocking needs
|
|
18
|
+
- RISK_MAP.md + CRITICAL_PATHS.md — business-critical paths, error handling gaps
|
|
19
|
+
- CODE_PATTERNS.md + API_CONTRACTS.md — naming conventions, API shapes, auth patterns
|
|
20
|
+
- TEST_ASSESSMENT.md + COVERAGE_GAPS.md — existing test quality, what's missing
|
|
21
|
+
|
|
22
|
+
### Stage 2: Repository Analysis
|
|
23
|
+
- SCAN_MANIFEST.md — file tree, framework detection, testable surfaces
|
|
24
|
+
- QA_ANALYSIS.md — architecture overview, risk assessment, top 10 unit targets, testing pyramid
|
|
25
|
+
- TEST_INVENTORY.md — every test case with ID, target, inputs, expected outcome, priority
|
|
26
|
+
- QA_REPO_BLUEPRINT.md (no QA repo) or GAP_ANALYSIS.md (QA repo provided)
|
|
27
|
+
|
|
28
|
+
## Instructions
|
|
29
|
+
|
|
30
|
+
1. Read `CLAUDE.md` — QA standards.
|
|
31
|
+
2. Create output directory: `.qa-output/codebase/`
|
|
32
|
+
3. If no --focus flag, spawn 4 agents in parallel (one per focus area):
|
|
33
|
+
|
|
34
|
+
For each focus area, spawn:
|
|
35
|
+
|
|
36
|
+
Agent(
|
|
37
|
+
prompt="Analyze this codebase for QA purposes. Focus area: {focus}. Write documents to .qa-output/codebase/. Follow the process in your agent definition.",
|
|
38
|
+
subagent_type="general-purpose",
|
|
39
|
+
execution_context="@agents/qaa-codebase-mapper.md"
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
4. If --focus flag, spawn only that one area and stop (skip analysis stage).
|
|
43
|
+
5. When all map agents complete, print summary of codebase documents produced.
|
|
44
|
+
6. Run the analysis stage — execute the workflow defined in `@workflows/qa-analyze.md` end-to-end. Pass --dev-repo and --qa-repo arguments if provided. Preserve all workflow gates (scan verification, artifact checks).
|
|
45
|
+
7. Print final summary: all documents produced across both stages.
|
|
46
|
+
|
|
47
|
+
$ARGUMENTS
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
# Generate Page Object Models
|
|
2
|
-
|
|
3
|
-
Create or update Page Object Model files following CLAUDE.md POM rules. Checks for existing BasePage before creating one. Generates feature-specific POMs with Tier 1 locators, no assertions, and fluent action chaining.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
/qa-pom <path-to-pages> [--framework <name>]
|
|
8
|
-
|
|
9
|
-
- path-to-pages: directory containing page/view source files or URLs to model
|
|
10
|
-
- --framework: override framework auto-detection (playwright, cypress, selenium)
|
|
11
|
-
|
|
12
|
-
## What It Produces
|
|
13
|
-
|
|
14
|
-
- BasePage file (if not already present)
|
|
15
|
-
- Feature-specific POM files following `[PageName]Page.[ext]` naming convention
|
|
16
|
-
|
|
17
|
-
## Instructions
|
|
18
|
-
|
|
19
|
-
1. Read `CLAUDE.md` -- POM rules, locator tier hierarchy, naming conventions.
|
|
20
|
-
2. Invoke executor agent in POM-only mode:
|
|
21
|
-
|
|
22
|
-
Task(
|
|
23
|
-
prompt="
|
|
24
|
-
<objective>Generate Page Object Models following CLAUDE.md POM rules</objective>
|
|
25
|
-
<execution_context>@agents/qaa-executor.md</execution_context>
|
|
26
|
-
<files_to_read>
|
|
27
|
-
- CLAUDE.md
|
|
28
|
-
</files_to_read>
|
|
29
|
-
<parameters>
|
|
30
|
-
user_input: $ARGUMENTS
|
|
31
|
-
mode: pom-only
|
|
32
|
-
</parameters>
|
|
33
|
-
"
|
|
34
|
-
)
|
|
35
|
-
|
|
36
|
-
$ARGUMENTS
|
|
1
|
+
# Generate Page Object Models
|
|
2
|
+
|
|
3
|
+
Create or update Page Object Model files following CLAUDE.md POM rules. Checks for existing BasePage before creating one. Generates feature-specific POMs with Tier 1 locators, no assertions, and fluent action chaining.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
/qa-pom <path-to-pages> [--framework <name>]
|
|
8
|
+
|
|
9
|
+
- path-to-pages: directory containing page/view source files or URLs to model
|
|
10
|
+
- --framework: override framework auto-detection (playwright, cypress, selenium)
|
|
11
|
+
|
|
12
|
+
## What It Produces
|
|
13
|
+
|
|
14
|
+
- BasePage file (if not already present)
|
|
15
|
+
- Feature-specific POM files following `[PageName]Page.[ext]` naming convention
|
|
16
|
+
|
|
17
|
+
## Instructions
|
|
18
|
+
|
|
19
|
+
1. Read `CLAUDE.md` -- POM rules, locator tier hierarchy, naming conventions.
|
|
20
|
+
2. Invoke executor agent in POM-only mode:
|
|
21
|
+
|
|
22
|
+
Task(
|
|
23
|
+
prompt="
|
|
24
|
+
<objective>Generate Page Object Models following CLAUDE.md POM rules</objective>
|
|
25
|
+
<execution_context>@agents/qaa-executor.md</execution_context>
|
|
26
|
+
<files_to_read>
|
|
27
|
+
- CLAUDE.md
|
|
28
|
+
</files_to_read>
|
|
29
|
+
<parameters>
|
|
30
|
+
user_input: $ARGUMENTS
|
|
31
|
+
mode: pom-only
|
|
32
|
+
</parameters>
|
|
33
|
+
"
|
|
34
|
+
)
|
|
35
|
+
|
|
36
|
+
$ARGUMENTS
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
# Create QA Pull Request
|
|
2
|
-
|
|
3
|
-
Create a draft PR from QA artifacts already on disk. Auto-detects git platform (GitHub, Azure DevOps, GitLab), applies your team's branch naming convention, and creates a draft PR with a summary. Asks for your branch pattern the first time and remembers it.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
/qa-pr [--ticket <id>] [--title <description>] [--scope <type>] [--files <glob>] [--base <branch>]
|
|
8
|
-
|
|
9
|
-
- --ticket: ticket/issue ID for branch name (e.g., PROJ-123)
|
|
10
|
-
- --title: short description for branch and PR title (e.g., "login tests")
|
|
11
|
-
- --scope: limit to file type: unit, api, e2e, all (default: all)
|
|
12
|
-
- --files: explicit file glob to include (e.g., "tests/unit/auth*")
|
|
13
|
-
- --base: target branch for PR (default: auto-detect)
|
|
14
|
-
|
|
15
|
-
## Instructions
|
|
16
|
-
|
|
17
|
-
1. Read `CLAUDE.md` -- git workflow, commit conventions.
|
|
18
|
-
2. Execute the workflow:
|
|
19
|
-
|
|
20
|
-
Follow the workflow defined in `@workflows/qa-pr.md` end-to-end.
|
|
21
|
-
Preserve all workflow gates (platform detection, user confirmation before push, branch convention save).
|
|
22
|
-
|
|
23
|
-
$ARGUMENTS
|
|
1
|
+
# Create QA Pull Request
|
|
2
|
+
|
|
3
|
+
Create a draft PR from QA artifacts already on disk. Auto-detects git platform (GitHub, Azure DevOps, GitLab), applies your team's branch naming convention, and creates a draft PR with a summary. Asks for your branch pattern the first time and remembers it.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
/qa-pr [--ticket <id>] [--title <description>] [--scope <type>] [--files <glob>] [--base <branch>]
|
|
8
|
+
|
|
9
|
+
- --ticket: ticket/issue ID for branch name (e.g., PROJ-123)
|
|
10
|
+
- --title: short description for branch and PR title (e.g., "login tests")
|
|
11
|
+
- --scope: limit to file type: unit, api, e2e, all (default: all)
|
|
12
|
+
- --files: explicit file glob to include (e.g., "tests/unit/auth*")
|
|
13
|
+
- --base: target branch for PR (default: auto-detect)
|
|
14
|
+
|
|
15
|
+
## Instructions
|
|
16
|
+
|
|
17
|
+
1. Read `CLAUDE.md` -- git workflow, commit conventions.
|
|
18
|
+
2. Execute the workflow:
|
|
19
|
+
|
|
20
|
+
Follow the workflow defined in `@workflows/qa-pr.md` end-to-end.
|
|
21
|
+
Preserve all workflow gates (platform detection, user confirmation before push, branch convention save).
|
|
22
|
+
|
|
23
|
+
$ARGUMENTS
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
# Testing Pyramid Analysis
|
|
2
|
-
|
|
3
|
-
Analyze a project's test distribution against the ideal testing pyramid from CLAUDE.md. Compares actual percentages to targets and produces an action plan to reach the recommended distribution.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
/qa-pyramid <path-to-tests> [--dev-repo <path>]
|
|
8
|
-
|
|
9
|
-
- path-to-tests: directory containing test files
|
|
10
|
-
- --dev-repo: path to developer repository (for architecture-aware target adjustment)
|
|
11
|
-
|
|
12
|
-
## What It Produces
|
|
13
|
-
|
|
14
|
-
- PYRAMID_ANALYSIS.md -- current vs target distribution, gap table, prioritized action plan
|
|
15
|
-
|
|
16
|
-
## Instructions
|
|
17
|
-
|
|
18
|
-
1. Read `CLAUDE.md` -- testing pyramid target percentages.
|
|
19
|
-
2. Invoke analyzer agent for pyramid analysis:
|
|
20
|
-
|
|
21
|
-
Task(
|
|
22
|
-
prompt="
|
|
23
|
-
<objective>Produce PYRAMID_ANALYSIS.md comparing actual test distribution to target pyramid</objective>
|
|
24
|
-
<execution_context>@agents/qaa-analyzer.md</execution_context>
|
|
25
|
-
<files_to_read>
|
|
26
|
-
- CLAUDE.md
|
|
27
|
-
</files_to_read>
|
|
28
|
-
<parameters>
|
|
29
|
-
user_input: $ARGUMENTS
|
|
30
|
-
mode: pyramid-analysis
|
|
31
|
-
</parameters>
|
|
32
|
-
"
|
|
33
|
-
)
|
|
34
|
-
|
|
35
|
-
3. Present analysis with action plan to user.
|
|
36
|
-
|
|
37
|
-
$ARGUMENTS
|
|
1
|
+
# Testing Pyramid Analysis
|
|
2
|
+
|
|
3
|
+
Analyze a project's test distribution against the ideal testing pyramid from CLAUDE.md. Compares actual percentages to targets and produces an action plan to reach the recommended distribution.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
/qa-pyramid <path-to-tests> [--dev-repo <path>]
|
|
8
|
+
|
|
9
|
+
- path-to-tests: directory containing test files
|
|
10
|
+
- --dev-repo: path to developer repository (for architecture-aware target adjustment)
|
|
11
|
+
|
|
12
|
+
## What It Produces
|
|
13
|
+
|
|
14
|
+
- PYRAMID_ANALYSIS.md -- current vs target distribution, gap table, prioritized action plan
|
|
15
|
+
|
|
16
|
+
## Instructions
|
|
17
|
+
|
|
18
|
+
1. Read `CLAUDE.md` -- testing pyramid target percentages.
|
|
19
|
+
2. Invoke analyzer agent for pyramid analysis:
|
|
20
|
+
|
|
21
|
+
Task(
|
|
22
|
+
prompt="
|
|
23
|
+
<objective>Produce PYRAMID_ANALYSIS.md comparing actual test distribution to target pyramid</objective>
|
|
24
|
+
<execution_context>@agents/qaa-analyzer.md</execution_context>
|
|
25
|
+
<files_to_read>
|
|
26
|
+
- CLAUDE.md
|
|
27
|
+
</files_to_read>
|
|
28
|
+
<parameters>
|
|
29
|
+
user_input: $ARGUMENTS
|
|
30
|
+
mode: pyramid-analysis
|
|
31
|
+
</parameters>
|
|
32
|
+
"
|
|
33
|
+
)
|
|
34
|
+
|
|
35
|
+
3. Present analysis with action plan to user.
|
|
36
|
+
|
|
37
|
+
$ARGUMENTS
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
# QA Status Report
|
|
2
|
-
|
|
3
|
-
Generate a summary report of current QA status for a project. Adapts detail level to audience: team (file-level details), management (high-level metrics), or client (coverage summary).
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
/qa-report <path-to-tests> [--dev-repo <path>] [--audience <team|management|client>]
|
|
8
|
-
|
|
9
|
-
- path-to-tests: directory containing test files
|
|
10
|
-
- --dev-repo: path to developer repository (for coverage calculation)
|
|
11
|
-
- --audience: report detail level (default: team)
|
|
12
|
-
|
|
13
|
-
## What It Produces
|
|
14
|
-
|
|
15
|
-
- QA_STATUS_REPORT.md -- metrics, testing pyramid distribution, risk areas, recommendations
|
|
16
|
-
|
|
17
|
-
## Instructions
|
|
18
|
-
|
|
19
|
-
1. Read `CLAUDE.md` -- testing pyramid targets, quality gates.
|
|
20
|
-
2. Invoke analyzer agent for status reporting:
|
|
21
|
-
|
|
22
|
-
Task(
|
|
23
|
-
prompt="
|
|
24
|
-
<objective>Produce QA_STATUS_REPORT.md with current test suite metrics and coverage</objective>
|
|
25
|
-
<execution_context>@agents/qaa-analyzer.md</execution_context>
|
|
26
|
-
<files_to_read>
|
|
27
|
-
- CLAUDE.md
|
|
28
|
-
</files_to_read>
|
|
29
|
-
<parameters>
|
|
30
|
-
user_input: $ARGUMENTS
|
|
31
|
-
mode: status-report
|
|
32
|
-
</parameters>
|
|
33
|
-
"
|
|
34
|
-
)
|
|
35
|
-
|
|
36
|
-
3. Present report to user.
|
|
37
|
-
|
|
38
|
-
$ARGUMENTS
|
|
1
|
+
# QA Status Report
|
|
2
|
+
|
|
3
|
+
Generate a summary report of current QA status for a project. Adapts detail level to audience: team (file-level details), management (high-level metrics), or client (coverage summary).
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
/qa-report <path-to-tests> [--dev-repo <path>] [--audience <team|management|client>]
|
|
8
|
+
|
|
9
|
+
- path-to-tests: directory containing test files
|
|
10
|
+
- --dev-repo: path to developer repository (for coverage calculation)
|
|
11
|
+
- --audience: report detail level (default: team)
|
|
12
|
+
|
|
13
|
+
## What It Produces
|
|
14
|
+
|
|
15
|
+
- QA_STATUS_REPORT.md -- metrics, testing pyramid distribution, risk areas, recommendations
|
|
16
|
+
|
|
17
|
+
## Instructions
|
|
18
|
+
|
|
19
|
+
1. Read `CLAUDE.md` -- testing pyramid targets, quality gates.
|
|
20
|
+
2. Invoke analyzer agent for status reporting:
|
|
21
|
+
|
|
22
|
+
Task(
|
|
23
|
+
prompt="
|
|
24
|
+
<objective>Produce QA_STATUS_REPORT.md with current test suite metrics and coverage</objective>
|
|
25
|
+
<execution_context>@agents/qaa-analyzer.md</execution_context>
|
|
26
|
+
<files_to_read>
|
|
27
|
+
- CLAUDE.md
|
|
28
|
+
</files_to_read>
|
|
29
|
+
<parameters>
|
|
30
|
+
user_input: $ARGUMENTS
|
|
31
|
+
mode: status-report
|
|
32
|
+
</parameters>
|
|
33
|
+
"
|
|
34
|
+
)
|
|
35
|
+
|
|
36
|
+
3. Present report to user.
|
|
37
|
+
|
|
38
|
+
$ARGUMENTS
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
# QA Research
|
|
2
|
-
|
|
3
|
-
Research the best testing approach for a project's stack. Investigates framework capabilities, best practices, and testing patterns using official docs and community sources.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
/qa-research [--mode <mode>]
|
|
8
|
-
|
|
9
|
-
- No arguments: auto-detects stack and researches testing approach
|
|
10
|
-
- --mode: specific research mode (stack-testing, framework-deep-dive, api-testing, e2e-strategy)
|
|
11
|
-
|
|
12
|
-
## What It Produces
|
|
13
|
-
|
|
14
|
-
- TESTING_STACK.md — recommended test framework, assertion libraries, mock strategies
|
|
15
|
-
- FRAMEWORK_CAPABILITIES.md — deep dive into detected test framework
|
|
16
|
-
- API_TESTING_STRATEGY.md — endpoint testing patterns for this stack
|
|
17
|
-
- E2E_STRATEGY.md — E2E approach for the frontend (if detected)
|
|
18
|
-
|
|
19
|
-
## Instructions
|
|
20
|
-
|
|
21
|
-
1. Read `CLAUDE.md` — QA standards.
|
|
22
|
-
2. Detect project stack from package.json, requirements.txt, or similar.
|
|
23
|
-
3. Spawn researcher agent:
|
|
24
|
-
|
|
25
|
-
Agent(
|
|
26
|
-
prompt="Research the testing ecosystem for this project. Mode: {mode}. Write findings to .qa-output/research/. Follow the process in your agent definition.",
|
|
27
|
-
subagent_type="general-purpose",
|
|
28
|
-
execution_context="@agents/qaa-project-researcher.md"
|
|
29
|
-
)
|
|
30
|
-
|
|
31
|
-
4. Present findings with confidence levels.
|
|
32
|
-
|
|
33
|
-
$ARGUMENTS
|
|
1
|
+
# QA Research
|
|
2
|
+
|
|
3
|
+
Research the best testing approach for a project's stack. Investigates framework capabilities, best practices, and testing patterns using official docs and community sources.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
/qa-research [--mode <mode>]
|
|
8
|
+
|
|
9
|
+
- No arguments: auto-detects stack and researches testing approach
|
|
10
|
+
- --mode: specific research mode (stack-testing, framework-deep-dive, api-testing, e2e-strategy)
|
|
11
|
+
|
|
12
|
+
## What It Produces
|
|
13
|
+
|
|
14
|
+
- TESTING_STACK.md — recommended test framework, assertion libraries, mock strategies
|
|
15
|
+
- FRAMEWORK_CAPABILITIES.md — deep dive into detected test framework
|
|
16
|
+
- API_TESTING_STRATEGY.md — endpoint testing patterns for this stack
|
|
17
|
+
- E2E_STRATEGY.md — E2E approach for the frontend (if detected)
|
|
18
|
+
|
|
19
|
+
## Instructions
|
|
20
|
+
|
|
21
|
+
1. Read `CLAUDE.md` — QA standards.
|
|
22
|
+
2. Detect project stack from package.json, requirements.txt, or similar.
|
|
23
|
+
3. Spawn researcher agent:
|
|
24
|
+
|
|
25
|
+
Agent(
|
|
26
|
+
prompt="Research the testing ecosystem for this project. Mode: {mode}. Write findings to .qa-output/research/. Follow the process in your agent definition.",
|
|
27
|
+
subagent_type="general-purpose",
|
|
28
|
+
execution_context="@agents/qaa-project-researcher.md"
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
4. Present findings with confidence levels.
|
|
32
|
+
|
|
33
|
+
$ARGUMENTS
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
# QA Automation -- Full Pipeline
|
|
2
|
-
|
|
3
|
-
Run the complete QA automation pipeline. Analyzes a repository, generates a standards-compliant test suite, validates it, and delivers everything as a draft PR.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
/qa-start [--dev-repo <path>] [--qa-repo <path>] [--auto]
|
|
8
|
-
|
|
9
|
-
- No arguments: uses current directory as dev repo (Option 1)
|
|
10
|
-
- --dev-repo: explicit path to developer repository
|
|
11
|
-
- --qa-repo: path to existing QA repository (triggers Option 2 or 3)
|
|
12
|
-
- --auto: enable auto-advance mode (no pauses at safe checkpoints)
|
|
13
|
-
|
|
14
|
-
## Instructions
|
|
15
|
-
|
|
16
|
-
1. Read `CLAUDE.md` -- all QA standards that govern the pipeline.
|
|
17
|
-
2. Execute the workflow:
|
|
18
|
-
|
|
19
|
-
Follow the workflow defined in `@workflows/qa-start.md` end-to-end.
|
|
20
|
-
Preserve all workflow gates (stage transitions, checkpoints, error handling, state updates, commits).
|
|
21
|
-
|
|
22
|
-
$ARGUMENTS
|
|
1
|
+
# QA Automation -- Full Pipeline
|
|
2
|
+
|
|
3
|
+
Run the complete QA automation pipeline. Analyzes a repository, generates a standards-compliant test suite, validates it, and delivers everything as a draft PR.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
/qa-start [--dev-repo <path>] [--qa-repo <path>] [--auto]
|
|
8
|
+
|
|
9
|
+
- No arguments: uses current directory as dev repo (Option 1)
|
|
10
|
+
- --dev-repo: explicit path to developer repository
|
|
11
|
+
- --qa-repo: path to existing QA repository (triggers Option 2 or 3)
|
|
12
|
+
- --auto: enable auto-advance mode (no pauses at safe checkpoints)
|
|
13
|
+
|
|
14
|
+
## Instructions
|
|
15
|
+
|
|
16
|
+
1. Read `CLAUDE.md` -- all QA standards that govern the pipeline.
|
|
17
|
+
2. Execute the workflow:
|
|
18
|
+
|
|
19
|
+
Follow the workflow defined in `@workflows/qa-start.md` end-to-end.
|
|
20
|
+
Preserve all workflow gates (stage transitions, checkpoints, error handling, state updates, commits).
|
|
21
|
+
|
|
22
|
+
$ARGUMENTS
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
# Inject Test IDs
|
|
2
|
-
|
|
3
|
-
Scan frontend source code, audit missing data-testid attributes, and inject them following the naming convention in CLAUDE.md. Creates a separate branch for the changes.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
/qa-testid [<source-directory>]
|
|
8
|
-
|
|
9
|
-
- source-directory: path to frontend source (auto-detects if omitted)
|
|
10
|
-
|
|
11
|
-
## Instructions
|
|
12
|
-
|
|
13
|
-
1. Read `CLAUDE.md` -- data-testid Convention section.
|
|
14
|
-
2. Execute the workflow:
|
|
15
|
-
|
|
16
|
-
Follow the workflow defined in `@workflows/qa-testid.md` end-to-end.
|
|
17
|
-
Preserve all workflow gates (framework detection, user approval, branch creation).
|
|
18
|
-
|
|
19
|
-
$ARGUMENTS
|
|
1
|
+
# Inject Test IDs
|
|
2
|
+
|
|
3
|
+
Scan frontend source code, audit missing data-testid attributes, and inject them following the naming convention in CLAUDE.md. Creates a separate branch for the changes.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
/qa-testid [<source-directory>]
|
|
8
|
+
|
|
9
|
+
- source-directory: path to frontend source (auto-detects if omitted)
|
|
10
|
+
|
|
11
|
+
## Instructions
|
|
12
|
+
|
|
13
|
+
1. Read `CLAUDE.md` -- data-testid Convention section.
|
|
14
|
+
2. Execute the workflow:
|
|
15
|
+
|
|
16
|
+
Follow the workflow defined in `@workflows/qa-testid.md` end-to-end.
|
|
17
|
+
Preserve all workflow gates (framework detection, user approval, branch creation).
|
|
18
|
+
|
|
19
|
+
$ARGUMENTS
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
# QA Test Validation
|
|
2
|
-
|
|
3
|
-
Validate existing test files against CLAUDE.md standards. Runs 4-layer static validation (syntax, structure, dependencies, logic) and optionally executes E2E tests against a live app to verify locators and assertions with real page data.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
/qa-validate [<test-directory>] [--classify] [--run --app-url <url>]
|
|
8
|
-
|
|
9
|
-
- test-directory: path to test files (auto-detects if omitted)
|
|
10
|
-
- --classify: also run bug-detective to classify failures
|
|
11
|
-
- --run: execute E2E tests against a live application after static validation
|
|
12
|
-
- --app-url: URL of running application (auto-detects if not provided)
|
|
13
|
-
|
|
14
|
-
## Instructions
|
|
15
|
-
|
|
16
|
-
1. Read `CLAUDE.md` -- quality gates, locator tiers, assertion rules.
|
|
17
|
-
2. Execute the static validation workflow:
|
|
18
|
-
|
|
19
|
-
Follow the workflow defined in `@workflows/qa-validate.md` end-to-end.
|
|
20
|
-
Preserve all workflow gates (fix loops, classification).
|
|
21
|
-
|
|
22
|
-
3. If `--run` flag is present and E2E test files exist in the validated directory, invoke the E2E runner:
|
|
23
|
-
|
|
24
|
-
Task(
|
|
25
|
-
prompt="
|
|
26
|
-
<objective>Run E2E tests against live application, capture real locators, fix mismatches, loop until pass</objective>
|
|
27
|
-
<execution_context>@agents/qaa-e2e-runner.md</execution_context>
|
|
28
|
-
<files_to_read>
|
|
29
|
-
- CLAUDE.md
|
|
30
|
-
- {E2E test files from validated directory}
|
|
31
|
-
- {POM files from validated directory}
|
|
32
|
-
</files_to_read>
|
|
33
|
-
<parameters>
|
|
34
|
-
app_url: {from --app-url flag or auto-detect}
|
|
35
|
-
output_dir: .qa-output
|
|
36
|
-
</parameters>
|
|
37
|
-
"
|
|
38
|
-
)
|
|
39
|
-
|
|
40
|
-
4. Present combined results: static validation + E2E execution (if ran).
|
|
41
|
-
|
|
42
|
-
$ARGUMENTS
|
|
1
|
+
# QA Test Validation
|
|
2
|
+
|
|
3
|
+
Validate existing test files against CLAUDE.md standards. Runs 4-layer static validation (syntax, structure, dependencies, logic) and optionally executes E2E tests against a live app to verify locators and assertions with real page data.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
/qa-validate [<test-directory>] [--classify] [--run --app-url <url>]
|
|
8
|
+
|
|
9
|
+
- test-directory: path to test files (auto-detects if omitted)
|
|
10
|
+
- --classify: also run bug-detective to classify failures
|
|
11
|
+
- --run: execute E2E tests against a live application after static validation
|
|
12
|
+
- --app-url: URL of running application (auto-detects if not provided)
|
|
13
|
+
|
|
14
|
+
## Instructions
|
|
15
|
+
|
|
16
|
+
1. Read `CLAUDE.md` -- quality gates, locator tiers, assertion rules.
|
|
17
|
+
2. Execute the static validation workflow:
|
|
18
|
+
|
|
19
|
+
Follow the workflow defined in `@workflows/qa-validate.md` end-to-end.
|
|
20
|
+
Preserve all workflow gates (fix loops, classification).
|
|
21
|
+
|
|
22
|
+
3. If `--run` flag is present and E2E test files exist in the validated directory, invoke the E2E runner:
|
|
23
|
+
|
|
24
|
+
Task(
|
|
25
|
+
prompt="
|
|
26
|
+
<objective>Run E2E tests against live application, capture real locators, fix mismatches, loop until pass</objective>
|
|
27
|
+
<execution_context>@agents/qaa-e2e-runner.md</execution_context>
|
|
28
|
+
<files_to_read>
|
|
29
|
+
- CLAUDE.md
|
|
30
|
+
- {E2E test files from validated directory}
|
|
31
|
+
- {POM files from validated directory}
|
|
32
|
+
</files_to_read>
|
|
33
|
+
<parameters>
|
|
34
|
+
app_url: {from --app-url flag or auto-detect}
|
|
35
|
+
output_dir: .qa-output
|
|
36
|
+
</parameters>
|
|
37
|
+
"
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
4. Present combined results: static validation + E2E execution (if ran).
|
|
41
|
+
|
|
42
|
+
$ARGUMENTS
|