twelve-factor-concurrency

Define explicit web and worker process types for scalable concurrency.

1|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/niboj/agent-skills-12-factor-app --skill twelve-factor-concurrency
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: twelve-factor-concurrency
Source: https://github.com/niboj/agent-skills-12-factor-app/tree/main/skills/twelve-factor-concurrency
Command: npx skills add https://github.com/niboj/agent-skills-12-factor-app --skill twelve-factor-concurrency

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps engineering teams implement the concurrency factor by organizing an application's runtime into explicit process types, enabling scalable and predictable behavior.

Core Features & Use Cases

  • Define and assign clear web and worker process roles to separate concerns.
  • Provide a scalable model for horizontal growth by adding process instances.
  • Facilitate architecture audits, design sessions, and documentation efforts for twelve-factor concurrency.

Quick Start

Configure your app to define distinct web and worker processes and outline a scaling strategy, then review the architecture using this skill.

Frequently Asked Questions about twelve-factor-concurrency

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scale web and worker processes in a multi-service app?

To scale web and worker processes, define explicit process types that separate concerns and enable horizontal growth by adding process instances. This approach ensures predictable behavior during application refactors.

What is the best way to separate web and worker responsibilities for twelve-factor concurrency?

Separating web and worker responsibilities requires assigning clear process roles to distinct process types. This twelve-factor concurrency model facilitates architecture audits and provides a scalable foundation for multi-service applications.

When do I need explicit process types for application scaling?

You need explicit process types when organizing an application's runtime for scalable concurrency. This is applicable during architecture audits, design sessions, documentation efforts, or refactors of web and worker processes.

Can I use this approach for architecture audits of existing multi-service apps?

Yes, you can use explicit process formation to conduct architecture audits of existing multi-service apps. It helps review and enforce scalable web and worker responsibilities alongside supervisor and scale guidance.

How do I configure an application to define distinct web and worker processes?

Configuring distinct web and worker processes involves defining explicit process types and outlining a scaling strategy. This organizes the runtime into predictable process formations that separate concerns for horizontal growth.

Why does defining explicit process types improve concurrency?

Defining explicit process types improves concurrency by organizing the application runtime into distinct web and worker roles. This enables horizontal scaling through adding process instances and ensures predictable application behavior.