Testing.Move Test Code
БесплатноБез исполняемых скриптовНе проверенSplit test classes into separate files based on the functions they test
от gpsaggese★ 158 звёзд на GitHubОб этом скилле
Goal
- The user passes a file with unit tests
<TEST_FILE>
Plan Only (--only_plan)
- With
--only_plan, follow.claude/skills/skill.rules.mdsection "Create Only a Plan with--only_plan" - Write the plan to
testing.move_test_code.<INPUT_REF>.md, then stop without executing the skill- Stop before "Get User Confirmation"
Workflow
Find Tested Functions
- Find the functions that are tested in the file
<TEST_FILE> - Prepare a plan that shows a mapping between
- Test classes
- The functions tested by each class
- The file containing the tested functions
Propose Split Plan
- Propose a plan to split the test classes in multiple files to match the code
they test
- E.g.,
Test_func1, testing the functionfunc1infuncs.pyshould go intest_funcs.py
- E.g.,
Get User Confirmation
- Ask the user to confirm the plan
Implement the Plan
- Implement the plan moving the code without changing it
Important
- For all the code you must follow the instructions in
.claude/skills/coding.rules.md.claude/skills/testing.rules.md
Verification
-
--only_plan(check only this item): the plan is intesting.move_test_code.<INPUT_REF>.mdin the current dir, has theGenerated byline, and nothing was executed - Run the moved tests and confirm they still pass
- Confirm no test logic changed during the move
Установить Testing.Move Test Code в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Testing.Move Test Code?
Split test classes into separate files based on the functions they test
Как установить скилл Testing.Move Test Code?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Testing.Move Test Code запускает скрипты?
Нет, скилл состоит только из инструкций (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