/fullstack-skills:deployment-devopsfrom fullstack-skills
Use this skill for deployment, production readiness, server setup, CI/CD, Docker, rollback, zero-downtime deployment, queue workers, cron, environment config, monitoring, alerting, observability, backup, and infrastructure. Triggers on requests about deploying, going live, server issues, pipeline setup, or any production operations concern.
Ships in fullstack-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill for deployment, production readiness, server setup, CI/CD, rollback, zero-downtime, queue workers, cron, environment issues, monitoring, and infrastructure.
../../../RULES.md when available and apply it as the behavior, safety, validation, and communication baseline.APP_ENV=production / NODE_ENV=productionAPP_DEBUG=false)APP_URL / NEXT_PUBLIC_URL.env file committed to version control--force flag)1. Pull code to new release directory
2. Install dependencies (composer/npm)
3. Build assets
4. Run tests (if CI didn't)
5. Run safe migrations
6. Warm cache
7. Switch symlink atomically
8. Reload app server gracefully (PHP-FPM, PM2, etc.)
9. Restart queue workers safely
10. Verify health check
11. Keep previous release for rollback
12. Clean old releases (keep last 5)
The schema-change safety matrix and universal migration rules are the pack-wide
canonical source: ../database-performance/references/migration-safety.md — use it,
do not restate it here.
Zero-downtime-specific deploy ordering on top of that matrix:
CREATE INDEX CONCURRENTLY outside the deploy critical path.1. Lint → Static analysis, code style
2. Test → Unit, integration, feature tests
3. Build → Compile assets, container image
4. Security → Dependency audit, secret scanning
5. Deploy Staging → Auto-deploy, smoke test
6. Deploy Production → Manual trigger or auto with approval
7. Post-Deploy → Health check, smoke test, notify
latest in production.latest.HEALTHCHECK..dockerignore to exclude unnecessary files.Concrete Laravel and Node.js/Next.js deployment commands and production-config
checklists are in references/framework-deployment.md — load it when deploying one of
those stacks. The framework-agnostic readiness/zero-downtime/rollback rules above and
below remain the source of truth; the reference only holds per-framework specifics.
# Switch symlink to previous release
ln -sfn /releases/previous /current
# Reload app server
sudo systemctl reload php-fpm # or pm2 reload
# Restart queue workers
php artisan queue:restart # or pm2 restart workers
# Only after backup, verification, and explicit confirmation that the migration is safely reversible
php artisan migrate:rollback --step=1
# If not reversible — deploy forward fix instead
| Metric | Warning | Critical |
|---|---|---|
| Error rate | > 1% | > 5% |
| Response time (p95) | > 1s | > 3s |
| CPU usage | > 70% sustained | > 90% |
| Memory usage | > 80% | > 95% |
| Disk usage | > 75% | > 90% |
| Queue depth | > 1000 | > 10000 |
| Failed jobs | > 10/hour | > 100/hour |
| SSL expiry | < 30 days | < 7 days |
| Uptime | Any downtime | > 5 min |
1. Acknowledge — confirm the issue exists
2. Assess — determine scope and severity
3. Communicate — notify stakeholders
4. Mitigate — stop the bleeding (rollback, feature flag, scale)
5. Fix — implement proper fix
6. Verify — confirm fix works
7. Post-mortem — document what happened, why, and how to prevent
Beyond infrastructure monitoring, ensure the application itself is observable:
# Deployment Review
## Current Risk Assessment
Overall production readiness score and critical gaps.
## Required Fixes (Before Deploy)
Must-fix items blocking safe deployment.
## Recommended Improvements
Important but non-blocking improvements.
## Deployment Steps
Numbered, copy-paste-ready deployment procedure.
## Rollback Steps
Numbered, copy-paste-ready rollback procedure.
## Verification Commands
Commands to verify successful deployment.
## Post-Deploy Checklist
Monitoring and verification tasks after deployment.
## Monitoring Gaps
Missing monitoring or alerting recommendations.
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (korwlik23/ai-skills) — no native marketplace selected
npx claudepluginhub p/korwlik23-fullstack-skills81 skills in this plugin
/ab-testingWhen the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program," or "experiment playbook." Use this whenever someone is comparing two approaches and wants to measure which performs better, or when they want to build a systematic experimentation practice. For tracking implementation, see analytics. For page-level conversion optimization, see cro./ad-creativeWhen the user wants to generate, iterate, or scale ad creative — headlines, descriptions, primary text, or full ad variations — for any paid advertising platform. Also use when the user mentions 'ad copy variations,' 'ad creative,' 'generate headlines,' 'RSA headlines,' 'bulk ad copy,' 'ad iterations,' 'creative testing,' 'ad performance optimization,' 'write me some ads,' 'Facebook ad copy,' 'Google ad headlines,' 'LinkedIn ad text,' or 'I need more ad variations.' Use this whenever someone needs to produce ad copy at scale or iterate on existing ads. For campaign strategy and targeting, see ads. For landing page copy, see copywriting.