skills/qa-test-data/SKILL.md
# Skill: QA Test Data Generation > Generates deterministic verification artifacts from task definitions. It produces behavioral tests when the task warrants tests, and produces command-verifier metadata when the task is maintenance. --- ## Trigger Activated after the Build Brief and task classification are available. Consumes `task_classification`, `verification_spec`, and task-level acceptance criteria. --- ## Input Contract ```json { "build_brief_id": "string", "task_classification"
npx skillsauth add bigeasyfreeman/adlc skills/qa-test-dataInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generates deterministic verification artifacts from task definitions. It produces behavioral tests when the task warrants tests, and produces command-verifier metadata when the task is maintenance.
Activated after the Build Brief and task classification are available. Consumes task_classification, verification_spec, and task-level acceptance criteria.
{
"build_brief_id": "string",
"task_classification": "feature | bugfix | build_validation | lint_cleanup",
"verification_spec": {
"primary_verifier": {
"type": "test | reproducer | command",
"command": "string",
"target": "string",
"expected_pre_change": "fail",
"expected_post_change": "pass"
},
"secondary_verifiers": [],
"must_fail_before_change": true,
"must_be_deterministic": true,
"scope_note": "string"
},
"acceptance_criteria": [
{
"id": "AC-001",
"given": "string",
"when": "string",
"then": "string"
}
],
"tasks": [
{
"task_id": "string",
"objective": "string",
"acceptance_criteria": [],
"reference_impl": "string",
"language": "typescript | python | scala | go",
"test_directory": "string"
}
],
"repo_path": "string",
"test_framework": "jest | vitest | pytest | scalatest | go_test"
}
{
"task_id": "string",
"task_classification": "feature | bugfix | build_validation | lint_cleanup",
"verification_mode": "behavioral_tests | reproducer | command_check",
"verification_spec": {},
"test_suites": [
{
"task_id": "string",
"fixture_file": "path/to/fixtures.json",
"test_file": "path/to/test_file",
"scenarios": []
}
],
"command_checks": [
{
"name": "string",
"command": "string",
"expected_pre_change": "fail",
"expected_post_change": "pass",
"scope_note": "string"
}
],
"seed_script": "path/to/seed.sql or seed.ts",
"summary": "string"
}
test_suites is only populated for feature and bugfix tasks. command_checks is mandatory for build_validation and lint_cleanup. The output should never invent behavioral suites for maintenance work.
The task class controls what gets generated:
feature: generate behavioral tests that define successbugfix: generate a minimal reproducer and a regression guardbuild_validation: generate the exact failing build or test commandlint_cleanup: generate the exact failing lint, fmt, or static-analysis commandIf the task class does not justify behavioral tests, do not create them.
Feature tasks
Bugfix tasks
Build validation tasks
Lint cleanup tasks
Every generated artifact must be replayable:
Date.now()If a test requires external setup, seed it explicitly and idempotently.
Fixtures are required only when the verifier needs them.
Fixture rules:
Every generated verifier must satisfy:
If the verifier would pass for the wrong reason, it is too weak.
generate_qa_test_data{
"name": "generate_qa_test_data",
"description": "Generate deterministic behavioral tests or command-verifier metadata from task definitions",
"inputSchema": {
"type": "object",
"properties": {
"build_brief_section": {
"type": "string",
"description": "The task breakdown section from the Build Brief as markdown"
},
"repo_path": {
"type": "string",
"description": "Path to the repository root"
},
"output_directory": {
"type": "string",
"description": "Where to write generated artifacts"
}
},
"required": ["build_brief_section", "repo_path"]
}
}
validate_test_determinism{
"name": "validate_test_determinism",
"description": "Run generated artifacts twice and verify identical results to confirm determinism",
"inputSchema": {
"type": "object",
"properties": {
"test_suite_path": {
"type": "string",
"description": "Path to the generated test suite or verifier bundle"
},
"runs": {
"type": "integer",
"default": 2,
"description": "Number of times to run for determinism check"
}
},
"required": ["test_suite_path"]
}
}
# Generate verification artifacts from a build brief
adlc-qa generate --brief ./build-brief.md --repo ./my-repo --output ./my-repo/tests/generated
# Validate determinism of generated verification artifacts
adlc-qa validate --suite ./my-repo/tests/generated --runs 3
# Generate only fixtures when the task class warrants behavioral tests
adlc-qa fixtures --brief ./build-brief.md --repo ./my-repo --output ./my-repo/tests/fixtures
Before generating, the skill searches the target repo for existing conventions:
find . -path "*/__tests__/*" -o -path "*/test/*" -name "*.test.*" | head -20
find . -name "*.fixture.*" -o -name "*.factory.*" -o -name "*.seed.*"
find . -path "*/test/helpers/*" -o -path "*/test/utils/*" -o -path "*/__tests__/helpers/*"
find . -name "jest.config.*" -o -name "pytest.ini" -o -name "conftest.py" -o -name "build.sbt" | head -5
Use that research only when the task class needs test artifacts. Do not generate behavioral suites for build-validation or lint-cleanup tasks.
feature and bugfixcontract_versioninvalid_task_classification, invalid_acceptance_criteria, schema_mismatch, and missing_verifier_targetdevelopment
Orchestration skill: chains the full ADLC Build Loop. PRD → Brief → Council → Scaffold → Codegen → LDD → TDD → Council → PR. Use when implementing a new feature end-to-end.
development
# Skill: Helm & ArgoCD Deployment > Validates Helm charts and generates ArgoCD Application manifests when the ADLC pipeline produces infrastructure or service code. Ensures every deployable artifact has correct chart structure, environment-specific values, and a GitOps-ready Application manifest before code review. --- ## Why This Exists Without deployment validation in the pipeline, common failures slip through to production: - **Helm charts fail `helm template`** because of missing values,
testing
Decide whether an intersecting verifier actually exercises the semantic change.
development
# Skill: UX Flow Builder > Generates user flow diagrams (Mermaid) from PRD personas and screen specifications. Surfaces dead ends, missing screens, and disconnected flows before design or engineering starts. Helps PMs think in screens, not features. --- ## Trigger - Automatically during PRD Phase 4 (Personas & Flows) to visualize the user journey - On-demand when the PM says "show me the flow" or "map the user journey" - During PRD evaluation to verify screen connectivity --- ## Input ```