/testing
Запуск тестов проекта: unit, integration. Определение типа проекта и выбор стратегии.
$ npx -y skills add alexeykrol/claude-code-starter --skill testing --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/testing
Context preview
The summary Claude sees to decide when to auto-load this skill.
Запуск тестов проекта: unit, integration. Определение типа проекта и выбор стратегии.
SKILL.md
testing.SKILL.mdname: testing description: "Запуск тестов проекта: unit, integration. Определение типа проекта и выбор стратегии." allowed-tools: Read Glob Grep Bash disable-model-invocation: true
Skill: Testing
Определение тестового окружения
# Node.js проект if [ -f "package.json" ]; then echo "node" cat package.json | grep -A5 '"scripts"' | grep test fi # Python проект if [ -f "pyproject.toml" ] || [ -f "pytest.ini" ] || [ -f "setup.py" ]; then echo "python" fi
Запуск тестов
Node.js
npm test
Python
python3 -m pytest tests/ -v
Интерпретация результатов
- **Все зелёные:** сообщить «тесты пройдены» с количеством
- **Есть красные:** показать список упавших тестов, предложить фикс
- **Нет тестов:** сообщить, предложить создать базовый набор
Когда запускать
- После каждого серьёзного коммита
- В составе `/finish`
- По явному запросу пользователя
- После работы субагента `implementer`
Coverage (если настроен)
# Node.js npx jest --coverage 2>/dev/null || true # Python python3 -m pytest --cov=src tests/ 2>/dev/null || true
Показать summary coverage, если доступен.
Claude Code Starter — это готовая управляющая среда для проектов, в которых основной рабочий агент — Claude Code.
Repo: alexeykrol/claude-code-starter
Other skills on claude-code-starter.
- /db-migrate
Миграция схемы базы данных: SQLite → PostgreSQL/Supabase. Генерация SQL, проверка совместимости.
Open skill - /finish
Завершение рабочей сессии. Тесты, коммит, обновление SNAPSHOT, отчёт.
Open skill - /housekeeping
Фоновое обслуживание проекта: актуальность README, CHANGELOG, версии, .gitignore, метафайлов.
Open skill - /playwright
E2E тестирование UI с Playwright. Запуск, создание тестов, анализ результатов.
Open skill - /save-dialog
Сохранить JSONL текущей сессии Claude Code в .claude/dialogs/. Триггеры: /save-dialog, "сохрани диалог", "архив диалога".
Open skill - /start
Инициализация рабочей сессии. Построить адекватную модель проекта, заземлить её в код, доложить с глубиной по запросу.
Open skill

