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.
Files changed (73) hide show
  1. package/.claude/commands/create-test.md +164 -164
  2. package/.claude/commands/qa-audit.md +37 -37
  3. package/.claude/commands/qa-blueprint.md +54 -54
  4. package/.claude/commands/qa-fix.md +36 -36
  5. package/.claude/commands/qa-from-ticket.md +24 -24
  6. package/.claude/commands/qa-gap.md +20 -20
  7. package/.claude/commands/qa-map.md +47 -47
  8. package/.claude/commands/qa-pom.md +36 -36
  9. package/.claude/commands/qa-pr.md +23 -23
  10. package/.claude/commands/qa-pyramid.md +37 -37
  11. package/.claude/commands/qa-report.md +38 -38
  12. package/.claude/commands/qa-research.md +33 -33
  13. package/.claude/commands/qa-start.md +22 -22
  14. package/.claude/commands/qa-testid.md +19 -19
  15. package/.claude/commands/qa-validate.md +42 -42
  16. package/.claude/commands/update-test.md +58 -58
  17. package/.claude/settings.json +20 -20
  18. package/.claude/skills/qa-bug-detective/SKILL.md +122 -122
  19. package/.claude/skills/qa-learner/SKILL.md +150 -150
  20. package/.claude/skills/qa-repo-analyzer/SKILL.md +88 -88
  21. package/.claude/skills/qa-self-validator/SKILL.md +109 -109
  22. package/.claude/skills/qa-template-engine/SKILL.md +113 -113
  23. package/.claude/skills/qa-testid-injector/SKILL.md +93 -93
  24. package/.claude/skills/qa-workflow-documenter/SKILL.md +87 -87
  25. package/.mcp.json +8 -8
  26. package/CHANGELOG.md +71 -71
  27. package/CLAUDE.md +553 -553
  28. package/agents/qa-pipeline-orchestrator.md +1378 -1378
  29. package/agents/qaa-analyzer.md +524 -524
  30. package/agents/qaa-bug-detective.md +446 -446
  31. package/agents/qaa-codebase-mapper.md +935 -935
  32. package/agents/qaa-e2e-runner.md +415 -415
  33. package/agents/qaa-executor.md +651 -651
  34. package/agents/qaa-planner.md +390 -390
  35. package/agents/qaa-project-researcher.md +319 -319
  36. package/agents/qaa-scanner.md +424 -424
  37. package/agents/qaa-testid-injector.md +585 -585
  38. package/agents/qaa-validator.md +452 -452
  39. package/bin/install.cjs +198 -198
  40. package/bin/lib/commands.cjs +709 -709
  41. package/bin/lib/config.cjs +307 -307
  42. package/bin/lib/core.cjs +497 -497
  43. package/bin/lib/frontmatter.cjs +299 -299
  44. package/bin/lib/init.cjs +989 -989
  45. package/bin/lib/milestone.cjs +241 -241
  46. package/bin/lib/model-profiles.cjs +60 -60
  47. package/bin/lib/phase.cjs +911 -911
  48. package/bin/lib/roadmap.cjs +306 -306
  49. package/bin/lib/state.cjs +748 -748
  50. package/bin/lib/template.cjs +222 -222
  51. package/bin/lib/verify.cjs +842 -842
  52. package/bin/qaa-tools.cjs +607 -607
  53. package/docs/COMMANDS.md +341 -341
  54. package/docs/DEMO.md +182 -182
  55. package/docs/TESTING.md +156 -156
  56. package/package.json +41 -41
  57. package/templates/failure-classification.md +391 -391
  58. package/templates/gap-analysis.md +409 -409
  59. package/templates/pr-template.md +48 -48
  60. package/templates/qa-analysis.md +381 -381
  61. package/templates/qa-audit-report.md +465 -465
  62. package/templates/qa-repo-blueprint.md +636 -636
  63. package/templates/scan-manifest.md +312 -312
  64. package/templates/test-inventory.md +582 -582
  65. package/templates/testid-audit-report.md +354 -354
  66. package/templates/validation-report.md +243 -243
  67. package/workflows/qa-analyze.md +296 -296
  68. package/workflows/qa-from-ticket.md +536 -536
  69. package/workflows/qa-gap.md +303 -303
  70. package/workflows/qa-pr.md +389 -389
  71. package/workflows/qa-start.md +1168 -1168
  72. package/workflows/qa-testid.md +356 -356
  73. 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