Logo von Skill Optimization

Skill Optimization

Community
shinpr
skill-optimization

Bewertet und optimiert die Qualität von Skill-Dateien anhand von 9 Inhaltsmustern und 10 Bearbeitungsprinzipien. Verwenden Sie diesen Skill beim Erstellen von Skills, Überarbeiten von Skill-Inhalten oder Prüfen der Skill-Qualität.

Add to TypingMind

Übersicht

Herausgebershinpr
Repositoryai-coding-project-boilerplate
Skill-Nameskill-optimization
Sterne
234
Forks
28
Mitgelieferte Dateien
2
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.

  • Mitgelieferte Dateien: 2

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

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

Installation

Installieren Sie den KI-Skill Skill 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/shinpr/ai-coding-project-boilerplate/tree/main/.claude/skills-en/skill-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/shinpr/ai-coding-project-boilerplate.git /tmp/ai-coding-project-boilerplate
mkdir -p .claude/skills
cp -r /tmp/ai-coding-project-boilerplate/.claude/skills-en/skill-optimization .claude/skills/skill-optimization
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Skill 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 Skill 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 Skill 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.

Skill Content Optimization

Core Philosophy

  1. Finding-Based: Every change resolves a recorded issue or follows a named project-specific source
  2. Concrete: Each pattern provides detection criteria and transform methods
  3. Structure-Focused: Optimizes expression and organization; domain knowledge remains unchanged
  4. Intent-Preserving: Records the original requirements before changing structure, wording, constraints, context, or examples
  5. Traceable: Connects every applied change to a finding or named project source
  6. Self-Contained: Keeps every pure skill executable when loaded alone; duplication across independently loaded pure skills is valid when each copy is required for standalone execution

Content Optimization Patterns

P1: Critical (Must Fix)

Issues that directly reduce LLM execution accuracy when consuming the skill.

BP-001: Negative Instructions → Positive Form
DetectionTransform
"don't", "do not", "never", "avoid" in skill instructionsState the desired action or allowed state first. Preserve an explicit prohibition only when the violation is an irreversible operational action, the caller cannot normally recover it, and a positive-only rewrite would blur the boundary. Pair the prohibition with the safe alternative and the condition that authorizes crossing the boundary. Rewrite reviewable quality policies in positive form.

Exception boundary examples:

  • Permitted: "Move obsolete records to the recoverable archive. Do not permanently delete them unless the user explicitly authorizes permanent deletion."
  • Rewrite in positive form: "Do not invent issues" → "Base every issue on BP patterns or 10 principles", "Do not skip P1 issues" → "Evaluate all P1 issues in every review mode", "Do not give grade A when P1 exists" → "Assign grade A only when P1 count is zero"

Quality policies, role boundaries, scoring criteria, and general work rules always use positive form. Outputs that the caller validates, overwrites, or discards are never irreversible.

Skill example:

  • Before: "Don't use generic variable names"
  • After: "Use descriptive variable names that reflect purpose (e.g., userId not x)"

Why critical for skills: A prohibition alone leaves the executable target state unspecified.

BP-002: Vague Instructions → Specific Criteria
DetectionTransform
Vague term ("appropriate", "good", "proper", "best", "should be clear") that leaves a decision the intended outcome requires, where plausible interpretations would materially change execution or verificationResolve it with the least-restrictive sufficient criterion, following the resolution steps below
Unspecified format, length, scope, tone, or success criteria whose plausible interpretations satisfy the intended outcome equally wellTreat as acceptable flexibility; add a constraint only when one interpretation is required (for a format a downstream consumer requires, see BP-003)

Resolution steps (first-row findings):

  1. Choose the least-restrictive sufficient criterion — the measurable if-then rule or threshold that supplies the required precision while excluding the fewest valid behaviors.
  2. Record its precision contribution: the observable output difference it improves for the intended outcome.
  3. Record its constraint cost: the valid solutions allowed by the original intent that it excludes.
  4. Apply it only when the precision contribution is identifiable and the constraint cost preserves the original intent.
  5. When input or project context cannot determine the decision, record the required source instead of guessing.

Skill exception: Expressions that the LLM can resolve unambiguously from input context (e.g., "where the user left gaps" when the user's prompt is available for comparison) are not vague — they describe a deterministic operation, not a subjective judgment.

Skill example:

  • Before: "Handle errors appropriately"
  • After (criteria derived from a named source): "Follow the project error-handling policy (docs/error-handling.md): wrap external API calls, file I/O, and JSON.parse in try-catch; log error.name, error.stack, and timestamp; re-throw with context when the caller must handle it."
  • After (no source available): "Record 'error-handling policy' as the required source instead of inventing try-catch targets, log fields, or thresholds."

Why critical for skills: A vague instruction forces the model to choose an outcome-relevant behavior without a supplied criterion.

BP-003: Missing Output Format → Structured Output
DetectionTransform
Skill describes what to do but not the expected deliverable formatAdd an output section defining the structure, fields, and ordering required by the output consumer (parsing, routing, comparison, verification), rather than selecting a format by convention

For a skill review, the output contract contains BP-001 through BP-009 coverage, stable finding IDs, severity, location, quoted evidence, accepted declines, preservation requirements, unresolved inputs, and the final grade. For skill creation, the output is the complete SKILL.md content plus any required same-directory references or scripts.

Skill example:

  • Before: "Analyze the code for issues"
  • After (format required by the review-report consumer): "Emit ## Issues Found as a table the report renderer parses: | Severity | Location | Description | Suggested Fix |"

Why critical for skills: Structured output constraints reduce hallucination and make skill results consistent.

BP-009: Unbounded Work Generation → Proportionate Work
DetectionTransform
A finding, possibility, or technically valid improvement becomes mandatory without changing the outcome, a required boundary, a real consumer, or necessary proofTreat it as a candidate; retain required work and allow no-change, reuse, and evidence-backed decline
Research breadth determines implementation or artifact scopeStop when the required outcome is observable; discovery alone does not expand the work

Why critical for skills: Capable models execute implied obligations, so unsupported possibilities can manufacture work without improving the result.

P2: High Impact (Should Fix)

Issues that reduce skill effectiveness when addressed.

BP-004: Unstructured Content → Organized Format
DetectionTransform
Wall of text without headingsApply standard section order (see below)
Multiple topics mixed in one sectionSplit into distinct headed sections
No tables for reference dataConvert lists of criteria/patterns to tables

Standard skill section order:

  1. Context/Prerequisites
  2. Core concepts (definitions, patterns)
  3. Process/Methodology (step-by-step)
  4. Output format/Examples
  5. Quality checklist
  6. References

Conditional: Skip restructuring if skill is under 30 lines and covers a single topic.

BP-005: Missing or Excess Context → Necessary and Sufficient Context
DetectionTransform
Skill assumes knowledge not statedAdd Prerequisites section listing required context
Domain terms used without definitionAdd definitions inline or in a glossary table. Skill exception: Terms within the LLM's baseline knowledge (widely-used technical terminology, standard domain vocabulary) require no definition. Only project-specific terms, internal naming conventions, or domain jargon outside common LLM training data need explicit definition.
No "when to use" guidanceAdd trigger conditions with concrete scenarios
Context that has no downstream effect and is duplicated, distracting, or unactionableCondense repeated facts into one operative statement; keep raw background behind a path or reference when only an extracted fact is needed; name the source for project-specific facts

Skill example:

  • Before: "Apply the strangler pattern for migration"
  • After: "Prerequisite: Existing monolith with identifiable module boundaries. When to use: Replacing legacy module while maintaining production traffic."
BP-006: Missing or Excess Procedural Control → Evidence-Guided Gates
DetectionTransform
A later action would be invalid without prerequisite evidenceAdd a gate naming the required evidence and transition condition
Authority, irreversible action, machine-consumed contract, or completion proof is implicitMake that boundary explicit
A reversible choice is prescribed as a mandatory routeState the purpose, evidence, and selection criteria; let the model choose the route
A gate requires a specific label or artifact despite semantically equivalent evidenceAccept the equivalent evidence unless a machine consumer requires the exact form

Key insight: Control the boundary and required evidence, not a predicted path between them.

For skill creation, use three gates in order:

  1. Analysis gate: Original requirements are recorded, BP-001 through BP-009 are covered, every issue has evidence, and no unresolved input blocks faithful work.
  2. Optimization gate: Every finding has one applied/skipped resolution, each change is traceable, and all preservation requirements remain represented.
  3. Balance gate: Intent preservation, decision sufficiency, information density, constraint necessity, work proportionality, and traceability pass before the result is final.

For review-driven repair, use the current review as analysis evidence and apply the optimization and balance gates to the accepted repair scope.

P3: Enhancement (Could Fix)

Incremental improvements for specific contexts.

BP-007: Unnecessary or Biased Examples → Minimal Necessary Examples
DetectionTransform
Examples restate behavior already known to the LLMReplace with a concise rule or consumer-required output shape, and remove the examples
Examples encode a domain-, product-, or organization-specific mapping, non-obvious exception, or boundary a rule cannot expressKeep the smallest set that covers those mappings; map each example to the ambiguity it removes
Multiple examples remove the same ambiguity, or all share the same surface patternReduce to the smallest covering set; add a different case only when it removes a distinct ambiguity
BP-008: No Uncertainty Permission → Explicit Escalation
DetectionTransform
Skill demands definitive answers alwaysClassify claims as observed, inferred, or unknown; add escalation criteria for ambiguous cases
No "when to stop" guidanceWhen an unknown blocks the next step, stop at that gate and name the exact evidence or user decision required to continue

Skill example:

  • Before: "Determine the root cause"
  • After: "Classify the root cause as observed, inferred, or unknown. When missing evidence blocks the next step, stop at the current gate and name the exact evidence or user decision required to continue."

10 Skill Editing Principles

Measurable quality criteria for skill content. Each principle includes a pass/fail test.

#PrinciplePass CriteriaFail Example
1Context efficiencyEvery sentence supplies non-baseline knowledge, a decision rule, a required boundary, or execution evidence.Restates baseline behavior without a supplied failure, review finding, or project requirement showing an execution effect
2DeduplicationNo concept is explained twice at the same abstraction level within one skill. Duplication across independently loaded pure skills is valid when each copy is required for standalone execution; evaluate those copies for semantic consistency rather than replacing them with sibling-skill referencesThe same rule appears twice in one skill without adding a distinct execution role
3GroupingRelated criteria in single section (minimize read operations)Scattered error handling rules across 4 sections
4MeasurabilityCriteria name observable evidence, deterministic decision rules, or justified thresholds"Write clean code" without an observable condition
5Positive formInstructions state what to do (BP-001 applied)"Don't use any" instead of "Use only X"
6Consistent notationUniform heading levels, list styles, table formatsMix of -, *, 1. in same context
7Explicit prerequisitesProject-specific and non-baseline prerequisites are stated or linked; baseline technical knowledge is left conciseUses "DI" without defining Dependency Injection
8Priority orderingMost important items first, exceptions lastEdge cases before common patterns
9Scope boundariesExplicitly state what the skill covers and the conditions that activate conditional content. A pure skill contains the context required for standalone execution. Cross-skill references are reserved for skills whose role is orchestration or skill selectionA pure skill omits an operative rule because another independently loaded skill also contains it
10Work proportionalityEvery required artifact, test, gate, or decision changes the outcome, a boundary, a consumer result, or necessary proofRequires all findings or technically valid improvements to be implemented

References

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill Skill Optimization?

Bewertet und optimiert die Qualität von Skill-Dateien anhand von 9 Inhaltsmustern und 10 Bearbeitungsprinzipien. Verwenden Sie diesen Skill beim Erstellen von Skills, Überarbeiten von Skill-Inhalten oder Prüfen der Skill-Qualität.

Warum Skill Optimization in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Skill 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 Skill Optimization in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/shinpr/ai-coding-project-boilerplate/tree/main/.claude/skills-en/skill-optimization ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Skill 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 Skill Optimization verwenden?

So viele Sie möchten. In TypingMind können Sie Skill 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 Skill Optimization kostenlos?

Ja. Der Skill wird von shinpr 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 👇