companion-project-creator
БесплатноБез исполняемых скриптовНе проверенCreate complete runnable companion projects for articles - scaffolded projects, not snippets
Об этом скилле
Companion Project Creator
Create complete, executable companion projects that readers can clone and run immediately.
Core Principle
Companion projects must be COMPLETE and RUNNABLE, not snippets or partial code.
A Laravel companion project is a full Laravel installation. A Node companion project is a full Node project. A document companion project is a complete, usable document.
⚠️ CRITICAL: Mandatory Verification
Every code companion project MUST be verified by actually running it before it is considered complete.
This is NOT optional. A companion project that hasn't been executed and tested is NOT complete.
Verification Workflow
┌─────────────────────────────────────────────────────────────────────────────┐
│ COMPANION PROJECT CREATION FLOW │
├─────────────────────────────────────────────────────────────────────────────┤
│ │
│ 1. SCAFFOLD Create base project (composer/npm/etc) │
│ ↓ │
│ 2. CUSTOMIZE Add article-specific code │
│ ↓ │
│ 3. VERIFY ⭐ ACTUALLY RUN THE CODE │
│ │ │
│ ├── Install dependencies → Must succeed │
│ ├── Run application → Must start without errors │
│ └── Run tests → All tests must pass │
│ │ │
│ ├── ✅ All pass → Companion project complete │
│ └── ❌ Any fail → Fix code, return to step 3 │
│ │
└─────────────────────────────────────────────────────────────────────────────┘
Verification Commands by Type
| Type | Install | Run | Test |
|---|---|---|---|
| Laravel | composer install |
php artisan serve |
php artisan test |
| Node.js | npm install |
npm start or node src/index.js |
npm test |
| Python | pip install -r requirements.txt |
python src/main.py |
pytest |
| React | npm install |
npm start |
npm test |
| Vue | npm install |
npm run dev |
npm test |
| Go | go mod download |
go run . |
go test ./... |
What "Verify" Means
You must actually execute these commands and confirm they succeed:
# Example: Laravel verification
cd code
# 1. Install - MUST SUCCEED
composer install
# ✓ Check: No errors, vendor/ folder created
# 2. Setup - MUST SUCCEED
cp .env.example .env
php artisan key:generate
touch database/database.sqlite
php artisan migrate
# ✓ Check: No errors, database has tables
# 3. Run - MUST START
php artisan serve &
# ✓ Check: Server starts on localhost:8000
# ✓ Check: Can access in browser (if web app)
# Then stop the server
# 4. Test - ALL MUST PASS
php artisan test
# ✓ Check: "Tests: X passed" with 0 failures
If ANY step fails:
- Read the error message
- Fix the code
- Re-run verification from step 1
- Repeat until ALL steps pass
Verification Checklist
Before marking a companion project complete, confirm:
-
install_commandexecuted successfully (no errors) - All dependencies installed (vendor/, node_modules/, etc. exists)
-
run_commandstarts the application without errors - Application is accessible (if web app, can load in browser)
-
test_commandexecuted successfully - All tests pass (0 failures)
- No warnings that indicate missing functionality
DO NOT proceed to the next phase until all boxes are checked.
Companion Project Types
1. Code Companion Projects (code)
Complete application installations that can be:
- Cloned/copied
- Installed with one command
- Run immediately
- Tested
Laravel Application
Creation Process:
# 1. Create full Laravel project
cd content/articles/YYYY_MM_DD_slug/
composer create-project laravel/laravel code --prefer-dist
# 2. Configure for SQLite (no external DB)
cd code
cp .env.example .env
sed -i 's/DB_CONNECTION=mysql/DB_CONNECTION=sqlite/' .env
touch database/database.sqlite
php artisan key:generate
# 3. Install Pest
composer require pestphp/pest --dev --with-all-dependencies
php artisan pest:install
# 4. Add article-specific code
# - Models, Controllers, Routes, Views
# - Migrations, Seeders
# - Tests
# 5. VERIFY - Run migrations and tests
php artisan migrate
php artisan test
# ⚠️ DO NOT CONTINUE IF TESTS FAIL
Required Files (auto-generated by Laravel):
code/
├── app/
│ ├── Http/Controllers/
│ ├── Models/
│ └── Providers/
├── bootstrap/
Установить companion-project-creator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл companion-project-creator?
Create complete runnable companion projects for articles - scaffolded projects, not snippets
Как установить скилл companion-project-creator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл companion-project-creator запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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