Tooluck logoTooluck
SKILL.md

12-factor-apps

Agent skill fromLeoYeAI/agent-master-skills

Perform 12-Factor App compliance analysis on any codebase. Use when evaluating application architecture, auditing SaaS applications, or reviewing cloud-native applications against the original 12-Factor methodology.

How to install 12-factor-apps

install 12-factor-apps
# install the agent-master-skills pack with the skills CLI
npx skills add LeoYeAI/agent-master-skills

# or add only this skill to Claude Code: copy the folder

skills/12-factor-apps/

# into

~/.claude/skills/12-factor-apps/ (all projects)

.claude/skills/12-factor-apps/ (one project)

skills/12-factor-apps/SKILL.md

MITFull file
1# 12-Factor App Compliance Analysis
2
3> Reference: [The Twelve-Factor App](https://12factor.net)
4
5## Overview
6
7The 12-Factor App methodology is a set of best practices for building Software-as-a-Service applications that are:
8- Portable across execution environments
9- Scalable without architectural changes
10- Suitable for continuous deployment
11- Maintainable with minimal friction
12
13## Input Parameters
14
15| Parameter | Description | Required |
16|-----------|-------------|----------|
17| `codebase_path` | Root path of the codebase to analyze | Required |
18
19## Analysis Framework
20
21### Factor I: Codebase
22
23**Principle:** One codebase tracked in revision control, many deploys.
24
25**Search Patterns:**
26```bash
27# Check for version control
28ls -la .git 2>/dev/null || ls -la .hg 2>/dev/null
29
30# Check for multiple apps sharing codebase
31find . -name "package.json" -o -name "pyproject.toml" -o -name "setup.py" | head -20
32
33# Check for environment-specific code branches
34grep -r "if.*production\|if.*development\|if.*staging" --include="*.py" --include="*.js" --include="*.ts"
35```
36
37**File Patterns:** `.git/`, `package.json`, `pyproject.toml`, deployment configs
38
39**Compliance Criteria:**
40
41| Level | Criteria |
42|-------|----------|
43| **Strong** | Single Git repo, same codebase for all environments, no env-specific code branches |
44| **Partial** | Single repo but some environment-specific code paths |
45| **Weak** | Multiple repos for same app or significant code duplication across environments |
46…

Excerpt shown under the repository's MIT license.

More skills in agent-master-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

nexu-io /

open-design
107k

The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.

40 skills

tt-a1i /

archify
95k

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

CCCXOC1 skill

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates