12-factor-app
БесплатноБез исполняемых скриптовНе проверенThe Twelve-Factor App methodology for building scalable, maintainable cloud-native applications. Use when designing backend services, APIs, microservices, or…
от pproenca★ 231 звезда на GitHubОб этом скилле
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:
- Designing new backend services or APIs
- Containerizing applications for Kubernetes or Docker
- Setting up CI/CD pipelines
- Managing configuration across environments
- Implementing logging and monitoring
- Planning application scaling strategy
- Debugging deployment or environment issues
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)
code-single-codebase- Maintain one codebase per application in version controlcode-one-app-one-repo- Enforce one-to-one correlation between codebase and applicationcode-deploys-not-branches- Use deploys not branches to represent environmentscode-shared-as-libraries- Factor shared code into libraries managed by dependency manager
2. Dependencies (CRITICAL)
dep-explicit-declaration- Declare all dependencies explicitly in a manifest filedep-isolate-execution- Isolate dependencies to prevent system package leakagedep-no-system-tools- Never rely on implicit system tools being availabledep-deterministic-builds- Use lockfiles for deterministic dependency resolution
3. Configuration (CRITICAL)
config-separate-from-code- Strictly separate configuration from codeconfig-use-env-vars- Store configuration in environment variablesconfig-no-env-groups- Treat environment variables as granular controls not grouped environmentsconfig-validate-on-startup- Validate required configuration at application startupconfig-never-commit-secrets- Never commit secrets or credentials to version control
4. Backing Services (HIGH)
svc-as-attached-resources- Treat backing services as attached resourcessvc-connection-strings- Reference all backing services via connection URLs in configsvc-no-local-vs-remote- Make no distinction between local and third-party servicessvc-detach-attach-without-code- Design services to be detachable and attachable without code changes
5. Build, Release, Run (HIGH)
build-separate-stages- Strictly separate build, release, and run stagesbuild-immutable-releases- Create immutable releases with unique identifiersbuild-no-runtime-changes- Never modify code at runtime - changes require new releasebuild-complexity-in-build- Push complexity into build stage keep run stage minimalbuild-artifact-per-commit- Generate one build artifact per commit deploy same artifact everywhere
6. Processes & State (HIGH)
proc-stateless-processes- Execute the application as stateless processesproc-no-sticky-sessions- Never use sticky sessions - store session data in backing servicesproc-no-local-filesystem- Never assume local filesystem persists between requestsproc-compile-at-build- Perform asset compilation and bundling at build time not runtimeproc-share-nothing- Design processes to share nothing with each other
7. Concu
Установить 12-factor-app в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл 12-factor-app?
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 infrastructure decisions.
Как установить скилл 12-factor-app?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл 12-factor-app запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic