Skip to content

Phase 3 - Design

Design is where AI helps you build the test artefacts for each domain. Every design skill reads qa-plan.md first - if a domain is not in scope, the skill will not proceed.

Design produces config files, plans, and YAML scripts that Phase 4 (Execution) runs deterministically. No AI is in the loop during execution.


Skills in this phase

SkillDomainOutput
/qa-apiAPIqa-reports/api/api-test-plan.json
/qa-uiUIqa-reports/ui/ui-test.yaml
/qa-a11yAccessibilityqa-reports/a11y/ui-test.yaml with scan steps
/qa-perfPerformanceload-tests/dq-nbomber.yaml
/qa-coverageAllqa-coverage.md gap analysis
/qa-codegenAllExported .spec.ts / C# .NET for CI

API design (/qa-api)

Reads your OpenAPI/Swagger or GraphQL schema via the democratize-quality MCP server and generates a comprehensive test plan covering every endpoint in scope.

Test categories generated:

CategoryExamples
Happy pathValid requests with expected responses
AuthenticationMissing token, expired token, wrong scope
Input validationRequired fields missing, wrong types, boundary values
Error responses400, 401, 403, 404, 409, 500
Schema validationResponse body matches declared schema
Edge casesEmpty arrays, null values, max string lengths

Output: qa-reports/api/api-test-plan.json


UI design (/qa-ui)

Explores the live application and builds a YAML interaction script for accessibility-cli. The skill navigates page-by-page, resolves real CSS selectors, and writes each step as it is confirmed.

Output: qa-reports/ui/ui-test.yaml - a Playwright-driven interaction script


Accessibility design (/qa-a11y)

Builds on the UI script by adding WCAG scan steps per page. It reads dq-qa.config.json for jurisdiction and conformance level (A, AA, AAA) and contextually decides which axe-core checks apply.

Output: Scan steps appended to the UI YAML, or a standalone audit YAML if no UI script exists


Performance design (/qa-perf)

Generates a dq-nbomber.yaml load test configuration from your API schema. It collects load parameters (virtual users, duration, ramp-up) and validates the YAML before handing off to execution.

Output: load-tests/dq-nbomber.yaml


Coverage check (/qa-coverage)

After all design skills have run, /qa-coverage compares the test designs against qa-plan.md requirements to confirm nothing was missed. It produces a gap table showing which requirements have test coverage and which do not.

Output: qa-coverage.md


CI export (/qa-codegen)

Optional but recommended before pipeline integration. Exports the YAML-based test scripts into native code formats for deterministic CI runs with no AI dependency.

DomainExported format
UI / A11yPlaywright .spec.ts files
PerformanceFull C# .NET NBomber project

Phase gate

Phase 3 is complete when:

  • [x] Each in-scope domain has a design artefact in qa-reports/
  • [x] /qa-coverage shows no critical gaps
  • [x] (Optional) /qa-codegen has exported CI-ready test code

Once designs are complete, proceed to Phase 4 - Execution.

Released under the AGPL-3.0 License.