/powertools:theory-of-constraintsfrom powertools
Apply Goldratt's Theory of Constraints (TOC) to identify and resolve the single biggest bottleneck limiting a system, process, project, or organization. Use this skill whenever someone mentions bottlenecks, constraints, throughput problems, process improvement, "what's holding us back," "why is this slow," capacity issues, or any variant of "something is blocking progress." Also trigger when someone describes a stalled project, a team that can't ship fast enough, a process that isn't scaling, repeated missed deadlines, piling WIP, or firefighting/expediting as a norm. This applies to manufacturing, software development, services, operations, and any system of value creation. Even if the user doesn't use the phrase "theory of constraints," if they're describing a system with a bottleneck they want to fix, this skill applies. Based on Eliyahu Goldratt's Theory of Constraints (The Goal, 1984) and the Five Focusing Steps / Thinking Processes.
Ships in powertools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill walks users through Goldratt's Theory of Constraints (TOC) — a systematic method for finding and eliminating the single biggest bottleneck in any system of value creation. The core insight is deceptively simple: a system can only produce as fast as its slowest part. Improving anything other than the constraint is wasted effort — it creates local efficiency gains that don't move the needle on overall throughput.
Goldratt summarized all of TOC in one word: FOCUS. Most improvement initiatives fail not because they're bad ideas, but because they're aimed at non-constraints. TOC provides the discipline to find the one place where improvement actually matters, squeeze everything you can out of it, and only then move on.
This skill is domain-agnostic. TOC originated in manufacturing but applies equally to software teams, service operations, sales pipelines, product development, and any process where work flows through stages.
A constraint is the single resource, policy, or condition that most limits a system's throughput — the rate at which the system generates its goal (revenue, shipped features, completed projects, customer value). Think of it as the narrowest point in a pipe: no matter how wide the rest of the pipe is, flow is determined by the narrowest section.
Constraints come in several forms:
A system typically has ONE binding constraint at any given time. Occasionally 2-3, but rarely more. If you think you have 10 constraints, you haven't found the real one yet.
TOC replaces traditional cost accounting with three measures:
The goal is to maximize T while keeping I and OE under control. The critical metric is throughput per constraint hour — how much value does each hour of the constraint generate? Every decision should be evaluated through this lens.
This is the heart of TOC — a repeating cycle of continuous improvement. When a user brings a bottleneck problem, walk them through these steps.
Find the bottleneck. In practice, look for these signals:
Ask the user: "Where does work get stuck? What does the rest of the team wait on? Where do queues build up?" If they can't point to a specific spot, consider using the Thinking Processes (see below) to diagnose.
Common mistake: Identifying too many constraints. If someone lists 5 bottlenecks, push them to rank: "Which ONE of these, if it disappeared tomorrow, would have the biggest impact on your overall output?" That's the constraint. The others are important but secondary.
Before spending money or adding resources, maximize what you already have. The constraint is often utilized at less than 50% of its true capacity. The goal is to squeeze every drop of productive capacity from it using existing resources.
Exploitation tactics:
Ask the user: "Is your bottleneck fully utilized right now? What causes it to sit idle or redo work? What tasks could be moved off of it?"
If exploiting the constraint breaks it (i.e., throughput increases enough that a different resource becomes the new bottleneck), skip to Step 5.
This is the hardest step — and the one most organizations skip. It means: every non-constraint resource adjusts its behavior to serve the constraint. Non-constraints should NOT operate at maximum local efficiency if doing so doesn't help the constraint.
What subordination looks like:
Ask the user: "Are any upstream processes producing faster than the bottleneck can consume? Are people incentivized to look busy even when it doesn't help the constraint? Would the organization tolerate deliberate slack at non-constraint resources?"
Subordination is culturally difficult. People feel wrong about idle resources. Management wants everyone "productive." This is where the user may need to make a case to leadership that local efficiency and system throughput are different things.
Only after fully exploiting and subordinating, invest in expanding the constraint's capacity. This is the expensive step — new equipment, new hires, new technology, outsourcing, or fundamental process redesign.
Elevation examples:
The reason this comes AFTER exploit and subordinate: organizations often jump straight to "we need more resources" when they haven't first maximized what they have. Exploitation alone can yield 20-50% throughput gains with zero additional investment.
Ask the user: "After maximizing the constraint's utilization and ensuring the rest of the system serves it, is the constraint still the bottleneck? If so, what investment would expand its capacity?"
Once you've broken the constraint, a new one will emerge somewhere else. Go back to Step 1. The critical warning: don't let the policies and habits built around the old constraint become the new constraint. Organizations build elaborate systems to manage a bottleneck, and those systems persist even after the bottleneck moves. Yesterday's solution becomes today's policy constraint.
Ask the user: "Now that this bottleneck is resolved, where does work pile up next? Are there any policies or processes we put in place to manage the old constraint that no longer make sense?"
If the user knows something is wrong but can't pinpoint the constraint, use the Thinking Processes — a set of cause-and-effect analysis tools. These are especially useful for policy constraints and complex systemic problems where the bottleneck isn't a visible physical resource.
Map undesirable effects (UDEs) the user is experiencing — symptoms like missed deadlines, quality problems, customer complaints, team burnout. Then trace cause-and-effect chains backward until you find the root cause(s) that produce multiple UDEs. That root cause is likely the core constraint.
How to facilitate:
Once the constraint is identified, map out what the system SHOULD look like. Proposed changes (called "injections") replace root causes. Trace the effects forward: do the injections eliminate the UDEs? Do they create any new negative side effects?
When the solution involves a conflict or trade-off (e.g., "we need to batch work for efficiency BUT we need small batches for speed"), use an Evaporating Cloud to surface the hidden assumptions behind each side. Often the conflict dissolves when you challenge an assumption that both sides take for granted.
Structure: Define a common objective, two necessary conditions that seem to conflict, and the requirements driving each condition. Then challenge every connecting assumption until you find one that's invalid — that's your breakthrough.
Ask the user to describe:
If the user provides a brief description, ask 2-3 targeted follow-up questions. Don't interrogate — get enough to identify the value stream and start looking for the constraint.
Use the signals from Step 1 of the Five Focusing Steps. If the constraint is obvious (user already knows where work piles up), confirm it and move on. If it's not obvious, use the Current Reality Tree approach.
Present your hypothesis: "Based on what you've described, it sounds like [X] is likely your primary constraint because [evidence]. Does that match your experience?"
Go through Exploit → Subordinate → Elevate for the identified constraint. For each step:
Once the plan for the current constraint is clear, ask: "If we successfully break this constraint, where do you think the bottleneck will move to?" This prepares them for the iterative nature of TOC and prevents the disappointment of "we fixed it but now something else is broken."
Provide a clear, sequenced action plan:
The constraint is often in code review, QA, deployment, or a single senior engineer who's a decision bottleneck. WIP limits (from Kanban) are a natural implementation of the "rope" concept. Look at the kanban board: where do cards pile up?
The constraint might be market validation (you can build faster than you can learn), or it might be engineering capacity, or sales. For early-stage startups, the constraint is often the founder's time and attention spread across too many fronts.
Look for the stage where customers wait longest, where backlogs grow, or where the most expediting happens. Policy constraints (approval chains, batch processing schedules) are extremely common here.
The constraint is the critical chain — the longest sequence of dependent tasks accounting for resource contention. Goldratt's Critical Chain method applies TOC to project scheduling by placing buffers strategically and managing them actively.
Be practical and direct. TOC is a hands-on methodology, not an academic exercise. Use the user's own language — if they're running a dev team, talk in dev terms. If it's a factory floor, use manufacturing examples.
Push back gently when users want to fix everything at once. TOC's power is in its focus. Help them resist the urge to launch five improvement initiatives when one targeted intervention at the constraint will have more impact than all five combined.
When discussing subordination, be empathetic about the cultural difficulty. Telling a team to deliberately have slack, or changing metrics that people have been rewarded by for years, is hard organizational work. Acknowledge this while explaining why it matters.
This framework is based on Eliyahu M. Goldratt's Theory of Constraints, introduced in The Goal (1984) and further developed in It's Not Luck, Critical Chain, and What Is This Thing Called Theory of Constraints. When presenting the analysis, mention TOC and Goldratt so users can explore the primary sources for deeper understanding.
What SKILL.md sets; muted values are Claude Code's defaults
79 skills in this plugin
/ai-camera-movementsLibrary of 46 camera movement prompt blocks for AI video generation (Seedance, Kling, Veo, Runway, Higgsfield). Use this skill EVERY time the user needs a camera move for a video prompt, asks "what camera movement should I use", wants a dolly/pan/orbit/zoom/crane/drone/tracking/handheld/whip-pan/FPV/snorricam/tilt-shift/earth-zoom prompt, asks to add camera motion to a shot, wants to compare camera moves for a scene, or says "Run Camera" / "camera move for this shot". Also trigger when building shot lists or video prompts with other skills (ai-filmmaking, seedance-prompt-structure, genhq-seedance-2-prompt-builder) and a camera instruction is needed — this skill supplies the camera block./ai-image-promptsTurn a seed idea into a polished AI image-generation prompt using a 6-part structure: [medium], [subject], [action/pose], [environment], [style/vibe], [technical specs]. Use this skill whenever the user wants a prompt for generating an image with any model — Midjourney, DALL-E, Imagen, Nano Banana, Flux, Stable Diffusion, Freepik, or unnamed — or asks to 'write an image prompt,' 'make a prompt for this idea,' 'improve my image prompt,' or gives a rough visual idea ('a red panda barista,' 'cyberpunk samurai in the rain') and wants it image-ready. Also trigger when the user asks why their image prompts produce weak or inconsistent results. Covers any visual medium: photorealistic, digital painting, 3D render, anime, illustration, pixel art, watercolor, concept art, and more./ai-videoTurn a seed idea into a polished AI video-generation prompt. Picks the right mode — T2V (text-to-video), I2V (image-to-video), or V2V (video-to-video) — then builds the prompt: for T2V, an 8-part structure [medium] + [shot] + [angle] + [movement] + [focus] + [subject] + [lighting] + [color]; for I2V, a shorter motion-first structure. Use whenever the user wants a prompt for generating video with any model — Sora, Veo, Runway, Kling, Pika, Luma/Dream Machine, Hailuo/MiniMax, Wan, Seedance, or unnamed — or asks to 'write a video prompt,' 'make a prompt for this clip,' 'animate this image,' 'improve my video prompt,' or gives a rough motion idea ('a samurai on a neon rooftop,' 'my logo forming from smoke') and wants it video-ready. Also trigger when the user asks why their generated video looks static, frozen, or like a moving JPEG, or how to describe camera moves./apple-designApple's approach to interface design and fluid, physical motion, translated for the web. Use when building or reviewing gesture-driven UI, spring animations, drag/swipe/sheet interactions, momentum and interruptible transitions, translucent materials and depth, typography (optical sizing, tracking, leading), reduced-motion, or the design foundations (feedback, spatial consistency, restraint) behind Apple-style interfaces./autonomous-sprintRun a full feature sprint from user stories to verified, demoed, shipped code with minimal supervision. Use when the user hands over a set of user stories / acceptance criteria and wants them built end-to-end overnight (or unattended): analyze reference material, ask ONE batch of clarifying questions, (optionally, on request, hold one design review), write per-story specs, run a pre-mortem, implement without stopping (decide-and-log every blocker), demo each story, and write a sprint report. Trigger on "run this sprint", "build these stories overnight", "complete this sprint autonomously", "/autonomous-sprint", or any hand-off of a story list with an expectation of unattended completion.
/binstackRun a Binstack decision-making analysis. Binstack chooses between competing options by checking each against stack-ranked priorities using binary materiality (does this option materially move the needle -- yes or no?) rather than weighted scoring. Best for: (1) Prioritizing a backlog of features, projects, or initiatives where you need one winner, (2) Choosing between alternatives that seem 'close' on paper but differ in strategic impact, (3) Decisions where defensibility matters -- explaining 'why this and not that' to stakeholders. Not ideal for: cost/effort tradeoff analysis (use ROI), exploring a problem space (use HEAD), or decisions with a single dominant criterion that needs no framework. Trigger on: 'binstack', 'prioritize these options', 'which should we build next', 'rank these features', or when the user has multiple options and needs a clear, defensible pick.npx claudepluginhub jordangaston/claude-plugins --plugin powertoolsOther plugins' skills for the same job