Testing.Fix Unit Tests
БесплатноБез исполняемых скриптовНе проверенApply the conventions usually not followed in the unit test
от gpsaggese★ 158 звёзд на GitHubОб этом скилле
Goal
- The user passes one or more test files
<FILE>. Apply the corresponding conventions and rules to them.
Workflow
Read Rules
- Read the transformations from
.claude/skills/testing.rules.mdin the following headers### Dedent Strings to the Code## Test Method Names## Use Helper Methods When You Have Repetitive Tests### Avoid Replicated Assignment## Consolidate Inputs and Outputs## Assign Variables and Then Call Functions## Compare Whole Output with assert_equal, Not Piecewise## Do Not Use `hdbg.dassert` to Test Assertions
Draft a Plan
- List the transformations and the code lines to apply them to, since the code violates them
Implement the Plan
- Apply the transformations one at a time to the parts of the code
Refactor the Code
- Run the skill
/coding.factor_common_codeon the file<FILE>to factor out common code
Important
- Make sure that there is no change in behavior in the code
- For all the code you must follow the instructions in:
.claude/skills/coding.rules.md.claude/skills/testing.rules.md
Verification
- Check that no remaining part of the code violates the list of transformations
- Run the tests and confirm behavior is unchanged
Установить Testing.Fix Unit Tests в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Testing.Fix Unit Tests?
Apply the conventions usually not followed in the unit test
Как установить скилл Testing.Fix Unit Tests?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Testing.Fix Unit Tests запускает скрипты?
Нет, скилл состоит только из инструкций (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