joshuaculmer/cook_book/testing
Claude Code and agent skill by joshuaculmer/cook_book
Trust tier 3
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending
Checking that the SKILL.md file is still in the repository.
Load when determining how to test something in this project. Provides an overview of the testing strategy and routes to the appropriate sub-skill.
Install
npx vskill@latest install joshuaculmer/cook_book/testingSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as joshuaculmer/cook_book/testing.
This project uses a layered testing strategy. Load the appropriate sub-skill for the task:
- Unit and integration tests: load
testing/unit— uses Vitest + React Testing Library. - End-to-end tests: load
testing/e2e— uses Playwright.
When to write which kind:
- Write unit/integration tests for: individual components, custom hooks, utility functions, form behavior.
- Write E2E tests for: critical user journeys (login, checkout, core flows), multi-page interactions.
- Do not write E2E tests for things that unit tests already cover — they are slower and harder to maintain.
General testing principles:
- Test behavior, not implementation. The test should not break when internal code is refactored.
- One test should assert one thing. Keep tests short and focused.
- Tests are documentation. A failing test should tell you exactly what broke.
- Do not mock what you do not own (e.g., internal functions). Mock at system boundaries (APIs, browser APIs).
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.myteam/testing/skill.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/joshuaculmer/cook_book/testing)