test-setup
БесплатноБез исполняемых скриптовНе проверенConfigure testing infrastructure with CI/CD. Use when setting up tests, scaffolding test dirs, adding pre-commit hooks, GitHub Actions workflows, Codecov, or…
от laurigates★ 61 звезда на GitHubОб этом скилле
When to Use This Skill
| Use this skill when... | Use test-consult instead when... |
|---|---|
| Scaffolding test directories and pre-commit hooks for a new project | Asking "how should we test X?" before any setup |
| Wiring up a CI workflow with coverage reporting | Diagnosing flaky tests in an established suite |
| Adding test/coverage badges to the README | Choosing the right framework for a tech stack |
| Migrating an existing project to a standard test layout | Running the actual tests (use test-run or test-full) |
Context
- Package files: !
find . -maxdepth 1 \( -name "package.json" -o -name "pyproject.toml" -o -name "setup.py" -o -name "go.mod" -o -name "Cargo.toml" \) -type f - Test config: !
find . -maxdepth 1 \( -name "pytest.ini" -o -name "jest.config.*" -o -name "vitest.config.*" -o -name ".mocharc.*" \) -type f - Pre-commit config: !
find . -maxdepth 1 -name ".pre-commit-config.yaml" -type f - GitHub Actions: !
find . -path '*/.github/workflows/*' -maxdepth 3 -type f -name "*.yml" -o -name "*.yaml"
Your task
1. Pre-commit Setup
- Install pre-commit if needed:
pip install pre-commit - Create/update
.pre-commit-config.yamlwith language-specific hooks - Install hooks:
pre-commit install - Test with:
pre-commit run --all-files
2. Test Structure
- Create test directories:
tests/unit,tests/integration,tests/e2e - Write comprehensive tests covering:
- Unit tests for all functions
- Integration tests for components
- Edge cases and error handling
- Use SlashCommand:
/test:runto verify test execution - Use SlashCommand:
/code:lintto ensure test code quality
3. GitHub Actions
- Create
.github/workflows/tests.ymlwith matrix testing - Add coverage reporting with Codecov integration
- Configure GitHub Pages for coverage reports
4. Documentation
- Set up documentation generation (Sphinx/TypeDoc/godoc)
- Create
.github/workflows/docs.ymlfor auto-generation - Deploy docs to GitHub Pages
5. Badges
- Add test and coverage badges to README
Установить test-setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditBash(pip install *)Bash(npm install *)Bash(pre-commit *)Bash(pytest *)Bash(npm test *)Bash(git *)TodoWriteSlashCommandFAQ
Что делает скилл test-setup?
Configure testing infrastructure with CI/CD. Use when setting up tests, scaffolding test dirs, adding pre-commit hooks, GitHub Actions workflows, Codecov, or coverage badges.
Как установить скилл test-setup?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл test-setup запускает скрипты?
Нет, скилл состоит только из инструкций (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