Deployment Readiness
When to use
Use this skill before a release or during a production readiness review when you need a Laravel-specific check for deployment blockers. It is most useful when the app uses queues, Horizon, the scheduler, Redis, Octane, S3, Vapor, Forge, Docker, or a non-trivial CI/CD pipeline.
Input parameters
- Target Laravel version and hosting model.
- Deployment strategy such as containers, Forge, Vapor, or custom CI/CD.
- Relevant files, folders, or workflows to inspect.
- Any known production incidents or current release concerns.
- Whether zero-downtime deploys, Horizon, Octane, or maintenance windows are required.
Procedure
- Identify the runtime and deployment shape of the app. Inspect
composer.json, .env.example, bootstrap/app.php, config/app.php, config/database.php, config/cache.php, config/queue.php, config/filesystems.php, config/session.php, config/logging.php, and deployment files such as Dockerfile, docker-compose.yml, Forge scripts, Vapor config, GitHub Actions, or Envoyer hooks.
- Review the release flow for Laravel-specific correctness. Check config, route, event, and view caching strategy; asset build and publish steps; migration timing; queue worker restart strategy; Horizon pause/terminate behavior; and whether
php artisan optimize or other cache warm-up commands are used safely.
- Review production safety controls. Call out risky settings or missing pieces such as
APP_DEBUG, APP_ENV, trusted proxies, HTTPS enforcement, queue/cache/session driver mismatches, missing php artisan storage:link, broken scheduler setup, weak health checks, weak logging/monitoring, or poor secrets handling.
- Review rollback and mixed-version risks. Look for destructive migrations, missing backups, non-idempotent deploy steps, jobs that may run across old and new code, and any step that can leave the app half-released.
- If Horizon, Octane, Reverb, Scout, broadcasting, or websockets are present, explicitly review the extra operational requirements for those services instead of assuming the default web deploy is enough.
- Return findings under
Blockers, Warnings, Pre-deploy checks, and Recommended follow-ups. Each point should reference the relevant Laravel file, config key, Artisan command, or infrastructure file.
- End with a clear verdict:
Ready, Ready with conditions, or Not ready. Keep the answer focused on release-critical issues rather than a generic operations checklist.
Output expectations: return a short release-readiness report with blockers first, then warnings, pre-deploy checks, recommended follow-ups, and a final verdict.
Examples
Prompt 1:
Use deployment-readiness on this Laravel 12 app before tomorrow's production deploy. Focus on queues, cache warm-up, Horizon, the scheduler, and health checks.
Prompt 2:
Review this project for deployment readiness on Forge with Redis queues and S3 storage. Prioritize rollout blockers and anything that would make rollback risky.
JSON:
{
"skill": "deployment-readiness",
"context": {
"laravel_version": "12.x",
"platform": "Forge",
"queue_driver": "redis",
"focus": ["config", "queues", "cache_warmup", "rollback"],
"services": ["horizon", "scheduler", "s3"],
"constraints": ["zero_downtime"]
}
}
Smoke test
Ask the agent to run the skill against a Laravel app that has Redis queues, a scheduler, and a deployment workflow. Verify that the response references specific Laravel config files, identifies real release blockers or warnings, includes pre-deploy checks, and ends with a deployment verdict.
1---2name: deployment-readiness3description: Review a Laravel app for deployment blockers across config, queues, caching, operations, and rollback readiness.4license: MIT5---67# Deployment Readiness89## When to use1011Use this skill before a release or during a production readiness review when you need a Laravel-specific check for deployment blockers. It is most useful when the app uses queues, Horizon, the scheduler, Redis, Octane, S3, Vapor, Forge, Docker, or a non-trivial CI/CD pipeline.1213## Input parameters1415- Target Laravel version and hosting model.16- Deployment strategy such as containers, Forge, Vapor, or custom CI/CD.17- Relevant files, folders, or workflows to inspect.18- Any known production incidents or current release concerns.19- Whether zero-downtime deploys, Horizon, Octane, or maintenance windows are required.2021## Procedure22231. Identify the runtime and deployment shape of the app. Inspect `composer.json`, `.env.example`, `bootstrap/app.php`, `config/app.php`, `config/database.php`, `config/cache.php`, `config/queue.php`, `config/filesystems.php`, `config/session.php`, `config/logging.php`, and deployment files such as `Dockerfile`, `docker-compose.yml`, Forge scripts, Vapor config, GitHub Actions, or Envoyer hooks.242. Review the release flow for Laravel-specific correctness. Check config, route, event, and view caching strategy; asset build and publish steps; migration timing; queue worker restart strategy; Horizon pause/terminate behavior; and whether `php artisan optimize` or other cache warm-up commands are used safely.253. Review production safety controls. Call out risky settings or missing pieces such as `APP_DEBUG`, `APP_ENV`, trusted proxies, HTTPS enforcement, queue/cache/session driver mismatches, missing `php artisan storage:link`, broken scheduler setup, weak health checks, weak logging/monitoring, or poor secrets handling.264. Review rollback and mixed-version risks. Look for destructive migrations, missing backups, non-idempotent deploy steps, jobs that may run across old and new code, and any step that can leave the app half-released.275. If Horizon, Octane, Reverb, Scout, broadcasting, or websockets are present, explicitly review the extra operational requirements for those services instead of assuming the default web deploy is enough.286. Return findings under `Blockers`, `Warnings`, `Pre-deploy checks`, and `Recommended follow-ups`. Each point should reference the relevant Laravel file, config key, Artisan command, or infrastructure file.297. End with a clear verdict: `Ready`, `Ready with conditions`, or `Not ready`. Keep the answer focused on release-critical issues rather than a generic operations checklist.3031Output expectations: return a short release-readiness report with blockers first, then warnings, pre-deploy checks, recommended follow-ups, and a final verdict.3233## Examples3435Prompt 1:3637```text38Use deployment-readiness on this Laravel 12 app before tomorrow's production deploy. Focus on queues, cache warm-up, Horizon, the scheduler, and health checks.39```4041Prompt 2:4243```text44Review this project for deployment readiness on Forge with Redis queues and S3 storage. Prioritize rollout blockers and anything that would make rollback risky.45```4647JSON:4849```json50{51 "skill": "deployment-readiness",52 "context": {53 "laravel_version": "12.x",54 "platform": "Forge",55 "queue_driver": "redis",56 "focus": ["config", "queues", "cache_warmup", "rollback"],57 "services": ["horizon", "scheduler", "s3"],58 "constraints": ["zero_downtime"]59 }60}61```6263## Smoke test6465Ask the agent to run the skill against a Laravel app that has Redis queues, a scheduler, and a deployment workflow. Verify that the response references specific Laravel config files, identifies real release blockers or warnings, includes pre-deploy checks, and ends with a deployment verdict.