qa-flowkit 0.4.0-alpha.0

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 (149) hide show
  1. package/.qa-ai/adapters/aider/.aider/README.md +25 -0
  2. package/.qa-ai/adapters/aider/.aider.conf.yml +6 -0
  3. package/.qa-ai/adapters/claude/agents/qa-workflow-orchestrator.md +18 -0
  4. package/.qa-ai/adapters/claude/commands/qa-add-tests.md +42 -0
  5. package/.qa-ai/adapters/claude/commands/qa-automation-plan.md +43 -0
  6. package/.qa-ai/adapters/claude/commands/qa-clean.md +42 -0
  7. package/.qa-ai/adapters/claude/commands/qa-config.md +51 -0
  8. package/.qa-ai/adapters/claude/commands/qa-coverage.md +46 -0
  9. package/.qa-ai/adapters/claude/commands/qa-doctor.md +11 -0
  10. package/.qa-ai/adapters/claude/commands/qa-full-flow.md +59 -0
  11. package/.qa-ai/adapters/claude/commands/qa-gate.md +36 -0
  12. package/.qa-ai/adapters/claude/commands/qa-help.md +30 -0
  13. package/.qa-ai/adapters/claude/commands/qa-init.md +70 -0
  14. package/.qa-ai/adapters/claude/commands/qa-status.md +56 -0
  15. package/.qa-ai/adapters/claude/commands/qa-update-tests.md +47 -0
  16. package/.qa-ai/adapters/claude/commands/qa-validate-features.md +36 -0
  17. package/.qa-ai/adapters/cline/.cline/README.md +25 -0
  18. package/.qa-ai/adapters/cline/.clinerules +9 -0
  19. package/.qa-ai/adapters/codex/README.md +44 -0
  20. package/.qa-ai/adapters/codex/prompts/implement-project.md +15 -0
  21. package/.qa-ai/adapters/continue/README.md +26 -0
  22. package/.qa-ai/adapters/continue/checks/qa-feature-conventions.md +15 -0
  23. package/.qa-ai/adapters/gemini/GEMINI.md +40 -0
  24. package/.qa-ai/adapters/generic/AGENTS.md +100 -0
  25. package/.qa-ai/adapters/goose/recipes/qa-flowkit.yaml +20 -0
  26. package/.qa-ai/adapters/opencode/README.md +57 -0
  27. package/.qa-ai/adapters/opencode/agents/qa-workflow.md +18 -0
  28. package/.qa-ai/adapters/opencode/commands/qa-add-tests.md +42 -0
  29. package/.qa-ai/adapters/opencode/commands/qa-automation-plan.md +43 -0
  30. package/.qa-ai/adapters/opencode/commands/qa-clean.md +42 -0
  31. package/.qa-ai/adapters/opencode/commands/qa-config.md +51 -0
  32. package/.qa-ai/adapters/opencode/commands/qa-coverage.md +46 -0
  33. package/.qa-ai/adapters/opencode/commands/qa-doctor.md +13 -0
  34. package/.qa-ai/adapters/opencode/commands/qa-full-flow.md +59 -0
  35. package/.qa-ai/adapters/opencode/commands/qa-gate.md +36 -0
  36. package/.qa-ai/adapters/opencode/commands/qa-help.md +30 -0
  37. package/.qa-ai/adapters/opencode/commands/qa-init.md +70 -0
  38. package/.qa-ai/adapters/opencode/commands/qa-status.md +56 -0
  39. package/.qa-ai/adapters/opencode/commands/qa-update-tests.md +47 -0
  40. package/.qa-ai/adapters/opencode/commands/qa-validate-features.md +36 -0
  41. package/.qa-ai/agents/README.md +39 -0
  42. package/.qa-ai/agents/api-testing-agent.md +73 -0
  43. package/.qa-ai/agents/automation-feasibility-agent.md +128 -0
  44. package/.qa-ai/agents/gherkin-test-design-agent.md +110 -0
  45. package/.qa-ai/agents/jira-task-agent.md +92 -0
  46. package/.qa-ai/agents/pr-agent.md +101 -0
  47. package/.qa-ai/agents/qa-context-intake-agent.md +75 -0
  48. package/.qa-ai/agents/qa-workflow-orchestrator.md +113 -0
  49. package/.qa-ai/agents/release-gate-agent.md +50 -0
  50. package/.qa-ai/agents/requirements-intake-agent.md +79 -0
  51. package/.qa-ai/agents/requirements-normalization-agent.md +80 -0
  52. package/.qa-ai/agents/specialists/available/appium.md +59 -0
  53. package/.qa-ai/agents/specialists/available/cypress.md +68 -0
  54. package/.qa-ai/agents/specialists/available/generic-test-design.md +117 -0
  55. package/.qa-ai/agents/specialists/available/jira.md +108 -0
  56. package/.qa-ai/agents/specialists/available/karate.md +97 -0
  57. package/.qa-ai/agents/specialists/available/playwright-api.md +87 -0
  58. package/.qa-ai/agents/specialists/available/playwright-ui.md +87 -0
  59. package/.qa-ai/agents/specialists/available/postman.md +108 -0
  60. package/.qa-ai/agents/specialists/available/rest-assured.md +103 -0
  61. package/.qa-ai/agents/specialists/available/selenium.md +91 -0
  62. package/.qa-ai/agents/specialists/available/testrail.md +85 -0
  63. package/.qa-ai/agents/specialists/available/webdriverio.md +81 -0
  64. package/.qa-ai/agents/test-design-system-agent.md +33 -0
  65. package/.qa-ai/agents/testrail-coverage-agent.md +84 -0
  66. package/.qa-ai/agents/testrail-sync-agent.md +96 -0
  67. package/.qa-ai/agents/webdriverio-implementation-agent.md +84 -0
  68. package/.qa-ai/presets/manual-only.yaml +65 -0
  69. package/.qa-ai/presets/selenium-jest-browserstack.yaml +72 -0
  70. package/.qa-ai/presets/webdriverio-playwright-api.yaml +85 -0
  71. package/.qa-ai/rules/api-testing.rules.md +7 -0
  72. package/.qa-ai/rules/approval.rules.md +8 -0
  73. package/.qa-ai/rules/automation.rules.md +7 -0
  74. package/.qa-ai/rules/gherkin.rules.md +12 -0
  75. package/.qa-ai/rules/testrail.rules.md +10 -0
  76. package/.qa-ai/rules/webdriverio.rules.md +9 -0
  77. package/.qa-ai/scripts/bootstrap-agent-adapters.mjs +127 -0
  78. package/.qa-ai/scripts/clean.mjs +243 -0
  79. package/.qa-ai/scripts/config.mjs +202 -0
  80. package/.qa-ai/scripts/doctor.mjs +383 -0
  81. package/.qa-ai/scripts/init.mjs +447 -0
  82. package/.qa-ai/scripts/lib/markdown-table.mjs +76 -0
  83. package/.qa-ai/scripts/lib/project-config.mjs +184 -0
  84. package/.qa-ai/scripts/lib/qa-next-steps.mjs +578 -0
  85. package/.qa-ai/scripts/lib/release-gate.mjs +66 -0
  86. package/.qa-ai/scripts/lib/test-design.mjs +92 -0
  87. package/.qa-ai/scripts/lib/test-management-mapping.mjs +73 -0
  88. package/.qa-ai/scripts/lib/utils.mjs +331 -0
  89. package/.qa-ai/scripts/qa-help.mjs +44 -0
  90. package/.qa-ai/scripts/smoke-npm-pack.mjs +187 -0
  91. package/.qa-ai/scripts/smoke-test.mjs +465 -0
  92. package/.qa-ai/scripts/sync-agent-adapters.mjs +121 -0
  93. package/.qa-ai/scripts/test-validators.mjs +334 -0
  94. package/.qa-ai/scripts/validate-active-specialists.mjs +106 -0
  95. package/.qa-ai/scripts/validate-features.mjs +277 -0
  96. package/.qa-ai/scripts/validate-release-gate.mjs +105 -0
  97. package/.qa-ai/scripts/validate-sync-plan.mjs +186 -0
  98. package/.qa-ai/scripts/validate-target.mjs +104 -0
  99. package/.qa-ai/scripts/validate-test-design.mjs +117 -0
  100. package/.qa-ai/scripts/validate-traceability.mjs +183 -0
  101. package/.qa-ai/templates/automation-feasibility-report.template.md +21 -0
  102. package/.qa-ai/templates/automation-implementation-plan.template.md +23 -0
  103. package/.qa-ai/templates/feature.template +13 -0
  104. package/.qa-ai/templates/jira-automation-task.template.md +25 -0
  105. package/.qa-ai/templates/pr-template.md +60 -0
  106. package/.qa-ai/templates/release-gate.template.yaml +16 -0
  107. package/.qa-ai/templates/requirement-analysis.template.md +17 -0
  108. package/.qa-ai/templates/test-design-proposal.template.md +26 -0
  109. package/.qa-ai/templates/test-design-system.template.md +15 -0
  110. package/.qa-ai/templates/test-management-mapping.template.json +18 -0
  111. package/.qa-ai/templates/testrail-coverage-analysis.template.md +17 -0
  112. package/.qa-ai/templates/testrail-sync-plan.template.md +22 -0
  113. package/.qa-ai/templates/traceability-matrix.template.md +4 -0
  114. package/.qa-ai/workflows/automation-analysis.md +23 -0
  115. package/.qa-ai/workflows/cleanup.md +52 -0
  116. package/.qa-ai/workflows/context-intake.md +66 -0
  117. package/.qa-ai/workflows/full-flow.md +55 -0
  118. package/.qa-ai/workflows/implementation.md +24 -0
  119. package/.qa-ai/workflows/intake.md +3 -0
  120. package/.qa-ai/workflows/pr.md +3 -0
  121. package/.qa-ai/workflows/release-gate.md +22 -0
  122. package/.qa-ai/workflows/test-design-system.md +33 -0
  123. package/.qa-ai/workflows/test-design.md +23 -0
  124. package/.qa-ai/workflows/testrail-sync.md +23 -0
  125. package/CHANGELOG.md +108 -0
  126. package/CODE_OF_CONDUCT.md +11 -0
  127. package/CONTRIBUTING.md +39 -0
  128. package/LICENSE +21 -0
  129. package/README.es.md +602 -0
  130. package/README.md +633 -0
  131. package/ROADMAP.md +107 -0
  132. package/SECURITY.md +18 -0
  133. package/bin/qa-flowkit.mjs +214 -0
  134. package/docs/qa-ai/agent-compatibility.md +100 -0
  135. package/docs/qa-ai/architecture.md +130 -0
  136. package/docs/qa-ai/backlog.md +393 -0
  137. package/docs/qa-ai/cleanup.md +104 -0
  138. package/docs/qa-ai/customizing-agents.md +148 -0
  139. package/docs/qa-ai/getting-started.md +385 -0
  140. package/docs/qa-ai/implementation-guide-for-codex.md +210 -0
  141. package/docs/qa-ai/npm-migration-plan.md +50 -0
  142. package/docs/qa-ai/open-source-release-checklist.md +17 -0
  143. package/docs/qa-ai/qa-help.md +76 -0
  144. package/docs/qa-ai/release-gate.md +60 -0
  145. package/docs/qa-ai/terminal-transcripts.md +316 -0
  146. package/docs/qa-ai/test-design-dual-mode.md +75 -0
  147. package/docs/qa-ai/troubleshooting.md +740 -0
  148. package/docs/qa-ai/workflow.md +147 -0
  149. package/package.json +72 -0
@@ -0,0 +1,25 @@
1
+ # Aider Adapter
2
+
3
+ Aider should read the generic project instructions and configured QA rules before editing.
4
+
5
+ Related docs: [main README](../../../../README.md) | [agent compatibility](../../../../docs/qa-ai/agent-compatibility.md)
6
+
7
+ ## Read First
8
+
9
+ | File | Purpose |
10
+ |---|---|
11
+ | `AGENTS.md` | Generic behavior and safety rules |
12
+ | `qa-ai.config.yaml` | Target repository configuration |
13
+ | `.qa-ai/rules/` | Mandatory QA workflow rules |
14
+ | `.qa-ai/workflows/` | Task playbooks |
15
+
16
+ ## Commands
17
+
18
+ | Aider Command | Purpose |
19
+ |---|---|
20
+ | `/run node .qa-ai/scripts/config.mjs --help` | Import/export reusable QA AI config profiles |
21
+ | `/run node .qa-ai/scripts/doctor.mjs` | Check setup health |
22
+ | `/run node .qa-ai/scripts/validate-features.mjs` | Validate `.feature` files after changes |
23
+ | `/run node .qa-ai/scripts/clean.mjs` | Preview cleanup before removing generated files |
24
+
25
+ Never overwrite existing files or delete generated artifacts without explicit user approval.
@@ -0,0 +1,6 @@
1
+ read:
2
+ - AGENTS.md
3
+ - README.md
4
+ - qa-ai.config.yaml
5
+ - .qa-ai/rules/approval.rules.md
6
+ - .qa-ai/rules/gherkin.rules.md
@@ -0,0 +1,18 @@
1
+ # QA Workflow Orchestrator
2
+
3
+ You coordinate the complete AI-assisted QA workflow.
4
+
5
+ ## Responsibilities
6
+
7
+ - Read `AGENTS.md`, `qa-ai.config.yaml`, `.qa-ai/rules/` and `.qa-ai/agents/README.md` before acting.
8
+ - Read `.qa-ai/agents/specialists/active.md` when present and load only the listed specialist instructions from `.qa-ai/agents/specialists/available/`.
9
+ - Use the configured interface language from `qa-ai.config.yaml` (`project.interfaceLanguage` / `project.defaultLanguage`) for questions and descriptions. Use `gherkin.language` only for generated `.feature` files.
10
+ - Delegate to specialized agents conceptually.
11
+ - Maintain traceability from configured requirement sources/RF/CA to features, test management and automation.
12
+ - Present a plan before every change.
13
+ - Ask for approval before writes or modifications.
14
+ - Stop and ask when official RF ID is missing.
15
+
16
+ ## Output expectation
17
+
18
+ Every workflow must produce or update the expected docs under `qa-ai-output/`.
@@ -0,0 +1,42 @@
1
+ ---
2
+ description: Add QA tests for a new RF / Anadir pruebas QA para un RF nuevo
3
+ argument-hint: [requirement source or RF ID]
4
+ ---
5
+
6
+ Add new QA tests to a repository that may already contain `.feature` files and automation tests.
7
+
8
+ Read these files first:
9
+
10
+ - `AGENTS.md`
11
+ - `qa-ai.config.yaml` when present
12
+ - `.qa-ai/rules/`
13
+ - `.qa-ai/agents/README.md`
14
+ - `.qa-ai/agents/qa-workflow-orchestrator.md`
15
+ - `.qa-ai/agents/gherkin-test-design-agent.md`
16
+ - `.qa-ai/agents/testrail-coverage-agent.md`
17
+ - `.qa-ai/agents/specialists/active.md` when present
18
+ - `.qa-ai/workflows/test-design.md`
19
+
20
+ Use `project.interfaceLanguage` / `project.defaultLanguage` from `qa-ai.config.yaml` for user-facing questions and summaries. Use `gherkin.language` only for generated `.feature` files.
21
+
22
+ If `$ARGUMENTS` is empty or ambiguous, ask the user:
23
+
24
+ 1. Where is the new requirement/RF source?
25
+ 2. What is the official RF ID?
26
+ 3. Should the first pass produce only proposal artifacts, or create new `.feature` files after approval?
27
+
28
+ Stop before final `.feature` generation if the official RF ID is missing.
29
+
30
+ Then present a concise plan before modifying files.
31
+
32
+ Workflow:
33
+
34
+ 1. Inspect existing `.feature` files and configured automation paths to avoid duplicates.
35
+ 2. Analyze the new RF and acceptance criteria.
36
+ 3. Produce or update `qa-ai-output/requirement-analysis.md`.
37
+ 4. Produce or update `qa-ai-output/test-design-proposal.md` with only new tests to add and existing tests to reuse.
38
+ 5. After approval, create one `.feature` file per new test case under the configured `gherkin.featurePath`.
39
+ 6. Update `qa-ai-output/traceability-matrix.md` when useful.
40
+ 7. Run `node .qa-ai/scripts/validate-features.mjs`, `node .qa-ai/scripts/validate-traceability.mjs` and `node .qa-ai/scripts/validate-sync-plan.mjs` after feature/artifact changes.
41
+
42
+ Do not modify existing tests unless the user explicitly approves that scope. Do not write to configured external tools.
@@ -0,0 +1,43 @@
1
+ ---
2
+ description: Plan automation from existing QA tests / Planificar automatizacion desde pruebas existentes
3
+ argument-hint: [feature path, RF ID, or test filter]
4
+ ---
5
+
6
+ Create an automation feasibility and implementation plan from existing `.feature` tests.
7
+
8
+ Read these files first:
9
+
10
+ - `AGENTS.md`
11
+ - `qa-ai.config.yaml` when present
12
+ - `.qa-ai/rules/`
13
+ - `.qa-ai/agents/README.md`
14
+ - `.qa-ai/agents/qa-workflow-orchestrator.md`
15
+ - `.qa-ai/agents/automation-feasibility-agent.md`
16
+ - `.qa-ai/agents/webdriverio-implementation-agent.md` when UI automation is configured
17
+ - `.qa-ai/agents/api-testing-agent.md` when API automation is configured
18
+ - `.qa-ai/agents/specialists/active.md` when present
19
+ - `.qa-ai/workflows/automation-analysis.md`
20
+ - `.qa-ai/workflows/implementation.md`
21
+
22
+ Use `project.interfaceLanguage` / `project.defaultLanguage` from `qa-ai.config.yaml` for user-facing questions and summaries.
23
+
24
+ If `$ARGUMENTS` is empty or ambiguous, ask the user:
25
+
26
+ 1. Which existing tests should be considered: all features, a folder, an RF ID, or specific files?
27
+ 2. Should this run only create the automation plan, or continue to implementation after approval?
28
+ - Recommend plan only first.
29
+ 3. Are there known environment, data, selector or credential constraints?
30
+
31
+ Then present a concise plan before modifying files.
32
+
33
+ Workflow:
34
+
35
+ 1. Inspect existing `.feature` files and configured automation paths.
36
+ 2. Inspect existing UI/API automation patterns before proposing code.
37
+ 3. Classify tests as automated, automatable, partial, manual, blocked or not automatable.
38
+ 4. Produce or update `qa-ai-output/automation-feasibility-report.md`.
39
+ 5. Produce or update `qa-ai-output/automation-implementation-plan.md`.
40
+ 6. If the user explicitly approves implementation, add automation code using the configured frameworks and local patterns.
41
+ 7. Run relevant project tests or explain why they cannot be run.
42
+
43
+ Do not add dependencies, change global framework config or write to external tools without approval.
@@ -0,0 +1,42 @@
1
+ ---
2
+ description: Guided manifest-based QA AI cleanup / Limpieza guiada de QA FlowKit
3
+ argument-hint: [optional clean flags]
4
+ ---
5
+
6
+ Preview or execute cleanup for generated QA FlowKit artifacts.
7
+
8
+ Read `qa-ai.config.yaml` when present and use its configured interface language (`project.interfaceLanguage` / `project.defaultLanguage`, `en` or `es`) for questions, descriptions and summaries.
9
+
10
+ If `$ARGUMENTS` is empty, run the safe dry-run first:
11
+
12
+ ```bash
13
+ node .qa-ai/scripts/clean.mjs
14
+ ```
15
+
16
+ Summarize the cleanup plan, then ask the user:
17
+
18
+ 1. Which scope should be cleaned?
19
+ - `generated`: generated config, QA output artifacts and empty generated folders.
20
+ - `adapters`: generated agent adapter files.
21
+ - `empty-dirs`: tracked empty directories.
22
+ - `all`: all tracked entries.
23
+ 2. Should cleanup be executed with `--force`?
24
+ - Recommend `no` until the dry-run is reviewed.
25
+ 3. Should modified tracked files be deleted?
26
+ - Recommend `no`; only use `--include-modified` if the user explicitly wants to discard edits.
27
+
28
+ If the user approves execution, build and run:
29
+
30
+ ```bash
31
+ node .qa-ai/scripts/clean.mjs --<scope> --force
32
+ ```
33
+
34
+ Only add `--include-modified` when explicitly approved.
35
+
36
+ If `$ARGUMENTS` is not empty, treat it as advanced mode and run:
37
+
38
+ ```bash
39
+ node .qa-ai/scripts/clean.mjs $ARGUMENTS
40
+ ```
41
+
42
+ Do not delete anything outside the manifest-based clean script.
@@ -0,0 +1,51 @@
1
+ ---
2
+ description: Import or export QA FlowKit configuration / Importar o exportar configuracion de QA FlowKit
3
+ argument-hint: [--export path | --import path]
4
+ ---
5
+
6
+ Import or export a reusable QA FlowKit configuration profile.
7
+
8
+ Read these files first:
9
+
10
+ - `AGENTS.md`
11
+ - `qa-ai.config.yaml` when present
12
+ - `.qa-ai/rules/`
13
+ - `.qa-ai/agents/README.md`
14
+
15
+ Use `project.interfaceLanguage` / `project.defaultLanguage` from `qa-ai.config.yaml` when present for user-facing questions and summaries.
16
+
17
+ If `$ARGUMENTS` is empty, ask the user:
18
+
19
+ 1. Do you want to export the current config or import an existing profile?
20
+ 2. What repo-local profile path should be used?
21
+ - Recommended export path: `.qa-ai/config-profiles/team.yaml`.
22
+ 3. If importing and `qa-ai.config.yaml` already exists, should it be overwritten?
23
+ - Recommend `no`; only use `--force` if the user explicitly approves.
24
+
25
+ For export, run:
26
+
27
+ ```bash
28
+ node .qa-ai/scripts/config.mjs --export <profile-path>
29
+ ```
30
+
31
+ For import, run:
32
+
33
+ ```bash
34
+ node .qa-ai/scripts/config.mjs --import <profile-path>
35
+ ```
36
+
37
+ Only add `--force` when the user explicitly approves overwriting. Add `--no-structure` only when the user wants to import the YAML without creating configured folders or refreshing `.qa-ai/agents/specialists/active.md`.
38
+
39
+ If `$ARGUMENTS` is not empty, treat it as advanced mode and run:
40
+
41
+ ```bash
42
+ node .qa-ai/scripts/config.mjs $ARGUMENTS
43
+ ```
44
+
45
+ After import, run or suggest:
46
+
47
+ ```bash
48
+ node .qa-ai/scripts/doctor.mjs
49
+ ```
50
+
51
+ Do not write to external tools.
@@ -0,0 +1,46 @@
1
+ ---
2
+ description: Analyze QA functional coverage / Analizar cobertura funcional QA
3
+ argument-hint: [RF ID, requirement source, or scope]
4
+ ---
5
+
6
+ Analyze functional QA coverage across requirements, `.feature` files, manual tests and automated tests.
7
+
8
+ Read these files first:
9
+
10
+ - `AGENTS.md`
11
+ - `qa-ai.config.yaml` when present
12
+ - `.qa-ai/rules/`
13
+ - `.qa-ai/agents/README.md`
14
+ - `.qa-ai/agents/qa-workflow-orchestrator.md`
15
+ - `.qa-ai/agents/testrail-coverage-agent.md`
16
+ - `.qa-ai/agents/automation-feasibility-agent.md`
17
+ - `.qa-ai/agents/specialists/active.md` when present
18
+ - `.qa-ai/workflows/automation-analysis.md`
19
+ - `.qa-ai/workflows/testrail-sync.md`
20
+
21
+ Use `project.interfaceLanguage` / `project.defaultLanguage` from `qa-ai.config.yaml` for user-facing questions and summaries.
22
+
23
+ If `$ARGUMENTS` is empty or ambiguous, ask the user:
24
+
25
+ 1. What scope should be analyzed: one RF, a requirement source, a feature folder, or the whole repo?
26
+ 2. Where are the requirements or acceptance criteria for that scope?
27
+ 3. Should configured test management data be considered from local exports/mapping files?
28
+
29
+ Then present a concise plan before modifying files.
30
+
31
+ Coverage dimensions:
32
+
33
+ - Requirement/RF coverage.
34
+ - Acceptance criteria coverage.
35
+ - Manual test coverage.
36
+ - Automated test coverage.
37
+ - Gaps, duplicates, overlaps and stale tests.
38
+ - Automation candidates and blockers.
39
+
40
+ Expected local artifacts:
41
+
42
+ - `qa-ai-output/qa-coverage-report.md`
43
+ - `qa-ai-output/testrail-coverage-analysis.md` when test management is configured or local mapping data exists
44
+ - `qa-ai-output/traceability-matrix.md` when useful
45
+
46
+ Do not modify tests or write to external tools unless the user explicitly asks and approves a follow-up change.
@@ -0,0 +1,11 @@
1
+ # /qa-doctor
2
+
3
+ Run the QA FlowKit doctor script and explain the results.
4
+
5
+ Read `qa-ai.config.yaml` when present and explain results in its configured interface language (`project.interfaceLanguage` / `project.defaultLanguage`, `en` or `es`).
6
+
7
+ For target-repository CI or post-flow hardening, tell the user they can run `node .qa-ai/scripts/validate-target.mjs`, which includes `doctor --strict`, feature validation, traceability validation, sync-plan validation and active-specialist validation.
8
+
9
+ Command output:
10
+
11
+ !`node .qa-ai/scripts/doctor.mjs`
@@ -0,0 +1,59 @@
1
+ ---
2
+ description: Guided full QA FlowKit workflow / Workflow completo guiado de QA FlowKit
3
+ argument-hint: [optional requirement source]
4
+ ---
5
+
6
+ Run the complete QA AI workflow for the configured requirement source, Markdown PRD/RF or pasted requirement.
7
+
8
+ Read these files first:
9
+
10
+ - `AGENTS.md`
11
+ - `qa-ai.config.yaml`
12
+ - `.qa-ai/rules/`
13
+ - `.qa-ai/agents/README.md`
14
+ - `.qa-ai/agents/qa-workflow-orchestrator.md`
15
+ - `.qa-ai/agents/specialists/active.md` when present
16
+ - `.qa-ai/workflows/full-flow.md`
17
+
18
+ For each phase, load the matching phase agent from `.qa-ai/agents/README.md` and any active specialists before producing or changing artifacts. If the current tool cannot call subagents, treat those Markdown files as required role instructions.
19
+
20
+ Use `project.interfaceLanguage` / `project.defaultLanguage` from `qa-ai.config.yaml` for user-facing questions and descriptions. Use `gherkin.language` only for generated `.feature` files. Supported values are `en` and `es`; default to `en` if the config is missing.
21
+
22
+ If `$ARGUMENTS` is empty or the requirement source is ambiguous, ask the user:
23
+
24
+ 1. Where is the requirement source?
25
+ - Example: `docs/prd.md`, `docs/PRD/checkout.md`, pasted text, configured issue ID or documentation page reference.
26
+ 2. What is the official RF ID?
27
+ - If missing, say final `.feature` generation will pause until it is provided.
28
+ 3. What test management project/suite should be used for coverage/sync planning?
29
+ - If unknown, produce local placeholder analysis and mark the decision as pending.
30
+ 4. Should this run produce only proposal artifacts first, or continue to `.feature` generation after approval?
31
+ - Recommend proposal artifacts first.
32
+
33
+ Then present a concise plan before modifying files.
34
+
35
+ Expected local artifacts:
36
+
37
+ - `qa-ai-output/requirement-analysis.md`
38
+ - `qa-ai-output/testrail-coverage-analysis.md`
39
+ - `qa-ai-output/test-design-proposal.md`
40
+ - `.feature` files under the configured feature path after approval
41
+ - `qa-ai-output/testrail-sync-plan.md`
42
+ - `qa-ai-output/traceability-matrix.md`
43
+ - `qa-ai-output/automation-feasibility-report.md`
44
+ - `qa-ai-output/automation-implementation-plan.md`
45
+ - `qa-ai-output/pr-summary.md`
46
+
47
+ After feature and QA artifact changes, run the aggregated target-repository validator:
48
+
49
+ ```bash
50
+ node .qa-ai/scripts/validate-target.mjs
51
+ ```
52
+
53
+ For early/incomplete repositories, use `node .qa-ai/scripts/validate-target.mjs --allow-empty --allow-missing --no-strict-doctor`.
54
+
55
+ Do not write to configured external tools. Ask for the official RF ID before final feature generation if it is missing.
56
+
57
+ Respect `project.qaTrack` from `qa-ai.config.yaml` (see `.qa-ai/workflows/full-flow.md`).
58
+
59
+ When this workflow step completes, run `/qa-help` or `node .qa-ai/scripts/qa-help.mjs` and share the recommended next phase.
@@ -0,0 +1,36 @@
1
+ ---
2
+ description: Release quality gate decision / Decisión de release gate
3
+ argument-hint: [optional scope or RF ID]
4
+ ---
5
+
6
+ Produce or update the formal release gate for this repository.
7
+
8
+ Read first:
9
+
10
+ - `AGENTS.md`
11
+ - `qa-ai.config.yaml`
12
+ - `.qa-ai/rules/approval.rules.md`
13
+ - `.qa-ai/agents/release-gate-agent.md`
14
+ - `.qa-ai/workflows/release-gate.md`
15
+
16
+ Review QA artifacts (`qa-ai-output/pr-summary.md`, `qa-ai-output/traceability-matrix.md`, sync plan when present) and recent validator output.
17
+
18
+ If useful, run:
19
+
20
+ ```bash
21
+ node .qa-ai/scripts/validate-target.mjs
22
+ ```
23
+
24
+ Present a short plan before editing `qa-ai-output/release-gate.yaml` (or the configured `release.gatePath`).
25
+
26
+ Set `decision` to one of: `PASS`, `CONCERNS`, `FAIL`, `WAIVED`. Do not leave `PENDING` for a final release without user approval.
27
+
28
+ After updating the gate file, run:
29
+
30
+ ```bash
31
+ node .qa-ai/scripts/validate-release-gate.mjs
32
+ ```
33
+
34
+ Then run `/qa-help` and share the result with the user.
35
+
36
+ Do not perform external writes. Ask for explicit approval before `PASS` or `WAIVED` on regulated releases.
@@ -0,0 +1,30 @@
1
+ ---
2
+ description: QA workflow guidance — what to do next / Guía del flujo QA
3
+ argument-hint: [optional question]
4
+ ---
5
+
6
+ Provide context-aware guidance for the next QA workflow step in this repository.
7
+
8
+ Read these files first:
9
+
10
+ - `AGENTS.md`
11
+ - `qa-ai.config.yaml` when present
12
+ - `.qa-ai/agents/qa-workflow-orchestrator.md`
13
+
14
+ Run:
15
+
16
+ ```bash
17
+ node .qa-ai/scripts/qa-help.mjs
18
+ ```
19
+
20
+ If `$ARGUMENTS` is provided, pass it as the question:
21
+
22
+ ```bash
23
+ node .qa-ai/scripts/qa-help.mjs "$ARGUMENTS"
24
+ ```
25
+
26
+ Present the CLI output clearly, grouped by priority (required, recommended, optional). Expand with brief agent context when useful, but do not invent phases that `qa-help` did not recommend.
27
+
28
+ Do not modify files unless the user explicitly asks to execute the recommended phase.
29
+
30
+ At the end of any other `/qa-*` workflow you complete in this session, remind the user to run `/qa-help` for the next step.
@@ -0,0 +1,70 @@
1
+ ---
2
+ description: Guided QA FlowKit initialization / Inicializacion guiada de QA FlowKit
3
+ argument-hint: [optional init flags]
4
+ ---
5
+
6
+ Initialize QA FlowKit from the copied `.qa-ai/` framework folder.
7
+
8
+ If the user already has an exported configuration profile from another repository with the same structure, suggest `/qa-config --import <profile-path>` instead of repeating guided init.
9
+
10
+ If the user provides `--qa-context <path>` or says they have a folder describing how QA works, load `.qa-ai/workflows/context-intake.md` and `.qa-ai/agents/qa-context-intake-agent.md` before choosing init defaults. Read the repository-local QA context folder, summarize explicit versus inferred practices, propose init flags, and ask for approval before running `init.mjs`.
11
+
12
+ If `$ARGUMENTS` is empty, do not run anything yet. Ask the user these questions first. Ask question 1 in both English and Spanish; after the user chooses an interface language, ask the remaining questions in that interface language.
13
+
14
+ 1. Which language should QA FlowKit use for user-facing workflow descriptions and questions? / Que idioma debe usar QA FlowKit para las descripciones y preguntas del workflow?
15
+ - `en`: English.
16
+ - `es`: Espanol.
17
+ 2. Do you have a repository-local folder that documents how the QA team works?
18
+ - If yes, ask for the path, for example `qa-ai-knowledge`, then run the QA context intake workflow before continuing.
19
+ - If no, continue with standard guided init.
20
+ 3. Which Gherkin language should generated `.feature` files use?
21
+ - `en`: English Gherkin keywords and `Acceptance Criteria:`.
22
+ - `es`: Spanish Gherkin keywords and `Criterios de aceptacion:`.
23
+ 4. Which base template should be used?
24
+ - `manual-only`: QA artifact generation only; no automation folders.
25
+ - `webdriverio-playwright-api`: WebdriverIO UI/E2E plus Playwright API folders.
26
+ - `selenium-jest-browserstack`: Selenium/Jest/BrowserStack style folders.
27
+ 5. What is the primary requirements source?
28
+ - Examples: `markdown`, `jira`, `confluence`, `pasted-text`.
29
+ 6. Which test management tool should be configured?
30
+ - Examples: `none`, `testrail`, `zephyr`, `xray`.
31
+ 7. Which issue tracker should be configured?
32
+ - Examples: `none`, `jira`, `github`.
33
+ 8. Should the base template UI/E2E framework be overridden?
34
+ - Examples: `none`, `undecided`, `webdriverio`, `playwright`, `cypress`, `selenium`.
35
+ 9. Should the base template API/integration framework be overridden?
36
+ - Examples: `none`, `undecided`, `playwright-api`, `postman`, `rest-assured`, `karate`.
37
+ 10. Should any generated paths be customized?
38
+ - Optional flags: `--ui-specs-path`, `--ui-page-objects-path`, `--api-specs-path`.
39
+ 11. Which agent adapters should be generated?
40
+ - Recommend `claude,opencode` when the user wants both.
41
+ - Use `claude` when the repo will only use Claude Code.
42
+ - Use `all` when the user wants every supported adapter.
43
+ 12. Should existing generated files be overwritten?
44
+ - Recommend `no`; only use `--force` if the user explicitly asks.
45
+
46
+ After the user answers, build and run:
47
+
48
+ ```bash
49
+ node .qa-ai/scripts/init.mjs --preset <base-template> --interface-language <en|es> --gherkin-language <en|es> --requirements-source <source> --test-management-tool <tool> --issue-tracker <tool> --adapters <adapters>
50
+ ```
51
+
52
+ Add `--qa-context <path>` when a QA context folder was approved. Only add `--ui-framework`, `--api-framework`, path override flags or `--set key=value` when the user asks for custom configuration that differs from the base template or the approved QA context recommendation. Only add `--force` if the user explicitly approved overwriting.
53
+
54
+ If `$ARGUMENTS` is not empty, treat it as advanced mode and run:
55
+
56
+ ```bash
57
+ node .qa-ai/scripts/init.mjs $ARGUMENTS
58
+ ```
59
+
60
+ Exception: when `$ARGUMENTS` includes `--qa-context`, read that context first and present the proposed defaults. Treat explicit flags in `$ARGUMENTS` as user-approved overrides, then run the final command after confirming any inferred choices.
61
+
62
+ After the command finishes:
63
+
64
+ 1. Summarize what was created, skipped or warned in the selected interface language.
65
+ 2. Run or suggest `node .qa-ai/scripts/doctor.mjs`.
66
+ 3. Explain that source-repo maintainers can run `npm run validate:oss-extraction`, while target repositories should run `node .qa-ai/scripts/validate-target.mjs` after real QA artifacts exist.
67
+ 4. If QA context was used, write or update `qa-ai-output/qa-knowledge-summary.md` and `qa-ai-output/qa-init-decisions.md` unless the user declined artifact writes.
68
+ 5. Tell the user in the selected interface language that QA agents are loaded from `.qa-ai/agents/README.md`, active specialists from `.qa-ai/agents/specialists/active.md`, and QA context artifacts from `knowledge.summaryPath` / `knowledge.decisionsPath` when enabled.
69
+ 6. Tell the user in the selected interface language to restart Claude Code if newly generated slash commands do not appear immediately.
70
+ 7. Do not write to configured external tools.
@@ -0,0 +1,56 @@
1
+ ---
2
+ description: Summarize QA AI repo status / Resumir estado del repo QA AI
3
+ argument-hint: [optional scope]
4
+ ---
5
+
6
+ Summarize the current QA FlowKit status for this repository.
7
+
8
+ Read these files first:
9
+
10
+ - `AGENTS.md`
11
+ - `qa-ai.config.yaml` when present
12
+ - `.qa-ai/rules/`
13
+ - `.qa-ai/agents/README.md`
14
+ - `.qa-ai/agents/qa-workflow-orchestrator.md`
15
+ - `.qa-ai/agents/specialists/active.md` when present
16
+
17
+ Use `project.interfaceLanguage` / `project.defaultLanguage` from `qa-ai.config.yaml` for the summary.
18
+
19
+ If `$ARGUMENTS` is empty, inspect the whole configured QA workspace. If `$ARGUMENTS` is provided, treat it as a folder, RF ID or scope filter.
20
+
21
+ Run setup and validation checks when useful. Use `--allow-empty` only for freshly initialized repositories where artifacts do not exist yet:
22
+
23
+ ```bash
24
+ node .qa-ai/scripts/doctor.mjs
25
+ node .qa-ai/scripts/validate-features.mjs --allow-empty
26
+ node .qa-ai/scripts/validate-traceability.mjs --allow-empty --allow-missing
27
+ node .qa-ai/scripts/validate-sync-plan.mjs --allow-empty --allow-missing
28
+ node .qa-ai/scripts/validate-active-specialists.mjs --allow-missing
29
+ ```
30
+
31
+ For initialized target repositories after a real QA flow, recommend running the validators without `--allow-empty` / `--allow-missing` and add `node .qa-ai/scripts/doctor.mjs --strict` for CI hardening.
32
+
33
+ Shortcut for target repositories:
34
+
35
+ ```bash
36
+ node .qa-ai/scripts/validate-target.mjs
37
+ ```
38
+
39
+ Summarize:
40
+
41
+ - Configured interface and Gherkin languages.
42
+ - `project.qaTrack` (`quick`, `standard`, or `enterprise`).
43
+ - Requirement source, test management tool and issue tracker.
44
+ - Feature path and `.feature` counts by type/tag/manual flag.
45
+ - Automation frameworks and configured automation paths.
46
+ - Existing QA output artifacts.
47
+ - Active specialists.
48
+ - Warnings, gaps and recommended next command.
49
+
50
+ For the recommended next command, run and include output from:
51
+
52
+ ```bash
53
+ node .qa-ai/scripts/qa-help.mjs
54
+ ```
55
+
56
+ Do not modify files.
@@ -0,0 +1,47 @@
1
+ ---
2
+ description: Review and update QA tests after RF changes / Revisar y actualizar pruebas tras cambios de RF
3
+ argument-hint: [updated requirement source or RF ID]
4
+ ---
5
+
6
+ Review existing QA tests when an RF or its acceptance criteria has changed.
7
+
8
+ Read these files first:
9
+
10
+ - `AGENTS.md`
11
+ - `qa-ai.config.yaml` when present
12
+ - `.qa-ai/rules/`
13
+ - `.qa-ai/agents/README.md`
14
+ - `.qa-ai/agents/qa-workflow-orchestrator.md`
15
+ - `.qa-ai/agents/gherkin-test-design-agent.md`
16
+ - `.qa-ai/agents/testrail-coverage-agent.md`
17
+ - `.qa-ai/agents/specialists/active.md` when present
18
+ - `.qa-ai/workflows/test-design.md`
19
+
20
+ Use `project.interfaceLanguage` / `project.defaultLanguage` from `qa-ai.config.yaml` for user-facing questions and summaries. Use `gherkin.language` only for `.feature` rules.
21
+
22
+ If `$ARGUMENTS` is empty or ambiguous, ask the user:
23
+
24
+ 1. Where is the updated RF source?
25
+ 2. What is the official RF ID?
26
+ 3. Which existing tests are in scope: all tests for that RF, a folder, or specific files?
27
+ 4. Should this run stop at a change proposal first?
28
+ - Recommend stopping at the proposal first.
29
+
30
+ Then present a concise plan before modifying files.
31
+
32
+ Workflow:
33
+
34
+ 1. Inspect existing `.feature` files, automation tests and traceability artifacts for the RF.
35
+ 2. Compare current tests with the updated RF and acceptance criteria.
36
+ 3. Produce or update `qa-ai-output/test-design-proposal.md` with explicit sections:
37
+ - Existing tests to keep.
38
+ - Existing tests to modify.
39
+ - Existing tests to retire or delete.
40
+ - New tests to add.
41
+ - Ambiguities requiring user decision.
42
+ 4. Ask for approval before changing, deleting or adding tests.
43
+ 5. Apply only the approved changes.
44
+ 6. Run `node .qa-ai/scripts/validate-features.mjs`, `node .qa-ai/scripts/validate-traceability.mjs` and `node .qa-ai/scripts/validate-sync-plan.mjs` after feature/artifact changes.
45
+ 7. Update `qa-ai-output/traceability-matrix.md` when useful.
46
+
47
+ Never delete tests by default. Do not write to configured external tools.
@@ -0,0 +1,36 @@
1
+ ---
2
+ description: Validate QA FlowKit Gherkin feature files / Validar archivos Gherkin de QA FlowKit
3
+ argument-hint: [optional validator flags]
4
+ ---
5
+
6
+ Validate QA FlowKit `.feature` files.
7
+
8
+ Read `qa-ai.config.yaml` when present and use its configured interface language (`project.interfaceLanguage` / `project.defaultLanguage`, `en` or `es`) for questions, descriptions and summaries. The validator itself uses `gherkin.language` for `.feature` rules.
9
+ Before proposing feature fixes, read `.qa-ai/agents/gherkin-test-design-agent.md` and `.qa-ai/agents/specialists/active.md` when present.
10
+
11
+ If `$ARGUMENTS` is empty, run the validator using the configured feature path:
12
+
13
+ ```bash
14
+ node .qa-ai/scripts/validate-features.mjs
15
+ ```
16
+
17
+ If the user wants a custom path, ask for it and run:
18
+
19
+ ```bash
20
+ node .qa-ai/scripts/validate-features.mjs --path <feature-root>
21
+ ```
22
+
23
+ If `$ARGUMENTS` is not empty, treat it as advanced mode and run:
24
+
25
+ ```bash
26
+ node .qa-ai/scripts/validate-features.mjs $ARGUMENTS
27
+ ```
28
+
29
+ Explain any validation failures and propose the smallest safe fixes. Do not modify feature files unless the user approves.
30
+
31
+ When feature validation passes and traceability or test-management artifacts exist, recommend the companion validators:
32
+
33
+ ```bash
34
+ node .qa-ai/scripts/validate-traceability.mjs
35
+ node .qa-ai/scripts/validate-sync-plan.mjs
36
+ ```
@@ -0,0 +1,25 @@
1
+ # Cline Adapter
2
+
3
+ Use `.clinerules` plus `AGENTS.md` as the primary instruction layer for Cline.
4
+
5
+ Related docs: [main README](../../../../README.md) | [agent compatibility](../../../../docs/qa-ai/agent-compatibility.md)
6
+
7
+ ## Read First
8
+
9
+ | File | Purpose |
10
+ |---|---|
11
+ | `.clinerules` | Cline-specific behavior rules |
12
+ | `AGENTS.md` | Generic behavior and safety rules |
13
+ | `qa-ai.config.yaml` | Target repository configuration |
14
+ | `.qa-ai/rules/` | Mandatory QA workflow rules |
15
+
16
+ ## Local Checks
17
+
18
+ | Command | Purpose |
19
+ |---|---|
20
+ | `node .qa-ai/scripts/config.mjs --help` | Import/export reusable QA AI config profiles |
21
+ | `node .qa-ai/scripts/doctor.mjs` | Check setup health |
22
+ | `node .qa-ai/scripts/validate-features.mjs` | Validate `.feature` files |
23
+ | `node .qa-ai/scripts/clean.mjs` | Preview generated artifact cleanup |
24
+
25
+ Run cleanup as a dry-run before deleting anything, and ask for explicit approval before destructive actions.