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,87 +1,87 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: qa-workflow-documenter
|
|
3
|
-
description: QA Workflow Documenter. Generates structured QA workflow documentation with decision trees, playbooks, and AI interaction protocols. Use when user wants to document QA processes, create testing playbooks, define workflow steps, document QA procedures, create decision trees for testing, or standardize QA processes. Triggers on "document workflow", "QA process", "testing playbook", "workflow documentation", "QA procedures", "decision tree", "standardize process", "document QA steps".
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# QA Workflow Documenter
|
|
7
|
-
|
|
8
|
-
## Purpose
|
|
9
|
-
|
|
10
|
-
Generate structured, AI-specific QA workflow documentation with decision trees, playbooks, and AI interaction protocols. Every step answers: WHO does it, WHAT they do, WHAT input they need, WHAT output they produce.
|
|
11
|
-
|
|
12
|
-
## Core Principle
|
|
13
|
-
|
|
14
|
-
**AI-first language**: Use precise verbs — scan, extract, classify, generate, validate. Never use vague terms like "review", "check", "handle".
|
|
15
|
-
|
|
16
|
-
## Output Artifacts
|
|
17
|
-
|
|
18
|
-
1. **WORKFLOW_[NAME].md** — Step-by-step workflow with decision gates
|
|
19
|
-
2. **DECISION_TREE.md** — Visual decision trees for key branch points
|
|
20
|
-
3. **AI_PROMPTS_CATALOG.md** — Reusable prompt patterns for each workflow step
|
|
21
|
-
4. **CHECKLIST.md** — Pre/post verification checklists
|
|
22
|
-
|
|
23
|
-
## Workflow Template Structure
|
|
24
|
-
|
|
25
|
-
### Header Block
|
|
26
|
-
```markdown
|
|
27
|
-
# Workflow: [Name]
|
|
28
|
-
**Version**: [semver]
|
|
29
|
-
**Applies to**: [project types / tech stacks]
|
|
30
|
-
**Prerequisites**: [what must exist before starting]
|
|
31
|
-
**Estimated duration**: [time range]
|
|
32
|
-
**Actors**: [AI Agent, QA Engineer, Team Lead]
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
### Step Format
|
|
36
|
-
```markdown
|
|
37
|
-
## Step N: [Name]
|
|
38
|
-
**Actor**: [who executes this step]
|
|
39
|
-
**Input**: [what they receive]
|
|
40
|
-
**Action**: [precise description using action verbs]
|
|
41
|
-
**Output**: [what they produce]
|
|
42
|
-
**Decision Gate**: [condition to proceed vs branch]
|
|
43
|
-
|
|
44
|
-
### AI Prompt Pattern
|
|
45
|
-
[If this step involves an AI agent, include the prompt template]
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
## Workflow Types
|
|
49
|
-
|
|
50
|
-
### 1. Repository Intake Workflow
|
|
51
|
-
New repo arrives -> scan -> classify -> assess risk -> recommend strategy
|
|
52
|
-
|
|
53
|
-
### 2. Test Case Generation Workflow
|
|
54
|
-
Analysis done -> select targets -> generate cases -> validate -> deliver
|
|
55
|
-
|
|
56
|
-
### 3. QA Repo Bootstrap Workflow
|
|
57
|
-
Blueprint ready -> create structure -> generate configs -> seed initial tests
|
|
58
|
-
|
|
59
|
-
### 4. Validation & Bug Triage Workflow
|
|
60
|
-
Tests generated -> run -> classify failures -> fix loop -> report
|
|
61
|
-
|
|
62
|
-
### 5. Test Maintenance Workflow
|
|
63
|
-
Existing tests -> audit -> prioritize fixes -> apply -> verify
|
|
64
|
-
|
|
65
|
-
## Decision Tree Format
|
|
66
|
-
|
|
67
|
-
```markdown
|
|
68
|
-
## Decision: [What decision]
|
|
69
|
-
|
|
70
|
-
```
|
|
71
|
-
[Question]?
|
|
72
|
-
├── YES → [Action A]
|
|
73
|
-
│ └── [Sub-question]?
|
|
74
|
-
│ ├── YES → [Action A1]
|
|
75
|
-
│ └── NO → [Action A2]
|
|
76
|
-
└── NO → [Action B]
|
|
77
|
-
```
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
## Quality Gate
|
|
81
|
-
|
|
82
|
-
- [ ] Every step has Actor, Input, Action, Output
|
|
83
|
-
- [ ] No vague verbs (review → scan + classify, check → validate against criteria)
|
|
84
|
-
- [ ] Decision gates have clear YES/NO branches
|
|
85
|
-
- [ ] AI prompt patterns included for AI-executed steps
|
|
86
|
-
- [ ] Prerequisites listed for every workflow
|
|
87
|
-
- [ ] Output artifacts named and described
|
|
1
|
+
---
|
|
2
|
+
name: qa-workflow-documenter
|
|
3
|
+
description: QA Workflow Documenter. Generates structured QA workflow documentation with decision trees, playbooks, and AI interaction protocols. Use when user wants to document QA processes, create testing playbooks, define workflow steps, document QA procedures, create decision trees for testing, or standardize QA processes. Triggers on "document workflow", "QA process", "testing playbook", "workflow documentation", "QA procedures", "decision tree", "standardize process", "document QA steps".
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# QA Workflow Documenter
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
|
|
10
|
+
Generate structured, AI-specific QA workflow documentation with decision trees, playbooks, and AI interaction protocols. Every step answers: WHO does it, WHAT they do, WHAT input they need, WHAT output they produce.
|
|
11
|
+
|
|
12
|
+
## Core Principle
|
|
13
|
+
|
|
14
|
+
**AI-first language**: Use precise verbs — scan, extract, classify, generate, validate. Never use vague terms like "review", "check", "handle".
|
|
15
|
+
|
|
16
|
+
## Output Artifacts
|
|
17
|
+
|
|
18
|
+
1. **WORKFLOW_[NAME].md** — Step-by-step workflow with decision gates
|
|
19
|
+
2. **DECISION_TREE.md** — Visual decision trees for key branch points
|
|
20
|
+
3. **AI_PROMPTS_CATALOG.md** — Reusable prompt patterns for each workflow step
|
|
21
|
+
4. **CHECKLIST.md** — Pre/post verification checklists
|
|
22
|
+
|
|
23
|
+
## Workflow Template Structure
|
|
24
|
+
|
|
25
|
+
### Header Block
|
|
26
|
+
```markdown
|
|
27
|
+
# Workflow: [Name]
|
|
28
|
+
**Version**: [semver]
|
|
29
|
+
**Applies to**: [project types / tech stacks]
|
|
30
|
+
**Prerequisites**: [what must exist before starting]
|
|
31
|
+
**Estimated duration**: [time range]
|
|
32
|
+
**Actors**: [AI Agent, QA Engineer, Team Lead]
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Step Format
|
|
36
|
+
```markdown
|
|
37
|
+
## Step N: [Name]
|
|
38
|
+
**Actor**: [who executes this step]
|
|
39
|
+
**Input**: [what they receive]
|
|
40
|
+
**Action**: [precise description using action verbs]
|
|
41
|
+
**Output**: [what they produce]
|
|
42
|
+
**Decision Gate**: [condition to proceed vs branch]
|
|
43
|
+
|
|
44
|
+
### AI Prompt Pattern
|
|
45
|
+
[If this step involves an AI agent, include the prompt template]
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Workflow Types
|
|
49
|
+
|
|
50
|
+
### 1. Repository Intake Workflow
|
|
51
|
+
New repo arrives -> scan -> classify -> assess risk -> recommend strategy
|
|
52
|
+
|
|
53
|
+
### 2. Test Case Generation Workflow
|
|
54
|
+
Analysis done -> select targets -> generate cases -> validate -> deliver
|
|
55
|
+
|
|
56
|
+
### 3. QA Repo Bootstrap Workflow
|
|
57
|
+
Blueprint ready -> create structure -> generate configs -> seed initial tests
|
|
58
|
+
|
|
59
|
+
### 4. Validation & Bug Triage Workflow
|
|
60
|
+
Tests generated -> run -> classify failures -> fix loop -> report
|
|
61
|
+
|
|
62
|
+
### 5. Test Maintenance Workflow
|
|
63
|
+
Existing tests -> audit -> prioritize fixes -> apply -> verify
|
|
64
|
+
|
|
65
|
+
## Decision Tree Format
|
|
66
|
+
|
|
67
|
+
```markdown
|
|
68
|
+
## Decision: [What decision]
|
|
69
|
+
|
|
70
|
+
```
|
|
71
|
+
[Question]?
|
|
72
|
+
├── YES → [Action A]
|
|
73
|
+
│ └── [Sub-question]?
|
|
74
|
+
│ ├── YES → [Action A1]
|
|
75
|
+
│ └── NO → [Action A2]
|
|
76
|
+
└── NO → [Action B]
|
|
77
|
+
```
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## Quality Gate
|
|
81
|
+
|
|
82
|
+
- [ ] Every step has Actor, Input, Action, Output
|
|
83
|
+
- [ ] No vague verbs (review → scan + classify, check → validate against criteria)
|
|
84
|
+
- [ ] Decision gates have clear YES/NO branches
|
|
85
|
+
- [ ] AI prompt patterns included for AI-executed steps
|
|
86
|
+
- [ ] Prerequisites listed for every workflow
|
|
87
|
+
- [ ] Output artifacts named and described
|
package/.mcp.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
{
|
|
2
|
-
"mcpServers": {
|
|
3
|
-
"playwright": {
|
|
4
|
-
"command": "npx",
|
|
5
|
-
"args": ["@playwright/mcp@latest"]
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"mcpServers": {
|
|
3
|
+
"playwright": {
|
|
4
|
+
"command": "npx",
|
|
5
|
+
"args": ["@playwright/mcp@latest"]
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
|
|
2
|
-
# Changelog
|
|
3
|
-
|
|
4
|
-
All notable changes to QAA (QA Automation Agent) are documented here.
|
|
5
|
-
|
|
6
|
-
## [1.6.0] - 2026-03-25
|
|
7
|
-
|
|
8
|
-
### Added
|
|
9
|
-
- Playwright MCP server bundled in agent package (`.mcp.json`) -- starts automatically when opening project in Claude Code
|
|
10
|
-
- Persistent locator registry at `.qa-output/locators/` -- accumulates real locators across features over time
|
|
11
|
-
- Per-feature files: `{feature}.locators.md` -- extracted locators for each feature tested
|
|
12
|
-
- Central index: `LOCATOR_REGISTRY.md` -- all locators by page, searchable by any command
|
|
13
|
-
- Browser-based locator extraction step in `/create-test` and `/qa-from-ticket` -- navigates live app with Playwright MCP and captures real data-testid, ARIA roles, and labels before generating tests
|
|
14
|
-
- Registry cache: if locators for a feature already exist in the registry, browser extraction is skipped (reuses cached locators)
|
|
15
|
-
- `--app-url` flag added to `/qa-from-ticket`
|
|
16
|
-
- CHANGELOG.md
|
|
17
|
-
|
|
18
|
-
### Changed
|
|
19
|
-
- `qaa-executor` now reads locator registry (when available) to use real locators in POMs instead of proposing them
|
|
20
|
-
- `/create-test` flow: checks registry first, then extracts via browser if needed, BEFORE test generation
|
|
21
|
-
- `/qa-from-ticket` workflow: locator extraction step added after source scan, before test case generation
|
|
22
|
-
|
|
23
|
-
### Removed
|
|
24
|
-
- `/qa-analyze` command (deprecated since v1.4.0, fully replaced by `/qa-map`)
|
|
25
|
-
|
|
26
|
-
## [1.5.0] - 2026-03-24
|
|
27
|
-
|
|
28
|
-
### Added
|
|
29
|
-
- Stable release
|
|
30
|
-
|
|
31
|
-
## [1.4.0]
|
|
32
|
-
|
|
33
|
-
### Changed
|
|
34
|
-
- Merged `/qa-analyze` into `/qa-map` -- single command for codebase scanning and analysis
|
|
35
|
-
- Consolidated pipeline flow
|
|
36
|
-
|
|
37
|
-
### Deprecated
|
|
38
|
-
- `/qa-analyze` command (use `/qa-map` instead)
|
|
39
|
-
|
|
40
|
-
## [1.3.0]
|
|
41
|
-
|
|
42
|
-
### Added
|
|
43
|
-
- `qa-learner` skill -- persistent preferences from user corrections
|
|
44
|
-
- Preferences saved to `~/.claude/qaa/MY_PREFERENCES.md`
|
|
45
|
-
- Trigger detection for English and Spanish frustration signals
|
|
46
|
-
|
|
47
|
-
## [1.2.0]
|
|
48
|
-
|
|
49
|
-
### Added
|
|
50
|
-
- `qaa-codebase-mapper` agent -- 4 parallel focus areas (testability, risk, patterns, existing tests)
|
|
51
|
-
- `qaa-project-researcher` agent -- researches best testing stack and practices
|
|
52
|
-
- 8 codebase map documents produced by mapper
|
|
53
|
-
|
|
54
|
-
## [1.1.0]
|
|
55
|
-
|
|
56
|
-
### Added
|
|
57
|
-
- Workflow definitions for all pipeline stages
|
|
58
|
-
- Interactive installer (`npx qaa-agent`)
|
|
59
|
-
- `qaa init` command for per-project initialization
|
|
60
|
-
- npm package distribution
|
|
61
|
-
|
|
62
|
-
## [1.0.0]
|
|
63
|
-
|
|
64
|
-
### Added
|
|
65
|
-
- Full QA automation pipeline -- 11 agents, 17 commands, 10 templates, 7 workflows
|
|
66
|
-
- 3 workflow options (dev-only, immature QA, mature QA)
|
|
67
|
-
- 4-layer test validation (syntax, structure, dependencies, logic)
|
|
68
|
-
- Page Object Model generation with CLAUDE.md standards
|
|
69
|
-
- Test ID injection for frontend components
|
|
70
|
-
- Bug detective failure classification
|
|
71
|
-
- Draft PR delivery with branch naming convention
|
|
1
|
+
|
|
2
|
+
# Changelog
|
|
3
|
+
|
|
4
|
+
All notable changes to QAA (QA Automation Agent) are documented here.
|
|
5
|
+
|
|
6
|
+
## [1.6.0] - 2026-03-25
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
- Playwright MCP server bundled in agent package (`.mcp.json`) -- starts automatically when opening project in Claude Code
|
|
10
|
+
- Persistent locator registry at `.qa-output/locators/` -- accumulates real locators across features over time
|
|
11
|
+
- Per-feature files: `{feature}.locators.md` -- extracted locators for each feature tested
|
|
12
|
+
- Central index: `LOCATOR_REGISTRY.md` -- all locators by page, searchable by any command
|
|
13
|
+
- Browser-based locator extraction step in `/create-test` and `/qa-from-ticket` -- navigates live app with Playwright MCP and captures real data-testid, ARIA roles, and labels before generating tests
|
|
14
|
+
- Registry cache: if locators for a feature already exist in the registry, browser extraction is skipped (reuses cached locators)
|
|
15
|
+
- `--app-url` flag added to `/qa-from-ticket`
|
|
16
|
+
- CHANGELOG.md
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
- `qaa-executor` now reads locator registry (when available) to use real locators in POMs instead of proposing them
|
|
20
|
+
- `/create-test` flow: checks registry first, then extracts via browser if needed, BEFORE test generation
|
|
21
|
+
- `/qa-from-ticket` workflow: locator extraction step added after source scan, before test case generation
|
|
22
|
+
|
|
23
|
+
### Removed
|
|
24
|
+
- `/qa-analyze` command (deprecated since v1.4.0, fully replaced by `/qa-map`)
|
|
25
|
+
|
|
26
|
+
## [1.5.0] - 2026-03-24
|
|
27
|
+
|
|
28
|
+
### Added
|
|
29
|
+
- Stable release
|
|
30
|
+
|
|
31
|
+
## [1.4.0]
|
|
32
|
+
|
|
33
|
+
### Changed
|
|
34
|
+
- Merged `/qa-analyze` into `/qa-map` -- single command for codebase scanning and analysis
|
|
35
|
+
- Consolidated pipeline flow
|
|
36
|
+
|
|
37
|
+
### Deprecated
|
|
38
|
+
- `/qa-analyze` command (use `/qa-map` instead)
|
|
39
|
+
|
|
40
|
+
## [1.3.0]
|
|
41
|
+
|
|
42
|
+
### Added
|
|
43
|
+
- `qa-learner` skill -- persistent preferences from user corrections
|
|
44
|
+
- Preferences saved to `~/.claude/qaa/MY_PREFERENCES.md`
|
|
45
|
+
- Trigger detection for English and Spanish frustration signals
|
|
46
|
+
|
|
47
|
+
## [1.2.0]
|
|
48
|
+
|
|
49
|
+
### Added
|
|
50
|
+
- `qaa-codebase-mapper` agent -- 4 parallel focus areas (testability, risk, patterns, existing tests)
|
|
51
|
+
- `qaa-project-researcher` agent -- researches best testing stack and practices
|
|
52
|
+
- 8 codebase map documents produced by mapper
|
|
53
|
+
|
|
54
|
+
## [1.1.0]
|
|
55
|
+
|
|
56
|
+
### Added
|
|
57
|
+
- Workflow definitions for all pipeline stages
|
|
58
|
+
- Interactive installer (`npx qaa-agent`)
|
|
59
|
+
- `qaa init` command for per-project initialization
|
|
60
|
+
- npm package distribution
|
|
61
|
+
|
|
62
|
+
## [1.0.0]
|
|
63
|
+
|
|
64
|
+
### Added
|
|
65
|
+
- Full QA automation pipeline -- 11 agents, 17 commands, 10 templates, 7 workflows
|
|
66
|
+
- 3 workflow options (dev-only, immature QA, mature QA)
|
|
67
|
+
- 4-layer test validation (syntax, structure, dependencies, logic)
|
|
68
|
+
- Page Object Model generation with CLAUDE.md standards
|
|
69
|
+
- Test ID injection for frontend components
|
|
70
|
+
- Bug detective failure classification
|
|
71
|
+
- Draft PR delivery with branch naming convention
|