test-writer
БесплатноБез исполняемых скриптовНе проверенGenerate comprehensive test suites for existing code
от vstorm-co★ 1 129 звёзд на GitHubОб этом скилле
Test Writer
Generate comprehensive tests for the target code.
Process
- Read the source code to understand all public functions/methods
- Identify the testing framework already used in the project (pytest, unittest, etc.)
- Follow existing test patterns and conventions in the project
- Write tests covering all categories below
Coverage Strategy
Happy Path
- Normal inputs with expected outputs
- All public methods/functions
Edge Cases
- Empty inputs (empty string, empty list, None)
- Boundary values (0, -1, max int)
- Single element collections
Error Cases
- Invalid input types
- Missing required arguments
- Network/IO failures (mock external calls)
Integration
- Multiple functions working together
- State changes across calls
Guidelines
- One test function per behavior, not per method
- Descriptive test names:
test_<what>_<condition>_<expected> - Use fixtures for shared setup
- Mock external dependencies (APIs, databases, filesystem)
- Assert specific values, not just truthiness
- Test both return values and side effects
Установить test-writer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл test-writer?
Generate comprehensive test suites for existing code
Как установить скилл test-writer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл test-writer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic