12 factor app

From pproenca/dot-skills · View interactive version

12 factor app is an AI agent skill from the GitHub repository pproenca/dot-skills. The Twelve-Factor App methodology for building scalable, maintainable cloud-native applications. Use when designing backend services, APIs, microservices, or any software-as-a-service application. Triggers on deployment patterns, configuration management, process architecture, logging, and infrastru

How to use this skill

Skill file

Community Cloud-Native Applications Best Practices

Comprehensive methodology for building modern software-as-a-service applications that are portable, scalable, and maintainable. Contains 51 rules across 12 categories, covering the entire application lifecycle from codebase management to production operations.

When to Apply

Reference these guidelines when:

Rule Categories by Priority

| Priority | Category | Impact | Prefix |

|----------|----------|--------|--------|

| 1 | Codebase & Version Control | CRITICAL | code- |

| 2 | Dependencies | CRITICAL | dep- |

| 3 | Configuration | CRITICAL | config- |

| 4 | Backing Services | HIGH | svc- |

| 5 | Build, Release, Run | HIGH | build- |

| 6 | Processes & State | HIGH | proc- |

| 7 | Concurrency & Scaling | HIGH | scale- |

| 8 | Disposability | HIGH | disp- |

| 9 | Port Binding | MEDIUM | port- |

| 10 | Dev/Prod Parity | MEDIUM | parity- |

| 11 | Logging | MEDIUM | log- |

| 12 | Admin Processes | MEDIUM | admin- |

Quick Reference

1. Codebase & Version Control (CRITICAL)

2. Dependencies (CRITICAL)

3. Configuration (CRITICAL)

4. Backing Services (HIGH)

5. Build, Release, Run (HIGH)

6. Processes & State (HIGH)

7. Concurrency & Scaling (HIGH)

8. Disposability (HIGH)

9. Port Binding (MEDIUM)

10. Dev/Prod Parity (MEDIUM)

11. Logging (MEDIUM)

12. Admin Processes (MEDIUM)

How to Use

Read individual reference files for detailed explanations and code examples:

Reference Files

| File | Description |

|------|-------------|

| references/_sections.md | Category definitions and ordering |

| assets/templates/_template.md | Template for new rules |

| metadata.json | Version and reference information |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.