Tooluck logoTooluck
SKILL.md

designing-tests

Agent skill fromCloudAI-X/claude-workflow-v2

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 to install designing-tests

install designing-tests
# install the claude-workflow-v2 pack with the skills CLI
npx skills add CloudAI-X/claude-workflow-v2

# or add only this skill to Claude Code: copy the folder

skills/designing-tests/

# into

~/.claude/skills/designing-tests/ (all projects)

.claude/skills/designing-tests/ (one project)

skills/designing-tests/SKILL.md

MITFull file
1# Designing Tests
2
3### When to Load
4
5- **Trigger**: Adding tests, test strategy planning, improving coverage, setting up testing infrastructure
6- **Skip**: Non-test code changes where testing is not part of the task
7
8## Test Implementation Workflow
9
10Copy this checklist and track progress:
11
12```
13Test Implementation Progress:
14- [ ] Step 1: Identify what to test
15- [ ] Step 2: Select appropriate test type
16- [ ] Step 3: Write tests following templates
17- [ ] Step 4: Run tests and verify passing
18- [ ] Step 5: Check coverage meets targets
19- [ ] Step 6: Fix any failing tests
20```
21
22## Testing Pyramid
23
24Apply the testing pyramid for balanced coverage:
25
26```
27 /\
28 / \ E2E Tests (10%)
29 /----\ - Critical user journeys
30 / \ - Slow but comprehensive
31 /--------\ Integration Tests (20%)
32 / \ - Component interactions
33 /------------\ - API contracts
34 / \ Unit Tests (70%)
35/________________\ - Fast, isolated
36 - Business logic focus
37```
38
39## Framework Selection
40
41### JavaScript/TypeScript
42
43| Type | Recommended | Alternative |
44| ----------- | --------------- | ------------------- |
45| Unit | Vitest | Jest |
46| Integration | Vitest + MSW | Jest + SuperTest |
47| E2E | Playwright | Cypress |
48| Component | Testing Library | Vitest Browser Mode |
49
50### Python
51
52| Type | Recommended | Alternative |
53…

Excerpt shown under the repository's MIT license.

More skills in claude-workflow-v2

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates