From twelve-factor-app
References 15-factor Twelve-Factor App methodology for evaluating cloud-native app architecture, compliance reviews, config, scaling, observability, security, deployments.
npx claudepluginhub jamie-bitflight/claude_skills --plugin twelve-factor-appThis skill uses the workspace's default tool permissions.
The Twelve-Factor App is a methodology for building software-as-a-service applications that are portable, deployable on modern cloud platforms, and scalable without significant architectural changes. Originally published in 2011 by Adam Wiggins (Heroku), the methodology was open-sourced in November 2024 and is now actively maintained at [github.com/heroku/12factor](https://github.com/heroku/12f...
assets/example_asset.txtreferences/admin-processes/admin-processes.mdreferences/admin-processes/index.mdreferences/api_reference.mdreferences/build-release-run/build-release-run.mdreferences/build-release-run/index.mdreferences/codebase-and-dependencies/codebase.mdreferences/codebase-and-dependencies/dependencies.mdreferences/codebase-and-dependencies/index.mdreferences/concurrency-and-disposability/concurrency.mdreferences/concurrency-and-disposability/disposability.mdreferences/concurrency-and-disposability/index.mdreferences/configuration-and-backing-services/backing-services.mdreferences/configuration-and-backing-services/config.mdreferences/configuration-and-backing-services/index.mdreferences/dev-prod-parity-and-logs/dev-prod-parity.mdreferences/dev-prod-parity-and-logs/index.mdreferences/dev-prod-parity-and-logs/logs.mdreferences/methodology-overview/background.mdreferences/methodology-overview/index.mdGuides 12-Factor methodology for scalable cloud-native apps. Use for microservices design, container config, Kubernetes deployment, CI/CD pipelines, and environment management.
Implements 12-Factor principles for cloud-native apps: codebase via Git, dependencies with lockfiles/Docker multistage, config via env vars. For microservices, Kubernetes, containers.
Performs 12-Factor App compliance analysis on any codebase. Use when evaluating application architecture, auditing SaaS applications, or reviewing cloud-native applications.
Share bugs, ideas, or general feedback.
The Twelve-Factor App is a methodology for building software-as-a-service applications that are portable, deployable on modern cloud platforms, and scalable without significant architectural changes. Originally published in 2011 by Adam Wiggins (Heroku), the methodology was open-sourced in November 2024 and is now actively maintained at github.com/heroku/12factor with community-driven updates for Kubernetes, containers, and GitOps workflows.
SOURCE: https://12factor.net/blog/open-source-announcement (accessed 2026-02-26)
| Factor | Principle |
|---|---|
| I. Codebase | One codebase tracked in revision control, many deploys |
| II. Dependencies | Explicitly declare and isolate dependencies |
| III. Config | Store config in the environment |
| IV. Backing services | Treat backing services as attached resources |
| V. Build, release, run | Strictly separate build and run stages |
| VI. Processes | Execute the app as one or more stateless processes |
| VII. Port binding | Export services via port binding |
| VIII. Concurrency | Scale out via the process model |
| IX. Disposability | Maximize robustness with fast startup and graceful shutdown |
| X. Dev/prod parity | Keep development, staging, and production as similar as possible |
| XI. Logs | Treat logs as event streams |
| XII. Admin processes | Run admin/management tasks as one-off processes |
Three additional factors are widely adopted in cloud-native practice, established by Kevin Hoffman's Beyond the Twelve-Factor App (O'Reilly, 2016) and formalized in the 15-factor methodology:
| Factor | Principle |
|---|---|
| XIII. API-First | Design and publish the service API contract before implementing the backing logic |
| XIV. Telemetry | Treat observability (metrics, traces, structured logs) as a first-class operational requirement |
| XV. Authentication and Authorization | Elevate identity, authn, and authz to first-class concerns in service design |
SOURCE: https://www.oreilly.com/library/view/beyond-the-twelve-factor/9781492042631/ (accessed 2026-02-26)
Background, goals, target audience, and design philosophy.
Version control discipline and explicit dependency management.
Environment-based config and treating backing services as swappable attached resources.
Strict separation of the three stages that transform a codebase into a running deploy.
Stateless share-nothing process execution and self-contained service export via port binding.
Scaling via the process model and building robust disposable processes.
Minimizing environment gaps and treating logs as event streams.
Running one-off administrative and maintenance tasks as processes in the same environment as the app.
Open-source governance, narrow-conduit concept, 15-factor extensions, Reactive Principles, and monolith modernization patterns.
Use this to audit an application against the methodology: