qa-author-by-us
Skill9 starsChanged 6 months agoApache-2.0View on GitHub
QA-Author by-us mode procedure. Use when QA-Author is dispatched after SRS sign-off to author User Story scoped functional test cases under docs/test-cases/by-us/<US-ID>/, create executable spec scaffolding, perform Pass 1 selector TODO marking, or perform Pass 2 selector backfill from docs/instrumentation-contract.md.
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-taskSkill
- 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, 5 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
3
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-us mode.
- Very specific: line 37
Use selectors from docs/instrumentation-contract.md when available.
- Very specific: line 38
If a needed selector is missing, write a literal TODO: instrumentation-contract -- <purpose> marker in the framework's comment syntax and …
- Distinctive: line 45
If a selector is still missing from the contract, keep the marker and raise/update an open issue against SA.
- Distinctive: line 52
Use the literal marker so QA-Exec can grep it:
- Distinctive: line 62
Do not invent selectors.
- Distinctive: line 64
Every executable TC must have a spec file.
- Distinctive: line 65
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-US
Use
Use this skill for QA-Author by-us mode. Load test-case-author first for TC format and coverage rules, then ui-test-execution for executable spec conventions.
Inputs
- Signed-off
docs/SRS.md - Per-US files at
docs/user-stories/<US-ID>.md - Linked FR files as needed
- Optional scope filter of US IDs
- Pass number:
1or2
Pass 1 Procedure
- For each in-scope US, read its Description, Main Flow, Business Rules, Post-conditions, and Acceptance Scenarios.
- Write
docs/test-cases/by-us/<US-ID>/functional.md. - Cover:
- happy path Main Flow;
- every Business Rule;
- every Post-condition;
- negative cases for auth, payments, integrations, retries, and background jobs.
- Fill each TC's
Executable:path. - Author executable spec scaffolding at the
Executable:path. Use one test per TC ID and keep the TC ID at the start of the runner test name. - For non-UI tests, write full assertions.
- For UI tests:
- Use selectors from
docs/instrumentation-contract.mdwhen available. - If a needed selector is missing, write a literal
TODO: instrumentation-contract -- <purpose>marker in the framework's comment syntax and file a paireddocs/open-issues.mdentry withCategory: selector-pending-contract.
- Use selectors from
- Emit
plan-update.jsonnotes with selector TODO count.
Pass 2 Procedure
- Read
docs/instrumentation-contract.md. - For every dispatched TC/spec carrying
TODO: instrumentation-contract, replace the marker with the declared selector. - If a selector is still missing from the contract, keep the marker and raise/update an open issue against SA.
- Reverse-check coverage: every contract ID for the affected surface should appear in at least one spec. File
instrumentation-coverage-gapfor unused IDs. - Resolve paired
selector-pending-contractissues that were fully backfilled. - Emit
plan-update.jsonnotes with selectors backfilled and issues resolved.
Marker Syntax
Use the literal marker so QA-Exec can grep it:
| Runner | Marker |
| Playwright / Detox / Patrol / XCUITest / Espresso / AltTester | // TODO: instrumentation-contract -- <purpose> |
| Maestro YAML | # TODO: instrumentation-contract -- <purpose> |
Hard Rules
- Translate signed-off Acceptance Scenarios; do not invent new scenarios.
- Do not invent selectors.
- Pass 1 specs with TODO markers are intentionally unrunnable.
- Every executable TC must have a 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.

