agentleFS
evolplusevolplus/talos/skills/qa-execution-runner/SKILL.md

qa-execution-runner

Skill9 starsChanged 6 months agoApache-2.0View on GitHub

QA-Exec run contract for executing authored test cases against the deployed build. Use when QA-Exec is dispatched for a task in-test to gather by-us/by-task test cases, check executable specs and instrumentation coverage, invoke the proper runner, execute UI tiers, validate visual specs, route failures, and write docs/qa-reports/<task-id>.md plus artifacts.

  • Reads credentials

The file

Show its rules and text

We split this skill into the rules it gives an agent

21 rules. About 0 are common, 14 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈14

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill for every QA-Exec dispatch.

    line 14
  2. Distinctive:

    read linked US IDs and FR IDs from the task.

    line 28
  3. Distinctive:

    Run bidirectional instrumentation coverage for UI tasks:

    line 36
  4. Distinctive:

    every contract-declared testID appears in at least one spec.

    line 37
  5. Distinctive:

    when bundle is reachable, every contract-declared testID ships in the bundle.

    line 38
  6. Very specific:

    verify base URLs, fixtures, env vars, build/commit/instrumentation identity.

    line 42
  7. Very specific:

    verify env_files, env_templates, and env_validation are present.

    line 43
  8. Distinctive:

    when SRS §3.4.6 declares runtime keys, verify the deploy report lists each declared key name with a non-secret status summary only.

    line 44
  9. Very specific:

    verify every Executable: file exists.

    line 45
  10. Distinctive:

    if any pre-run check is blocked, halt before invoking the runner.

    line 58
  11. Very specific:

    Write docs/qa-reports/<task-id>.md and artifacts under docs/qa-reports/<task-id>/.

    line 75
  12. Very specific:

    Tier 2 asset/composition: every required logo/graphic/image/background asset is loaded from the traced implementation path and rendered …

    line 82
  13. Distinctive:

    Use this only when SRS §3.4.3 explicitly accepts a non-introspectable UI surface, such as a Unity build where AltTester was rejected.

    line 89
  14. Distinctive:

    Use the coordinate + template registry pattern:

    line 92
  15. Distinctive:

    Treat coordinate/template checks as fragile.

    line 97
  16. Very specific:

    Do not claim Tier 2 properties that cannot be observed.

    line 98
  17. Very specific:

    Every run writes artifacts under docs/qa-reports/<task-id>/:

    line 102
  18. Distinctive:

    Never modify build, code, or tests to make a run pass.

    line 130
  19. Distinctive:

    Never declare done with failed or blocked cases.

    line 131
  20. Distinctive:

    Never silently skip verification.

    line 132
  21. Distinctive:

    Commit before signaling ready-to-finalize.

    line 142

≈ “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 Execution Runner

Use

Use this skill for every QA-Exec dispatch.

Inputs

  • Target task file and linked US/FRs
  • docs/test-cases/by-us/<US-ID>/ and docs/test-cases/by-task/<task-id>/
  • Executable specs named by each TC
  • docs/deploy-reports/<task-id>.md
  • SRS §3.4.6 Environment Configuration when the project has FE/BE runtime scope
  • UI artifacts: design refs, visual specs, instrumentation contract, UI refs

Procedure

  1. Gather test cases:
    • read linked US IDs and FR IDs from the task;
    • load every linked by-us functional TC;
    • load task-scoped structural/api/e2e/functional TCs;
    • halt on missing expected coverage.
  2. For UI tasks, enforce strict artifact presence:
    • by-task TC directory with at least one TC;
    • docs/uiux/visual-specs/<task-id>.md;
    • instrumentation contract when UI selectors/testIDs are expected.
  3. Run bidirectional instrumentation coverage for UI tasks:
    • every contract-declared testID appears in at least one spec;
    • when bundle is reachable, every contract-declared testID ships in the bundle.
    • Route spec gaps to QA-Author and bundle gaps to FE Dev.
  4. Pre-run checks:
    • parse deploy report ## Test Environment;
    • verify base URLs, fixtures, env vars, build/commit/instrumentation identity;
    • verify env_files, env_templates, and env_validation are present; compose_config_quiet is pass; missing_required_env is none; srs_environment_contract is pass; declared_config_keys_status is all documented; and secret_values_redacted is true;
    • when SRS §3.4.6 declares runtime keys, verify the deploy report lists each declared key name with a non-secret status summary only; missing declared keys are a blocked environment state routed back to DevOps;
    • verify every Executable: file exists;
    • grep executable specs for TODO: instrumentation-contract; any hit is blocked.
    • inspect fixture reset behavior: direct DB INSERT/TRUNCATE must be followed by a synchronous reset/flush of affected caches and process-global runtime state before the SUT is read; missing capability is blocked: test-harness-state-reset routed to BE Dev.
    • for direct-DB fixtures, require deploy-report test_endpoints_enabled: true and runtime_state_reset.synchronous_probe: pass plus runtime_state_reset.behavioral_fresh_read_probe: pass; missing or failed evidence routes to DevOps/BE Dev and blocks the runner.
    • inspect runner concurrency: any global DB reset, global cache flush, or process-global reset requires per-worker isolation or a dedicated one-worker project; otherwise mark blocked: shared-test-state.
    • compare navigation assertions with the signed-off URL/canonicalization contract. A path-only $ assertion that rejects required query parameters is blocked: test-spec-contract-drift, routed to QA-Author.
    • if any pre-run check is blocked, halt before invoking the runner. Record the blocked reason and owning role; do not continue to Step 7 with a known-invalid harness/spec.
  5. Skip deprecated US test cases with reason deprecated-us; report the skip.
  6. Select runner from solution-defaults, project ADRs, and SRS UI Introspection Profile. Load ui-test-execution and any relevant runner reference.
  7. Invoke the runner against the deployed environment, never against production data.
  8. For UI tasks:
    • Tier 1 functional always;
    • Tier 2 structural/token always where introspection allows;
    • Tier 3 visual diff only when SRS marks Visual-Critical.
  9. Validate visual spec before UI execution:
    • Status: Generated;
    • Figma version matches confirmed task version;
    • handoff hash matches current handoff.
    • reference-render Node IDs, Figma version, dimensions, and checksums are present;
    • Visual Composition Assertions and Asset Assertions are non-empty and cover every handoff composition/AST row.
  10. Report each TC as pass, fail, blocked, or skipped.
  11. For failures, attach actual vs expected, logs/screenshots/traces/diffs, and suspected track.
  12. Write docs/qa-reports/<task-id>.md and artifacts under docs/qa-reports/<task-id>/.
  13. Emit plan-update.json: in-test -> done only when no fail/blocked cases remain; otherwise in-test -> failed.

UI Tiers

  • Tier 1 functional: required elements, copy, interactions, form validation, required states, and accessibility checks named by the SRS.
  • Tier 2 structural/token: layout, spacing, colors, typography, component hierarchy, and required states from docs/uiux/visual-specs/<task-id>.md.
  • Tier 2 asset/composition: every required logo/graphic/image/background asset is loaded from the traced implementation path and rendered with the specified fit/crop/mask/opacity/z-order; major regions and responsive variants match the Visual Composition Assertions.
  • Tier 3 visual fidelity: screenshot diff against approved references, only for Visual-Critical: yes.

Report Tier 2 per component/property. A component passes only when every non-skipped property in every required state passes.

No-Introspection Fallback

Use this only when SRS §3.4.3 explicitly accepts a non-introspectable UI surface, such as a Unity build where AltTester was rejected.

  1. Confirm the SRS records the acceptance decision. If not, halt with blocked: introspection-gap.
  2. Use the coordinate + template registry pattern:
    • fixed viewport/device resolution;
    • screenshot capture per state;
    • registry row per component with bounds, coordinate target, template image, source handoff node, and tolerance;
    • artifacts under docs/qa-reports/<task-id>/registry/.
  3. Treat coordinate/template checks as fragile. If this is not a one-off transitional path, file a high-severity open issue recommending instrumentation.
  4. Do not claim Tier 2 properties that cannot be observed. Mark them skipped: framework-not-introspectable.

Artifact Layout

Every run writes artifacts under docs/qa-reports/<task-id>/:

docs/qa-reports/<task-id>/
|-- playwright-report/      (or framework-equivalent HTML report)
|-- traces/                 (one trace.zip per failing test, named TC-ID.trace.zip)
|-- screenshots/            (test-captured screenshots, named TC-ID.<step>.png)
|-- visual-diffs/           (Tier 3 only)
|-- registry/               (coordinate/template fallback)
|-- xcresult/               (iOS only)
|-- android-report/         (Android only)
`-- logs/                   (browser console, native logs, network captures)

The markdown report at docs/qa-reports/<task-id>.md links the supporting artifact for each fail/blocked/skipped item.

Failure Tracks

  • be: server/data/status error.
  • fe: UI render/behavior error with correct data.
  • integration: contract/auth/CORS/boundary mismatch.
  • design-drift: SRS/design mismatch requiring BA + Designer reconciliation.
  • introspection-gap: tooling cannot verify the property.
  • instrumentation-violation: missing testIDs/accessibility/instrumentation.
  • unknown: TL diagnoses.

Hard Rules

  • Never modify build, code, or tests to make a run pass.
  • Never declare done with failed or blocked cases.
  • Never silently skip verification.
  • Missing spec files, stale visual specs, build identity mismatch, and unresolved selector TODOs are blocked states.
  • Missing or failed deploy-report env validation, including absent SRS §3.4.6 declared-key coverage, is a blocked state routed back to DevOps. QA-Exec never guesses local .env behavior.
  • Flaky is failure until proven otherwise.
  • A serial pass after a parallel FK/cache failure does not clear the failure until the harness removes shared-state contention or serializes the affected project by design.
  • Contract-incompatible test assertions are blocked QA-Author defects, not product failures; do not change the shipped behavior to satisfy them.
  • Per-property UI reporting is mandatory for Tier 2.
  • Missing assets, placeholder substitutions, wrong frame/layout, absent backgrounds, and failed composition assertions are fe failures even when functional flows pass.
  • 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.