write-tests
БесплатноБез исполняемых скриптовНе проверенWrite unit tests for the core logic of a file using the test framework the project already uses. Use when the user asks to add tests or runs /code:write-tests.
от diegopacheco★ 21 звезда на GitHubОб этом скилле
Write Tests
Write tests for the target given in the arguments: $ARGUMENTS.
- Detect the test framework the project already uses. Do not add a new one.
- List the behaviors of the target that carry business meaning: edge cases, boundaries, error paths.
- Write one test per behavior. Each test name says why the behavior matters.
- Do not test getters, the language or the framework.
- Run the tests and show the output.
Every test must be able to fail when the logic it covers changes.
Установить write-tests в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл write-tests?
Write unit tests for the core logic of a file using the test framework the project already uses. Use when the user asks to add tests or runs /code:write-tests.
Как установить скилл write-tests?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл write-tests запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic