Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
pproenca avatar

Theory Of Constraints

  • 68 installs
  • 191 repo stars
  • Updated July 24, 2026
  • pproenca/dot-skills

theory-of-constraints is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

Key points

  • theory-of-constraints
  • AI & Agent Building
  • AI-coding skill

Theory Of Constraints by the numbers

  • 68 all-time installs (skills.sh)
  • +6 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #5,858 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/pproenca/dot-skills --skill theory-of-constraints

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs68
repo stars191
Last updatedJuly 24, 2026
Repositorypproenca/dot-skills

How do I helps with ai & agent building tasks during ai-assisted development?

Helps with ai & agent building tasks during AI-assisted development.

Who is it for?

Best when you're working on ai & agent building and need structured help with theory-of-constraints.

Skip if: Teams with no ai & agent building needs, or anyone wanting a generic chat assistant without this specific workflow.

When should I use this skill?

When you need to helps with ai & agent building tasks during ai-assisted development, or when theory-of-constraints is a claude code skill for ai & agent building. it helps solo builders move faster with ai-assisted coding.

What you get

Structured output aligned to theory-of-constraints: theory-of-constraints; AI & Agent Building; AI-coding skill.

Files

SKILL.mdMarkdownGitHub ↗

Theory of Constraints

A diagnostic runbook for optimizing any process — a CI/build pipeline, a dev value stream, an Agent Skill or plugin, or a runtime code path — through Eliyahu Goldratt's Theory of Constraints (ToC).

The one idea that makes ToC powerful: every system has exactly one binding constraint at a time, and global throughput rises only when you improve that constraint. Effort spent anywhere else produces nothing — "an hour saved at a non-bottleneck is a mirage." This runbook finds the constraint with measurement, then walks the Five Focusing Steps to relieve it without creating new problems.

When to Apply

Use this skill when the user wants to optimize a process or workflow and any of these are true:

  • They want to optimize but don't know where to start ("make this faster", "why is this slow", "reduce the cost of this").
  • A local speedup didn't move the end-to-end result (you optimized the wrong thing).
  • Work, queues, or WIP pile up at one stage while others sit idle.
  • Everything looks 100% busy but little ships (high utilization, low throughput).
  • They added capacity, parallelism, or resources and it didn't help.
  • Fixing one bottleneck just surfaces another.
  • The real limiter is a policy or rule, not a resource (a mandatory full test suite, serialized review, a "read every reference" instruction, batch-everything releases).
  • They're stuck in a tradeoff that blocks the obvious fix ("faster vs safer", "smaller context vs more coverage").

Do not use this skill for:

  • A specific, already-localized hotspot where the constraint is known — go straight to the fix (e.g. an O(n²) loop → complexity-optimizer).
  • Pure correctness/quality review with no throughput goal — use a code-review skill.
  • Micro-optimizing a stage you have not yet proven is the constraint. That is the cardinal ToC error; this skill exists to stop it.

The Process of Ongoing Improvement (POOGI)

ToC is a loop, not a one-shot. Always run it in order — exploiting before elevating is what separates ToC from "just throw resources at it."

        ┌─────────────────────────────────────────────────┐
        │                                                   │
        ▼                                                   │
1. IDENTIFY the constraint  ── the one stage that gates global throughput
        │
        ▼
2. EXPLOIT it               ── get the most from it with NO new spend
        │                       (remove waste/idle on the constraint)
        ▼
3. SUBORDINATE everything   ── pace all non-constraints to the constraint;
   else to the constraint      let them idle rather than build WIP
        │
        ▼
4. ELEVATE the constraint   ── only now add capacity / invest / parallelize
        │
        ▼
5. REPEAT                   ── the constraint has moved; go to step 1.
        │                       Do NOT let inertia (old policies) be the
        └───────────────────────new constraint.

The most common mistakes map directly to skipped steps: jumping to step 4 (elevate) before step 2 (exploit), or never reaching step 1 (optimizing whatever is most visible instead of what is binding).

Common Symptoms

Start here. Match the symptom, open its decision tree, run the quick check.

SymptomUsual constraintQuick checkTree
"Optimize this, don't know where"Unknown — measure firstqueries/measure-stage-times.shfind-the-constraint
Local speedup, no global gainYou optimized a non-constraintqueries/throughput-accounting.pylocal-optimum
Queue/WIP piling up at a stageConstraint is at/just downstream of the pilequeries/measure-wip.shwip-accumulation
Busy everywhere, little shipsNon-constraints over-activatedqueries/utilization-vs-throughput.pyutilization-trap
Added capacity, no improvementElevated the wrong thing / skipped exploitqueries/measure-stage-times.shelevation-misfire
Fix one bottleneck, another appearsConstraint moved (expected)queries/measure-stage-times.shmoving-constraint
A rule/process is the limiterPolicy constraintqueries/five-focusing-steps.shpolicy-constraint
Stuck in a tradeoffA surfaced dilemma blocks the fix(reasoning — Evaporating Cloud)conflict-resolution

For Agent Skills / plugins specifically, the constraint is most often the always-loaded context budget (a bloated SKILL.md) or a weak description (the skill never triggers, so its throughput is zero). Run queries/skill-context-cost.sh <skill-dir>.

How to Use

1. Identify the symptom in the table above and open its tree in references/. 2. Define the goal and throughput metric first. ToC is meaningless without a global metric to improve (PRs merged/week, requests/sec, task completions per agent session, build wall-clock). The trees assume you have one — set it via config.json or ask the user. 3. Run the quick-check query the tree points to. Queries live in references/queries/; each has a header explaining parameters and how to read the output. 4. Follow the tree to a terminal action. Every path ends in a concrete ToC move (exploit / subordinate / elevate / change-the-policy / repeat). 5. Record the finding using assets/templates/report.md. Append a one-line entry to the investigation log so recurring constraints become visible over time.

Read references/symptoms.md for the full catalog with entry points and severity.

Setup

This skill uses config.json to know what "throughput" means for the system under study and how to measure each stage. On first use, if goal_metric or value_stream_stages are empty, ask the user (via AskUserQuestion) for:

  • the goal metric (the global throughput to maximize), and
  • the ordered stages of the workflow being optimized.

Then save them to config.json. If config cannot be filled, the skill still works — fall back to asking the user inline and measuring stages manually. Never block on missing config.

Gotchas

The classic ToC traps (measuring local efficiency, elevating before exploiting, optimizing the most-visible stage) are captured in gotchas.md. Read it before your first investigation — these errors are the whole reason ToC exists.

Related Skills

  • complexity-optimizer — once ToC identifies a code stage as the constraint, use this to find and fix the algorithmic hotspot inside it.
  • dx-harness — when the constraint is a developer-experience chore (slow bootstrap, manual steps), this audits and fixes the harness.
  • dev-skill:evolve — when the constraint is an Agent Skill itself (bloated context, weak triggering), this improves it.

Related skills

FAQ

What does theory-of-constraints do?

theory-of-constraints is a Claude Code skill for ai & agent building. It helps developers move faster with AI-assisted coding.

When should I use theory-of-constraints?

When you need to helps with ai & agent building tasks during ai-assisted development, or when theory-of-constraints is a claude code skill for ai & agent building. it helps developers move faster with ai-assisted coding.

What are the main capabilities?

theory-of-constraints; AI & Agent Building; AI-coding skill.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.