test-setup

test-setup is a skill for Claude Code from evgenii-studitskikh/Claude-Code-SaaS-Studio. It costs 47 tokens per session (717 once invoked), scanned A, original, MIT.

A setup workflow that creates a test foundation for a SaaS application using Vitest, Testing Library, Playwright, and a continuous-integration test step. Vitest and Testing Library support code and user-interface tests; Playwright runs browser tests.

In plain words
What is it for?
Use it to install and configure test tools, set up browser-test dependencies, create test configuration files, and add runnable test commands after a QA plan is approved.
Why use it?
It avoids writing feature tests against an incomplete or inconsistent test environment. It requires approval before installing packages or creating configuration files.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; names the AskUserQuestion tool.

Good fit Use it to install and configure test tools, set up browser-test dependencies, create test configuration files, and add runnable test commands after a QA plan is approved.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/evgenii-studitskikh/claude-code-saas-studio/test-setup
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add evgenii-studitskikh/Claude-Code-SaaS-Studio --skill test-setup
Clone the repo
git clone --depth 1 https://github.com/evgenii-studitskikh/Claude-Code-SaaS-Studio

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for test-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/evgenii-studitskikh/claude-code-saas-studio/test-setup/github.svg)](https://agentmods.dev/skills/evgenii-studitskikh/claude-code-saas-studio/test-setup)
Your own site
<a href="https://agentmods.dev/skills/evgenii-studitskikh/claude-code-saas-studio/test-setup"><img src="https://agentmods.dev/badge/skills/evgenii-studitskikh/claude-code-saas-studio/test-setup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for test-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/evgenii-studitskikh/claude-code-saas-studio/test-setup"><img src="https://agentmods.dev/badge/skills/evgenii-studitskikh/claude-code-saas-studio/test-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 717 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00047 $0.00717
Opus 5.5 $0.00019 $0.00287
Sonnet 5.5 $0.00009 $0.00143
Haiku 4.5 $0.00005 $0.00072

Measured 1mo ago against content hash b5041c658dea, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

test-setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/test-setup/SKILL.md · 22 lines

How it starts

The opening of the file, as written. The whole thing — 22 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Scaffold the project's test infrastructure from the approved QA plan before any feature tests are written. Non-autonomous: present the full plan, get approval, then execute. Never install packages or write config files without sign-off.

Phases

  1. Load context — read docs/specs/qa-plan.md to understand the chosen pyramid and tooling decisions. If the file is missing, stop and direct to /qa-plan. Also read package.json and any existing test config files to avoid duplicating setup.
  2. Present the plan — show the user the EXACT commands and files that will be created, including: install commands for Vitest, @testing-library/react, @testing-library/jest-dom, @playwright/test, and any supporting packages (jsdom, @vitejs/plugin-react — or @vitejs/plugin-react-swc for Next.js projects that use the SWC compiler; both require jsdom as the Vitest test environment, etc.); a Playwright browser-binary install step (npx playwright install --with-deps) that runs after @playwright/test is installed, so that npm run test:e2e does not fail with a missing-browser error; config files to be written (vitest.config.ts, vitest.setup.ts, playwright.config.ts); package.json scripts to be added (test, test:watch, test:e2e); and the CI test step (e.g. a GitHub Actions job snippet). Under full, confirm each category; under lean, one confirmation for the whole plan; under solo, proceed directly. Get explicit approval before running anything.
  3. Apply — on approval, run the install commands (including npx playwright install --with-deps), write the config files, and add the package.json scripts. Then add one trivial smoke test — place it under __tests__/ colocated with the app (e.g. src/__tests__/smoke.test.ts, or at the project root __tests__/smoke.test.ts if there is no src/ directory) — rendering a minimal component, and one Playwright homepage test (e2e/smoke.spec.ts visiting /) to verify the harness end-to-end.
  4. Verify — run npm test (or equivalent) and npm run test:e2e against the smoke tests; show the output. If anything fails, diagnose and fix before proceeding. Under full, confirm each suite result; under lean or solo, summarize the combined result.
  5. Next step — on a green run, point to /write-tests.

Read the full file on GitHub · 22 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 22 lines · 47 tokens per session scan A b5041c658dea

Subscribe to this mod's changes

test-setup is a skill published in the GitHub repository evgenii-studitskikh/Claude-Code-SaaS-Studio (2 stars, last pushed 4mo ago), licensed MIT. It adds 47 tokens to every session and 717 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

e2e-testing

Use when reviewing CI coverage, automated checks, or test strategy related to Implement end-to-end testing. Focus on whether the rule is continuously verified, not just documented.

thedaviddias/Front-End-Checklist · 38 tokens

azure-microsoft-playwright-testing-ts

Run Playwright tests at scale using Azure Playwright Workspaces (formerly Microsoft Playwright Testing). Use when scaling browser tests across cloud-hosted browsers, integrating with CI/CD pipelines, or publishing test results to the Azure portal.

microsoft/skills · 53 tokens

mirrord-chaos

Help users chaos test their app with mirrord: inject artificial latency or connection errors into a mirrord session's outgoing traffic via per-session chaos rules managed with the mirrord chaos CLI. Use when a user wants to add latency or delay to outgoing connections or a dependency (e.g. a slow database), simulate…

metalbear-co/mirrord · 119 tokens

testing-and-ci

Choose and run unit, E2E, Caddyfile fixture, automation, and CI checks for caddy-security. Use for coverage requirements, test evidence, failures, and report workflows; official OP conformance remains opt-in.

greenpau/caddy-security · 50 tokens

playwright-ci

Production-ready CI/CD configurations for Playwright — GitHub Actions, GitLab CI, CircleCI, Azure DevOps, Jenkins, Docker, parallel sharding, reporting, code coverage, and global setup/teardown.

zebbern/claude-code-guide · 48 tokens

playwright-testing

E2E testing with Playwright - Page Objects, cross-browser, CI/CD.

alinaqi/maggy · 20 tokens