Agent skill
devops
Generates DevOps configurations and scripts for deploying and managing Laravel applications. Run local commands to debug and deploy.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/devops/devops
SKILL.md
Devops
Instructions
Environment Setup
Option 1: Docker Development (Recommended)
# Copy environment file
cp .env.example .env
# Start all services
docker compose up -d
# Install PHP dependencies
docker compose exec app composer install
# Install Node dependencies
docker compose exec app yarn install
# Generate application key
docker compose exec app php artisan key:generate
# Run migrations
docker compose exec app php artisan migrate
# Build frontend assets
docker compose exec app yarn dev
Option 2: Local Development
Ensure PHP 8.4+ is installed, then:
# Install dependencies
composer install
yarn install
# Setup environment
cp .env.example .env
php artisan key:generate
# Configure database and run migrations
php artisan migrate
# Start development servers
composer run dev # Starts Laravel Octane, queue worker, logs, and Vite
Development Scripts
All commands should run from a Docker container. The project includes several useful Composer scripts:
composer run dev- Start all development services (Octane, queue, logs, Vite)composer run ide-helper- Generate IDE helper filescomposer run phpstan- Run static analysiscomposer run pint- Check code stylecomposer run pint:fix- Fix code style issuescomposer run rector- Check for code modernization opportunitiescomposer run rector:fix- Apply code modernization
CI/CD Pipeline
The project uses GitHub Actions with:
- Linting: PHPStan, Laravel Pint, Rector
- Testing: Pest with coverage and mutation testing
- Code Coverage: Codecov integration
- Parallel Execution: Tests run in parallel for faster feedback
Environment-Specific Notes
- Local Development: Use Docker Compose for consistent environment
- Testing: Separate PostgreSQL instance for tests
- Production: Optimized for Laravel Octane with FrankenPHP
- Debugging: Xdebug available in development, Telescope for application debugging
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?