agentleFS
evolplusevolplus/talos/skills/qa-author-by-us/SKILL.md

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.

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
  1. Very specific:

    Use this skill for QA-Author by-us mode.

    line 14
  2. Very specific:

    Use selectors from docs/instrumentation-contract.md when available.

    line 37
  3. Very specific:

    If a needed selector is missing, write a literal TODO: instrumentation-contract -- <purpose> marker in the framework's comment syntax and …

    line 38
  4. Distinctive:

    If a selector is still missing from the contract, keep the marker and raise/update an open issue against SA.

    line 45
  5. Distinctive:

    Use the literal marker so QA-Exec can grep it:

    line 52
  6. Distinctive:

    Do not invent selectors.

    line 62
  7. Distinctive:

    Every executable TC must have a spec file.

    line 64
  8. Distinctive:

    Commit before signaling ready-to-finalize.

    line 65

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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: 1 or 2

Pass 1 Procedure

  1. For each in-scope US, read its Description, Main Flow, Business Rules, Post-conditions, and Acceptance Scenarios.
  2. Write docs/test-cases/by-us/<US-ID>/functional.md.
  3. Cover:
    • happy path Main Flow;
    • every Business Rule;
    • every Post-condition;
    • negative cases for auth, payments, integrations, retries, and background jobs.
  4. Fill each TC's Executable: path.
  5. 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.
  6. For non-UI tests, write full assertions.
  7. For UI tests:
    • Use selectors from docs/instrumentation-contract.md when available.
    • If a needed selector is missing, write a literal TODO: instrumentation-contract -- <purpose> marker in the framework's comment syntax and file a paired docs/open-issues.md entry with Category: selector-pending-contract.
  8. Emit plan-update.json notes with selector TODO count.

Pass 2 Procedure

  1. Read docs/instrumentation-contract.md.
  2. For every dispatched TC/spec carrying TODO: instrumentation-contract, replace the marker with the declared selector.
  3. If a selector is still missing from the contract, keep the marker and raise/update an open issue against SA.
  4. Reverse-check coverage: every contract ID for the affected surface should appear in at least one spec. File instrumentation-coverage-gap for unused IDs.
  5. Resolve paired selector-pending-contract issues that were fully backfilled.
  6. Emit plan-update.json notes with selectors backfilled and issues resolved.

Marker Syntax

Use the literal marker so QA-Exec can grep it:

RunnerMarker
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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.