Logo von System Optimization

System Optimization

Organisation
l-gevity
system-optimization

Applies Lean, Kaizen, Six Sigma, Theory of Constraints, queueing/flow science, and DevOps delivery metrics (DORA) to eliminate waste and improve flow across all aspects of a software project. Use when scanning for optimizations in CI/CD pipelines, developer workflows, code structure, testing strategy, documentation, or the overall value stream. Activate when a review is requested to identify waste, bottlenecks, and improvement opportunities across the project.

Add to TypingMind

Übersicht

Herausgeberl-gevity
Repositoryl-gevity-skills
Skill-Namesystem-optimization
Sterne
72
Forks
13
Mitgelieferte Dateien
Nur Anweisungen
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von l-gevity auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill System Optimization in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/l-gevity/l-gevity-skills/tree/main/.agents/skills/system-optimization
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/l-gevity/l-gevity-skills.git /tmp/l-gevity-skills
mkdir -p .claude/skills
cp -r /tmp/l-gevity-skills/.agents/skills/system-optimization .claude/skills/system-optimization
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie System Optimization in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt System Optimization automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist System Optimization nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

System Optimization Protocol

Core Directives

  1. Eliminate Waste First (Lean): Remove non-value-adding activities before optimizing what remains.
  2. Fix the Constraint (ToC): The weakest link sets the throughput ceiling. Find it; subordinate everything else.
  3. Stabilize Before Optimizing (Six Sigma): An unstable process cannot be meaningfully improved.
  4. Build Quality In — Shift Left (DevOps): Embed quality at the source via automation, types, and linting.
  5. Small Steps (Kaizen): Many small validated improvements compound faster than infrequent large redesigns.
  6. Decide Late (Lean): Defer irreversible commitments until you have the most information.
  7. Manage Flow, Not Utilization (Queueing): Throughput is limited by queues, batch size, and variability — not by how busy each resource is. High utilization creates delay; it does not cure it.

Order of Operations

Apply these steps in order. The most expensive mistake is optimizing or automating something that should have been deleted — work done out of order is work to undo later.

  1. Question the requirement. The requirement is the most upstream waste. Strip it to first principles before touching the implementation; the cheapest step is the one that no longer needs to exist. Separate each requirement's obligation (the outcome, evidence, or restriction that must exist) from its mechanism (the specific rights, routes, roles, record types, or protocols it names). Obligations are floors; pinned mechanism is negotiable — audit within the current requirements first to establish the floor, then propose careful requirement edits scored like any change, and gate edits with real external trade-offs as explicit product decisions (see functionality-complexity-tradeoff §1e).
  2. Probe deletion. Try removing the step, file, stage, or subsystem behind a reversible branch, feature flag, dry run, or narrow rollout. Restore anything proven load-bearing; keep only deletions backed by evidence.
  3. Simplify what remains. Only optimize subsystems that survived deletion.
  4. Speed it up. Parallelize, cache, batch — but only after simplification, and only within the limits parallelism actually returns (§7).
  5. Automate last. Automating an unnecessary or unsimplified process locks in the waste.

1. Scan Layers

LayerRed flags
CI/CD & AutomationSequential stages that could parallelize, manual steps, flaky gates
Developer WorkflowLarge PRs, long-lived branches, slow feedback loops
Code StructureDead code, duplication, divergent patterns
Public SurfaceOne route per view of the same aggregate, same data at multiple addresses, rights/roles vocabulary larger than the behavior it guards, one-user wrappers around an existing primitive
Testing StrategyCoverage gaps, flaky tests, defects caught late
Tooling & DependenciesUnused packages, outdated tooling, manual steps
DocumentationStale docs, missing ADRs, over-documentation
ObservabilityMissing metrics, silent failures, unclear alerts

2. Waste Scan (Lean — Muda / Mura / Muri)

Lean names three families of waste. Muda is non-value-adding work; the TIMWOODS table below enumerates its eight forms. But Muda is usually manufactured by two deeper causes — attack these at the source first:

CauseMeaningIn SoftwareRed Flag
Mura (unevenness)Variable arrival or flow; batch-and-queueBursty merges, end-of-sprint crunch, alternating idle/overloadThroughput swings run-to-run; queues form then drain
Muri (overburden)A resource driven past sustainable loadCI runner, reviewer, or on-call held at >80–90% utilizationWait time explodes (§4); retries, burnout, corner-cutting

Muda (TIMWOODS):

WasteIn SoftwareRed Flag
TransportUnnecessary artifact movementCopying outputs between tools manually
InventoryUnprocessed work in queues; output stored past its last readerStale PRs, long-lived branches, unread alerts; artifacts, caches, or package versions kept with no reader
MotionContext switchingNavigating multiple tools for one task
WaitingIdle time between stepsSequential stages that could parallelize
OverproductionMore than consumedUnused logs, reports, generated files
OverprocessingMore steps than value requiresReview gates on auto-generated files
DefectsErrors requiring reworkBugs linting/tests could have caught earlier
Skills (unused)Underutilized capabilityManual tasks that should be automated

Flag every step where wait time > cycle time — that is queued inventory (§4).

3. Constraint Identification (ToC — 5 Steps)

  1. Identify the current constraint: the step or shared resource with the lowest effective throughput or largest queue.
  2. Exploit — maximize its output without adding resources.
  3. Subordinate — ensure upstream steps don't feed it faster than it can consume.
  4. Elevate — if still a bottleneck, invest in capacity.
  5. Repeat — re-measure after each change; the constraint may move.

Most constraints are policy, not physical capacity (Goldratt): a batching rule, a mandatory approval, an unlimited-intake WIP policy, a "single reviewer" convention. Check for a policy constraint before buying capacity — elevating a policy costs nothing but agreement.

4. Flow Economics (Queueing)

Queues, not busy resources, set delivery time. Three laws make flow measurable and turn "improve flow" into concrete moves.

  • Little's Law — for any stable queue, cycle time = WIP / throughput. To ship faster without adding capacity, cut work-in-progress: halving in-flight work halves average cycle time at the same throughput. This is why WIP limits beat exhortations to "go faster."

  • Utilization curve (Kingman) — queue time rises non-linearly with utilization ρ, roughly wait ∝ ρ / (1 − ρ); past ~80% it explodes:

    ρ (utilization)0.50.80.90.95
    wait ≈ (× service time)1×4×9×19×

    A resource pinned at 95% is not "efficient" — it is a delay generator (this is Muri, §2). Size shared resources (CI runners, reviewers, on-call) for headroom, not full utilization.

  • Batch size — a batch is the set of increments moved together; large batches inflate cycle time, delay feedback, and raise risk per release. Halving batch size roughly halves queue time and localizes failure. Small PRs, trunk-based flow, and incremental deploys are batch-size controls, not stylistic preferences.

LeverEffectMove
Limit WIP↓ cycle time (Little)Cap in-flight PRs/tickets per person and per stage
Add headroom↓ queue explosion (Kingman)Keep hot resources below ~80% utilization
Shrink batches↓ queue + risk + feedback delaySmaller PRs, more frequent merges and deploys
Damp variance↓ Mura-driven queuesLevel intake; decouple bursty producers

5. Measure the System

You cannot optimize what you cannot measure, and you cannot measure an improvement you cannot separate from noise. "Go and see" the real signal — logs, queues, traces, timings — rather than optimizing from assumption.

Delivery & flow metrics

Track a small, stable set; a regression in any of them is a bug (§7).

MetricQuestion it answersSource
Deploy frequencyHow often value reaches usersDORA
Lead time for changeCommit → production latencyDORA
Change-fail rateShare of deploys causing a failureDORA
Failed-deploy recoveryTime to restore service after a bad changeDORA
Flow efficiencyvalue-add time ÷ total lead time (often <15%)VSM
WIP / throughput / cycle timeThe Little's-Law triangle (§4)Lean / Flow

Flow efficiency is the highest-yield diagnostic: map the value stream, split each step into work time vs wait time, and the wait total is your inventory. Low flow efficiency means the fix is removing queues, not speeding up steps.

Error budget (spend or stabilize) turns the reliability metrics into a decision rule that resolves the tension between Directives 3 and 7. Set an explicit failure tolerance (an availability or change-fail-rate target); the gap between target and actual is the budget. While budget remains, spend it — ship faster, take risk, raise deploy frequency (Directive 7). Once it is exhausted, freeze feature risk and stabilize until it recovers (Directive 3). This makes the speed-vs-reliability trade-off explicit rather than political. The pipeline gates that measure and enforce these signals live in ci-cd-reliability-architecture; the budget-spend policy is an optimization decision and lives here.

Variation: common vs special cause (Six Sigma)

Before reacting to any metric move, classify the variation:

CauseSignatureCorrect response
CommonInherent run-to-run noise within stable boundsDo not tamper; change the system, not the instance
SpecialAn assignable, out-of-bounds eventInvestigate the specific cause; remove or contain it

Reacting to common-cause noise as if it were signal (tampering / over-adjustment) adds variance — the classic Deming funnel error. Establish a baseline band first; treat only out-of-band moves as regressions. This is what "stabilize before optimizing" (Core Directive 3) demands operationally, and it is why flaky tests are measurement-blockers, not nuisances.

Run structured improvement as DMAIC — Define, Measure, Analyze, Improve, Control — the Six Sigma loop that complements Kaizen/PDCA (§11): PDCA drives many small reversible bets; DMAIC governs a defect or variance that needs a controlled, evidence-gated fix locked in by a Control step so it cannot regress.

6. Diagnostic Reasoning Chain

For identifying constraints, waste, and root causes in operational analysis:

  • First Principles: Strip legacy assumptions. Rebuild from observed facts, current requirements, and explicit constraints.
  • 5 Whys: Ladder from the observed symptom to a systemic root cause. Stop at the first cause you can change in the system, not the instance.
  • Analogical Reasoning: Apply patterns from other domains to local problems.
  • Constraint Removal: Imagine the ideal solution with no legacy debt before committing.
  • Inversion: "How do I guarantee failure?" — then build guardrails against it.
  • Simple Functional Refactor Over Complex Technical Solution: Prefer reasonable functional or UX changes (clear a cache, reorder steps, show a waiting state) before technical solutions (polling, retries, new abstractions). Technical complexity carries hidden costs — validate that simple alternatives don't solve it first.
  • Pre-mortem: Assume the fix already failed; work backward to find the oversight.
  • Side Effect Audit: When eliminating redundancy, trace all downstream paths that depended on the original behavior.
  • Pattern Parity: Do not let divergent legacy patterns coexist indefinitely with a newly established standard. Temporary migration overlap needs an owner, scope, and removal condition.

7. CI/CD

  • Bottleneck first (ToC): Optimize the measured constraint before adjacent stages.
  • Parallelize safely: Independent tests, builds, and linting can run concurrently when artifacts, caches, rate limits, and shared environments are isolated. Keep dependent or resource-contentious stages sequential. Speedup is capped by the serial fraction (Amdahl); past a point, coordination and contention cost make more parallelism slower (Universal Scalability Law). Measure before widening a fan-out.
  • Idempotent environments: Deployment state must be reproducible from source control.
  • Shift-left gates: Linting and unit tests run before integration tests.
  • Measure: Track build duration, failure rate, flakiness, and the compute and storage the pipeline consumes against its spending limit, alerting before the limit stops delivery. Regressions are bugs.
  • Zero-downtime secret rotation: Always create the new credential first, apply it to all environments, then delete the old one. Never delete before applying — the gap causes downtime and broken deployments.

8. Developer Workflow

  • Small PRs: Faster merge, smaller blast radius, better review quality. Large PRs are inventory and oversized batches (§4).
  • Short feedback loops: Fast local test results reduce context-switching cost.
  • Limit work-in-progress: Cap in-flight work per person and per stage; a lower WIP ceiling shortens cycle time more reliably than working faster (§4).
  • Eliminate toil: Recurring manual tasks should be removed, simplified, or automated only after the task is necessary, stable, and cheaper to automate than to perform manually. For where the work should ultimately live, see push-out.
  • One-piece flow: Work moves design → build → review → deploy without sitting idle.

9. Testing

  • Detection distance: Bugs caught closest to their source are usually cheapest. Use the earliest check that can actually detect the defect; some boundary and workflow failures require integration or e2e tests.
  • Flakiness is a defect: A flaky test erodes trust and masks real failures; it is also a measurement-blocker (§5).
  • Confidence over coverage: Optimize for critical-path confidence, not line percentages.
  • Shift-left security: Static analysis, dependency audits, and secret scanning run in CI.

10. Documentation

  • Executable specs over text: Tests and self-documenting code are living documentation.
  • JBGE: Minimal, concise, audience-specific. Documents with no owner, current reader, legal/compliance need, or incident value should be archived or deleted after confirming they are not load-bearing.
  • ADRs: Document why, not what. Prevents future rework from revisiting settled decisions.

11. Continuous Improvement (Kaizen / PDCA)

  • Every optimization is a hypothesis — validate before declaring permanent.
  • A PDCA turn, like a DMAIC cycle (§5), is an iteration: its Check or Control step is the measurement, and Y starts from the stable, measured baseline the previous iteration recorded.
  • After resolving a bottleneck, explicitly identify the current constraint before the next cycle.
  • When several improvements compete and none is the constraint, sequence by cost of delay ÷ effort (WSJF): the change whose delay is most expensive per unit of work goes first. The constraint (§3) still outranks all of them.
  • Use the four axes (D, K, P, n) from structural-simplification to compare per-axis deltas before and after each improvement.

Litmus Test: If a change worsens any complexity axis (D, K, P, n) from structural-simplification without measurably improving flow, reliability, cost, or another complexity axis, it is not an optimization.

12. Output Contract

When applying this skill, emit a coder-facing optimization decision record:

Scope:          <repo / pipeline / workflow / subsystem / time window>
Constraint:     <measured bottleneck or Not measured + reason>
Decision:       Delete | Simplify | Stabilize | Optimize | Automate | Defer | Reject
Flow signal:    <WIP / cycle time / utilization / flow efficiency / variation class, or Not measured>
Evidence:       <metric, log, queue, test result, file path, or user workflow checked>
Next action:    <one concrete edit, experiment, measurement, or owner question>
Verification:   <before/after metric, command, CI run, or Not run + reason>
Residual risk:  <risk left for judgment, rollout, or future measurement>

13. See also

  • structural-simplification — per-axis complexity comparison used for Kaizen Δ scoring.
  • defect-shift-left — placement of each error detection at the earliest possible stage (operationalizes "Build Quality In").
  • ci-cd-reliability-architecture — pipeline-reliability prerequisites that stabilize a process before optimization; owns the delivery gates this skill only measures.
  • push-out — where recurring operational work should live once flow is stable.

Häufig gestellte Fragen

Was macht der KI-Skill System Optimization?

Applies Lean, Kaizen, Six Sigma, Theory of Constraints, queueing/flow science, and DevOps delivery metrics (DORA) to eliminate waste and improve flow across all aspects of a software project. Use when scanning for optimizations in CI/CD pipelines, developer workflows, code structure, testing strategy, documentation, or the overall value stream. Activate when a review is requested to identify waste, bottlenecks, and improvement opportunities across the project.

Warum System Optimization in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. System Optimization besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich System Optimization in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/l-gevity/l-gevity-skills/tree/main/.agents/skills/system-optimization ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können System Optimization nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit System Optimization verwenden?

So viele Sie möchten. In TypingMind können Sie System Optimization mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill System Optimization kostenlos?

Ja. Der Skill wird von l-gevity auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇