Agent skill
twelve-factor
12 Factor App methodology for web applications and microservices.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/twelve-factor
SKILL.md
The Twelve-Factor App
Factors
| # | Factor | Principle |
|---|---|---|
| I | Codebase | One codebase tracked in VCS, many deploys |
| II | Dependencies | Explicitly declare and isolate dependencies |
| III | Config | Store config in environment variables |
| IV | Backing services | Treat backing services as attached resources |
| V | Build, release, run | Strictly separate build and run stages |
| VI | Processes | Execute app as stateless processes |
| VII | Port binding | Export services via port binding |
| VIII | Concurrency | Scale out via the process model |
| IX | Disposability | Fast startup and graceful shutdown |
| X | Dev/prod parity | Keep development and production similar |
| XI | Logs | Treat logs as event streams |
| XII | Admin processes | Run admin tasks as one-off processes |
Checklist
- No hardcoded config (use env vars)
- Dependencies in manifest (package.json, go.mod, etc.)
- Stateless processes (no local session state)
- Logs to stdout (no local log files)
- Graceful shutdown handling
- Health check endpoints
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?