agentleFS
vstorm-covstorm-co/production-stack-skills/production/SKILL.md

production

Skill26 starsChanged 8 months agoMITView on GitHub

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.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If the user just says /production without a subcommand, respond with:

    line 37
  2. Distinctive:

    Before dispatching, detect the project stack to provide context to the sub-skill:

    line 60
  3. Distinctive:

    When routing to a sub-skill:

    line 82
  4. Distinctive:

    Be efficient: don't re-detect what the sub-skill will detect

    line 84
  5. Distinctive:

    Be helpful: if the user asks for something that spans multiple skills, run them in sequence

    line 85
  6. Distinctive:

    Cross-reference: after completing one skill, suggest related skills that would help

    line 86

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

CommandSkillWhat It Does
/production checkproduction-checkFull audit with 0-100 score and prioritized action plan
/production scoreproduction-checkQuick 60-second headline score, top 3 findings
/production reportproduction-checkFull audit formatted as a shareable Markdown report
/production fastapiproduction-fastapiApply FastAPI production patterns to current project
/production postgresproduction-postgresReview migrations, indexes, connections, schema design
/production dockerproduction-dockerAudit or generate production-grade Dockerfile
/production deployproduction-deployPre-deployment checklist walkthrough
/production monitoringproduction-monitoringAdd OTEL traces, structured logging, health endpoints
/production securityproduction-securitySecurity audit — secrets, CORS, auth, rate limiting
/production errorsproduction-error-handlingApply error handling patterns — retries, circuit breakers
/production reviewproduction-reviewProduction-readiness code review on specific files/PRs
/production planproduction-plannerArchitecture 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."

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.