Agent skill · Testing & QA

designing-tests

Designs and implements testing strategies for any codebase. Use when adding tests, improving coverage, setting up testing infrastructure, debugging test failures, or when asked about unit tests, integration tests, or E2E testing.

CloudAI-Xgithub.com/CloudAI-XGitHub ↗
claude-codecodexcursorMIT
Install
npx skills add CloudAI-X/claude-workflow-v2 --skill designing-tests --agent claude-code

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

Facts
Files in the skill folder: 1
SKILL.md size: 6 KB
Bundled scripts: none
Path: skills/designing-tests/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,397
Language: Python

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

From the SKILL.md

# Designing Tests ### When to Load - **Trigger**: Adding tests, test strategy planning, improving coverage, setting up testing infrastructure - **Skip**: Non-test code changes where testing is not part of the task ## Test Implementation Workflow Copy this checklist and track progress: ``` Test Implementation Progress: - [ ] Step 1: Identify what to test - [ ] Step 2: Select appropriate test type - [ ] Step 3: Write tests following templates - [ ] Step 4: Run tests and verify passing - [ ] Step 5: Check coverage meets targets - [ ] Step 6: Fix any failing tests ``` ## Testing Pyramid Apply the testing pyramid for balanced coverage: ``` /\ / \ E2E Tests (10%) /----\ - Critical user journeys / \ - Slow but comprehensive /--------\ Integration Tests (20%) / \ - Component interactions /------------\ - API contracts / \ Unit Tests (70%) /________________\ - Fast, isolated - Business logic focus ``` ## Framework Selection ### JavaScript/TypeScript | Type | Recommended | Alternative | | ----------- | --------------- | ---------------- | | Unit | Vitest | Jest | | Integration | Vitest + MSW | Jest + SuperTest | | E2E | Playwright | Cypress | | Component | Testing Library | Enzyme | ### Pyth

What's inside
Steps it walks through
  1. When to Load
  2. Test Implementation Workflow
  3. Testing Pyramid
  4. Framework Selection
  5. JavaScript/TypeScript
  6. Python
  7. Go
  8. Test Structure Templates
  9. Unit Test
  10. Integration Test
  11. E2E Test
  12. Coverage Strategy
  13. What to Cover
  14. Coverage Thresholds
Commands it runs
Run tests
npm test
Run with coverage
npm test -- --coverage
Run specific test file
npm test -- path/to/test.spec.ts
Run in watch mode during development
npm test -- --watch
More from claude-workflow-v2
All skills →
About this skill
What does the designing-tests skill do?

Designs and implements testing strategies for any codebase. Use when adding tests, improving coverage, setting up testing infrastructure, debugging test failures, or when asked about unit tests, integration tests, or E2E testing.

How do I install it?

Run `npx skills add CloudAI-X/claude-workflow-v2 --skill designing-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 CloudAI-X/claude-workflow-v2, a repository with 1,397 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