drafael/coding-harness / skills/write-tests
write-tests
VerifiedWrite unit, integration, component, and end-to-end tests for code. Use when the user asks to "write tests", "add tests", "add test coverage", or "create test cases" for functions, services, components, CLIs, or user flows.
| File | Kind | Size |
|---|---|---|
| README.md | markdown | 1.3 KB |
| SKILL.md | skill md | 3.6 KB |
| references/bun-test.md | markdown | 4.5 KB |
| references/jest.md | markdown | 4.7 KB |
| references/junit.md | markdown | 1.6 KB |
| references/node-test.md | markdown | 4.1 KB |
| references/playwright.md | markdown | 5.7 KB |
| references/typescript.md | markdown | 5.7 KB |
| references/vitest.md | markdown | 4.4 KB |
README.md
View on GitHub# Write Tests Skill
## Description
Creates unit, integration, component, and end-to-end tests that follow project conventions, validate critical behavior, and improve reliability.
## Usage Examples
- "Write unit tests for this service class."
- "Add integration tests for this API endpoint."
- "Create Vitest coverage for this TypeScript package."
- "Add Playwright tests for the critical browser flow."
- "Add missing tests to improve coverage for this module."
## TypeScript runner references
TypeScript guidance is composable: load `references/typescript.md` for cross-runner test-authoring rules, then load every matching runner reference for Vitest, Jest, Node test, Bun test, or Playwright. Repository conventions and installed-version behavior remain authoritative.
## Origin (Custom Command Conversion)
This local skill was created by converting a custom slash command from the upstream repository.
- Original command: `.claude/commands/test/write-tests.md`
- Upstream repository: [qdhenry/Claude-Command-Suite](https://github.com/qdhenry/Claude-Command-Suite)
## Credits
- Original command author: **Quintin Henry**
- Converted/adapted into local skill format for this repo: `coding-harness`
## License
- Upstream repository README marks license as **MIT**: [qdhenry/Claude-Command-Suite](https://github.com/qdhenry/Claude-Command-Suite)
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |