Agent skill · Testing & QA

build-scenario-tests

Inspect an unfamiliar repository, turn a focused Markdown behavior scenario into a deterministic test in the repository's native test stack, run it, and preserve traceability between intent and code. Use when asked to add scenario tests, compile acceptance criteria or Given/When/Then Markdown into executable tests, reproduce a user-visible regression, or convert a narrow workflow specification into stable web, API, CLI, desktop, or mobile interaction coverage. Do not use for broad exploratory journeys or agent-judged smoke tests.

tamdogoodgithub.com/tamdogoodGitHub ↗
claude-codecodexships scriptsMIT
Install
npx skills add tamdogood/builder-essential-skills --skill build-scenario-tests --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 8
SKILL.md size: 7 KB
Bundled scripts: yes
Path: skills/build-scenario-tests/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 90
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Build Scenario Tests Compile one small behavior contract into deterministic, repository-native test code. Understand the host project before choosing a harness, command, fixture, selector, or assertion. ## Operating contract - Treat repository instructions and existing tests as authoritative. - Keep each scenario focused on one behavior and one reason to fail. - Compile into the test stack the repository already uses. Add a dependency only when no suitable harness exists and the user accepts the tradeoff. - Make setup, inputs, actions, and expected results deterministic. - Prefer public behavior over implementation details. Assert what a user or external caller can observe. - Keep the Markdown scenario beside the test or in the repository's established specification directory. Record the mapping in both artifacts. - Never weaken an assertion merely to make a test pass. ## Workflow ### 1. Pass the repository-understanding gate Read the nearest `AGENTS.md` or equivalent instructions, product README, contribution guide, manifests, test configuration, and the smallest relevant product documentation. Use repository search to find the implementation entry point, neighboring tests, fixt

What's inside
Steps it walks through
  1. Operating contract
  2. Workflow
  3. 1. Pass the repository-understanding gate
  4. 2. Normalize the scenario
  5. 3. Map intent to the host test stack
  6. 4. Compile the deterministic test
  7. 5. Prove the compilation
  8. 6. Hand off the evidence
  9. Demonstration examples
  10. Failure handling
Ships with 7 files
  • README.md
  • agents/openai.yaml
  • examples/cli-expired-session.scenario.md
  • examples/test_cli_expired_session.py
  • examples/web-workspace-invite.scenario.md
  • examples/web-workspace-invite.spec.ts
  • references/scenario-format.md
More from builder-essential-skills
All skills →
About this skill
What does the build-scenario-tests skill do?

Inspect an unfamiliar repository, turn a focused Markdown behavior scenario into a deterministic test in the repository's native test stack, run it, and preserve traceability between intent and code. Use when asked to add scenario tests, compile acceptance criteria or Given/When/Then Markdown into executable tests, reproduce a user-visible regression, or convert a narrow workflow specification into stable web, API, CLI, desktop, or mobile interaction coverage. Do not use for broad exploratory journeys or agent-judged smoke tests.

How do I install it?

Run `npx skills add tamdogood/builder-essential-skills --skill build-scenario-tests --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From tamdogood/builder-essential-skills, a repository with 90 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going