AGENT SKILL

test-writer

Generate unit tests, integration tests, and test plans. TRIGGERS - Use when user wants tests, test cases, testing strategy, or test coverage.

License 许可
MIT
最近更新
2026-11-09
Stars
★ 0
Forks
0

01 前言 Front Matter

name
test-writer
source
https://github.com/Winbda/claude-skills-collection
license
MIT
version
1.0.0
category
general
description
Generate unit tests, integration tests, and test plans. TRIGGERS - Use when user wants tests, test cases, testing strategy, or test coverage.
disable-model-invocation
false

03 SKILL.md 正文

Test Writer

Approach

  1. Analyze the code to understand functionality
  2. Identify test scenarios (happy path, edge cases, errors)
  3. Write tests using appropriate framework
  4. Include assertions for expected behavior
  5. Add edge case coverage

Output includes:

  • Test file with complete test suite
  • Test descriptions explaining what each test validates
  • Setup/teardown helpers
  • Mocking strategy for dependencies
  • Coverage recommendations

04 同仓库更多 Skills