production
Main orchestrator for the production-stack-skills pack. Routes /production subcommands to specialized skills. Use this skill when the user types /production followed by a subcommand (check, fastapi, postgres, docker, deploy, monitoring, security, errors, report, score). Also triggers when user says 'make this production ready', 'productionize this', or asks about production readiness in general.
Works with
--- name: production description: Main orchestrator for the production-stack-skills pack. Routes /production subcommands to specialized skills. Use this skill when the user types /production followed by a subcommand (check, fastapi, postgres, docker, deploy, monitoring, security, errors, report, score). Also triggers when user says 'make this production ready', 'productionize this', or asks about production readiness in general. license: MIT --- # Production Stack Skills — Orchestrator You are the router for the production-stack-skills pack. When the user invokes `/production <subcommand>`, dispatch to the appropriate specialized skill. ## Command Router | Command | Skill | What It Does | |---------|-------|--------------| | `/production check` | production-check | Full audit with 0-100 score and prioritized action plan | | `/production score` | production-check | Quick 60-second headline score, top 3 findings | | `/production report` | production-check | Full audit formatted as a shareable Markdown report | | `/production fastapi` | production-fastapi | Apply FastAPI production patterns to current project | | `/production postgres` | production-postgres | Review migrations, indexes, connections, schema design | | `/production docker` | production-docker | Audit or generate production-grade Dockerfile | | `/production deploy` | production-deploy | Pre-deployment checklist walkthrough | | `/production monitoring` | production-monitoring | Add OTEL traces, structured logging, health endpoints | | `/production security` | production-security | Security audit — secrets, CORS, auth, rate limiting | | `/production errors` | production-error-handling | Apply error handling patterns — retries, circuit breakers | | `/production review` | production-review | Production-readiness code review on specific files/PRs | | `/production plan` | production-planner | Architecture planning with production constraints | ## Routing Logic 1. **Parse the subcommand** from the user's input 2. **Detect the project stack** (language, framework, database, infrastructure) 3. **Dispatch to the appropriate skill** — load its SKILL.md and follow its instructions 4. **If no subcommand is given**, show the command table above and ask what they'd like to do 5. **If the subcommand is ambiguous**, ask for clarification ## No Subcommand — Default Behavior If the user just says `/production` without a subcommand, respond with: ``` Production Stack Skills — available commands: /production check Full audit with 0-100 score /production score Quick headline score (60 seconds) /production fastapi FastAPI production patterns /production postgres PostgreSQL safety & performance /production docker Container hardening /production deploy Pre-deployment checklist /production monitoring Observability setup /production security Security hardening /production errors Error handling patterns /production review Production-readiness code review /production plan Architecture planning /production report Shareable readiness report What would you like to do? ``` ## Stack Detection Before dispatching, detect the project stack to provide context to the sub-skill: ``` Check for: ├── Python: pyproject.toml, requirements.txt, setup.py, Pipfile │ ├── FastAPI: "fastapi" in dependencies │ ├── Django: "django" in dependencies │ └── Flask: "flask" in dependencies ├── Node.js: package.json │ ├── Express: "express" in dependencies │ └── Fastify: "fastify" in dependencies ├── Go: go.mod ├── Java: pom.xml, build.gradle ├── Database: connection strings, ORM configs, migration directories ├── Docker: Dockerfile, docker-compose.yml └── CI/CD: .github/workflows/, .gitlab-ci.yml ``` Pass the detected stack to the sub-skill so it can tailor its recommendations. ## General Guidelines When routing to a sub-skill: - **Be specific**: pass the detected stack and relevant file paths - **Be efficient**: don't re-detect what the sub-skill will detect - **Be helpful**: if the user asks for something that spans multiple skills, run them in sequence - **Cross-reference**: after completing one skill, suggest related skills that would help Example: After `/production fastapi`, suggest: > "Your FastAPI patterns are solid. Consider running `/production docker` to harden your container, and `/production check` for a full audit."
More Database skills
supabase-postgres-best-practices
supabase/agent-skills
Postgres best practices maintained by Supabase, for Postgres running anywhere. Load this skill BEFORE writing or changing anything that lives in a Postgres database: creating or altering tables and columns (including choosing column types), schema design, migrations and declarative schema files, RLS policies and the tests that verify them, indexes, triggers, database functions, queues and scheduled jobs (pg_cron, pgmq), vector/semantic search (pgvector), and restoring dumps (pg_restore) or importing data. Also load it when diagnosing slow queries, high CPU, timeouts, EXPLAIN plans, connection exhaustion, locking, bloat, or rows visible to the wrong user or tenant. This is not just a performance guide — schema, migration, security, and SQL authoring tasks need these rules too, even for a one-column change or a single query.
prisma-database-setup
prisma/skills
Guides for configuring Prisma with different database providers (PostgreSQL, MySQL, SQLite, MongoDB, etc.). Use when setting up a new project, changing databases, or troubleshooting connection issues. Triggers on "configure postgres", "connect to mysql", "setup mongodb", "sqlite setup".
prisma-postgres
prisma/skills
Prisma Postgres setup and operations guidance across Console, create-db CLI, Management API, and Management API SDK. Use when creating Prisma Postgres databases, working in Prisma Console, provisioning with create-db/create-pg/create-postgres, or integrating programmatic provisioning with service tokens or OAuth.

