qa-author-by-task
Skill9 starsChanged 6 months agoApache-2.0View on GitHub
QA-Author by-task mode procedure. Use when QA-Author is dispatched for a master-plan task after TL, and after design-confirmed for UI tasks, to author task-scoped structural/api/e2e/functional test cases under docs/test-cases/by-task/<task-id>/ and coordinate visual-spec generation for UI tasks.
In this repository61 other files it gives its agents.
- rules/CLAUDE.mdCLAUDE.md
- acceptance-criteria-authorSkill
- adr-authorSkill
- api-contract-authorSkill
- backend-logging-traceabilitySkill
- ba-design-completenessSkill
- ba-ingestion-pipelineSkill
- ba-iteration-planningSkill
- ba-mode-augmentSkill
- ba-mode-external-sourceSkill
- ba-mode-multi-docSkill
- ba-mode-requirements-folderSkill
- ba-mode-reverse-engineerSkill
- ba-mode-single-docSkill
- ba-post-implementationSkill
- be-framework-coding-standardSkill
- c4-authorSkill
- codebase-inventorySkill
- data-lifecycle-contractsSkill
- design-system-authorSkill
- docker-deploymentSkill
- external-integration-adequacySkill
- fe-framework-coding-standardSkill
- figma-canvas-layoutSkill
- figma-design-handoffSkill
- figma-requirements-extractionSkill
- figma-srs-mappingSkill
- flutter-implementationSkill
- flutter-performanceSkill
- flutter-platform-integrationSkill
- format-boundary-contractsSkill
- git-commitSkill
- incident-debuggingSkill
- intent-archaeologySkill
- kubernetes-deploymentSkill
- local-deploymentSkill
- migration-safetySkill
- observability-readinessSkill
- playwright-authorSkill
- qa-author-by-usSkill
- qa-execution-runnerSkill
- react-native-implementationSkill
- react-native-performanceSkill
- react-native-platform-integrationSkill
- release-readinessSkill
- rollback-readinessSkill
- sa-architecture-designSkill
- sa-brownfield-extractSkill
- secrets-config-auditSkill
- security-compliance-checklistSkill
- solution-defaultsSkill
- ssh-remote-operationsSkill
- staging-deploymentSkill
- task-sizingSkill
- <kebab-case-name-matching-folder>Skill
- test-case-authorSkill
- third-party-dependency-evaluationSkill
- ui-test-executionSkill
- ui-ux-page-scopingSkill
- user-story-authorSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Use this skill for QA-Author by-task mode.
- Distinctive: line 34
Verify by-us coverage exists for each linked US.
- Distinctive: line 44
Ensure runner test names start with the TC ID.
- Distinctive: line 49
Never author by-task cases into by-us paths or the reverse.
- Distinctive: line 50
Never invent missing API contract behavior.
- Distinctive: line 51
Never write structural UI tests before visual spec exists.
- Distinctive: line 52
Every executable TC needs a real spec file.
- Distinctive: line 53
Commit before signaling ready-to-finalize.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
QA Author By-Task
Use
Use this skill for QA-Author by-task mode. Load test-case-author for TC format, ui-test-execution for executable specs, and visual-spec-author before writing structural tests for UI tasks.
Inputs
- Task file under
docs/plan/phase-*/tasks/<task-id>.md - Linked US/FR files
docs/architecture.md- Frozen API contracts for BE/BE+FE tasks
docs/uiux/handoffs/<task-id>.mdanddocs/instrumentation-contract.mdfor UI tasks- Existing by-us test cases for linked US IDs
Preconditions
- TL has linked US IDs and FR IDs.
- UI tasks have
design-confirmedand a handoff on main. - FE tasks dependent on BE contracts have frozen API contracts.
- Missing preconditions cause
NEEDS_CONTEXT/blocked return; do not author partial task TCs silently.
Procedure
- Verify by-us coverage exists for each linked US. If missing, file an open issue and continue only for task-specific layers that can be authored safely.
- Determine required task layers:
api.mdfor BE or BE+FE contract/API work;structural.mdfor UI tasks;e2e.mdfor multi-system or cross-surface flows;functional.mdonly for task-specific behavior not covered by by-us.
- For UI tasks, run
visual-spec-authorfirst. Structural TCs derive fromdocs/uiux/visual-specs/<task-id>.md, not from ad-hoc Figma interpretation. - For API tests, read both the FR file and frozen API contract. If they disagree, file an open issue; do not silently let one override the other.
- Author markdown TCs under
docs/test-cases/by-task/<task-id>/. - Author executable specs at every TC's
Executable:path using the project runner conventions. - Ensure runner test names start with the TC ID.
- Emit
plan-update.jsonwithtrack: "qa"and by-task notes.
Hard Rules
- Never author by-task cases into by-us paths or the reverse.
- Never invent missing API contract behavior.
- Never write structural UI tests before visual spec exists.
- Every executable TC needs a real spec file.
- Commit before signaling ready-to-finalize.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

