Scaffold Testing
БесплатноЗапускает вложенные скриптыНе проверенAdd Pest v4 + Orchestra Testbench v10 testing to an existing Laravel package
от mwguerra★ 35 звёзд на GitHubОб этом скилле
Pest Testing Scaffold Skill
Adds Pest v4 + Orchestra Testbench v10 testing infrastructure to an existing Laravel package that lacks testing.
Usage
When the user wants to add testing to an existing package:
python3 ${SKILL_DIR}/scripts/scaffold_testing.py <vendor/package-name> [options]
Options
--with-coverage- Add code coverage configuration--with-ci- Add GitHub Actions CI workflow--project-root- Specify project root directory
Examples
Basic testing setup
python3 ${SKILL_DIR}/scripts/scaffold_testing.py mwguerra/my-package
With CI
python3 ${SKILL_DIR}/scripts/scaffold_testing.py mwguerra/my-package --with-ci
Full setup
python3 ${SKILL_DIR}/scripts/scaffold_testing.py mwguerra/my-package --with-coverage --with-ci
What Gets Created/Updated
Files Created
- phpunit.xml — PHPUnit configuration with source coverage for
src/ - tests/Pest.php — Pest configuration with TestCase binding
- tests/TestCase.php — Orchestra TestCase with
WithWorkbenchtrait - tests/Unit/ExampleTest.php — Sample tests verifying environment and provider
- tests/Feature/.gitkeep — Feature tests directory
- .github/workflows/tests.yml (if
--with-ci)
composer.json Updates
{
"require-dev": {
"orchestra/testbench": "^10.0",
"pestphp/pest": "^4.0",
"pestphp/pest-plugin-laravel": "^4.0",
"orchestra/pest-plugin-testbench": "^4.0"
}
}
Running Tests
cd packages/vendor/package-name
composer install
./vendor/bin/pest
Установить Scaffold Testing в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(python3:*)Bash(composer:*)WriteReadGlobВложенные файлы
FAQ
Что делает скилл Scaffold Testing?
Add Pest v4 + Orchestra Testbench v10 testing to an existing Laravel package
Как установить скилл Scaffold Testing?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Scaffold Testing запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic