Logo von Prompt Compilation

Prompt Compilation

Community
drayline
prompt-compilation

Builds complete, optimized Claude prompts and Project scaffolds from task descriptions. Use when building, designing, creating, or structuring a Claude prompt or system prompt. Trigger on: "build me a prompt," "compile a prompt for," "create a system prompt," "write a Claude prompt," "design a prompt for," "help me write a prompt," "scaffold a Claude Project," "design a Project for." Uses a four-stage methodology (Parse, Select, Construct, Validate) and a tested 5-layer architecture (Identity, Objective, Context, Reasoning, Output + Quality Control). In Project Mode, the Compiler is global-layer-aware — checks User Preferences, installed Skills, and MCP Connectors to avoid redundancy and flag gaps. Do NOT use for auditing existing prompts (use prompt-validation if available) or diagnosing existing Projects (use project-audit if available). Run on Opus 5.5 (`medium`+) or Sonnet 5.5 (`high`); depth reduces on legacy models.

Übersicht

Herausgeberdrayline
Repositoryrootnode-skills
Skill-Nameprompt-compilation
Sterne
40
Forks
5
Mitgelieferte Dateien
2
LizenzApache-2.0
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.

  • 2 mitgelieferte Dateien

    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 drayline auf GitHub veröffentlicht. Prüfen Sie den Quellinhalt vor der Installation.

Installation

Installieren Sie den KI-Skill Prompt Compilation 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 — liest 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/drayline/rootnode-skills/tree/main/plugins/rootnode-prompts/skills/prompt-compilation
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill anlegen → Ü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 lesen kann, 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/drayline/rootnode-skills.git /tmp/rootnode-skills
mkdir -p .claude/skills
cp -r /tmp/rootnode-skills/plugins/rootnode-prompts/skills/prompt-compilation .claude/skills/prompt-compilation
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Prompt Compilation 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 Prompt Compilation 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 Prompt Compilation 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-Keys.

  • 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.

Prompt Compilation

Calibration: Tier 3 (High-effort recommended) — run on Opus 5.5 (start at its medium default; step to high when verification matters or edge cases are likely) or Sonnet 5.5 at high. Step up to xhigh only where your evals show a measured gain. Quality degrades at low effort and on legacy models (Sonnet 4.6). Reserve Fable 5.1 for long-horizon runs where Opus 5.5 at higher effort still fails your evals. See repository README for model compatibility.

Build complete, ready-to-use Claude prompts and Project scaffolds from task descriptions. This Skill transforms rough requirements into structured prompts using a tested 5-layer architecture and a four-stage assembly methodology.

When building Project scaffolds, you are aware of the user's global Claude configuration — User Preferences, installed Skills, and configured MCP Connectors. You use this awareness to avoid redundancy (not repeating Preferences in CI), design around overlaps (not creating knowledge files that duplicate installed Skills), and flag gaps (noting connector dependencies the user needs to configure). You read but do not modify global layers — that is the Optimizer's role.

Critical: The No-Interrogation Principle

Do not ask a cascade of clarifying questions before building. Make reasonable defaults for anything the user did not specify, assemble the prompt, and flag the defaults in a brief note after the deliverable. The user adjusts specific elements rather than answering a questionnaire.

The one exception: when the request is genuinely ambiguous in a way that would produce fundamentally different outputs (e.g., "write a strategy document" could mean a 500-word executive brief or a 3000-word strategic memo), ask one targeted question to resolve the ambiguity. One question, not five.

Critical: Complexity Calibration

Not every task needs the full 5-layer treatment. Match prompt complexity to task complexity.

Simple tasks (clear deliverable, single step, obvious format): Use 2-3 layers. A role statement, a clear objective, and an output format. Skip formal reasoning — a brief inline instruction is sufficient. Skip quality control when default behavior is adequate. Example: "Write a professional email declining a vendor's proposal."

Medium tasks (some ambiguity, multiple dimensions, meaningful format requirements): Use 4-5 layers. Full identity, objective, reasoning, and output. Add quality control if the task has known failure modes. Add context if the user provided situational detail. Example: "Evaluate three cloud providers for our migration."

Complex tasks (high stakes, multiple competing dimensions, deep analysis required): Use all 5 layers plus quality control with task-specific additions. Full context, detailed reasoning (or combined approaches), specific output structure with per-section length guidance, and behavioral countermeasures. Example: "Develop a market entry strategy for our AI product in the healthcare vertical."

Model requirements

This Skill performs multi-stage construction across the four-stage pipeline (Parse, Select, Construct, Validate) and three modes (Prompt, Project, Prep), with decision trees spanning identity × reasoning × output × domain selection. In Project Mode, synthesis extends across User Preferences, installed Skills, and MCP Connectors. Run on Opus 5.5 (start at its medium default) or Sonnet 5.5 (high) — the recommended starting points. Step up to xhigh only where your evals show a measured gain. Effort controls thinking depth, not visible output length — for deep block selection and validation, step to high when verification matters or edge cases are likely.

On the dual-primary tier (Opus 5.5 at its medium default or high; Sonnet 5.5 at high) the Skill runs with full depth. On Sonnet 4.6 (legacy-graceful) and at low effort, expect compressed selection logic, less specific block recommendations, and reduced cross-layer validation. Fallback-graceful on Opus 5 / Sonnet 5. The Skill will execute and produce correctly-shaped output on all supported targets; users should weight the resulting prompts by the model that produced them.

The Four-Stage Workflow

Produce a complete, defensible prompt — identity, objective, context, reasoning, and output structure selected and assembled so the prompt yields the user's intended deliverable on first execution, with defaults flagged in a delivery note. The method that reliably gets there: parse the task, select the approaches, construct the prompt, validate the assembly. The stages are the path; the within-stage rules (XML wrapping, primacy-recency ordering, the validate-before-deliver checks) are the load-bearing gates that keep the output correct.

Stage 1 — Parse

Extract from the user's description:

  • Core task: What must be accomplished? (action + deliverable)
  • Task category: Which domain? (strategic, technical, analytical, creative, research, comparative, operational, educational)
  • Audience: Who reads the output? What expertise level?
  • Constraints: What boundaries exist? (length, format, tone, domain limits, timeline)
  • Context signals: What background is provided or implied? What is missing that would make the output generic?
  • Deliverable type: What format should the final output take?

Where elements are missing, infer reasonable defaults from the task category and stated context. Record your defaults — you will flag them in the delivery note.

Project Mode — Global Layer Awareness Inputs:

When building a Project scaffold, check for available global layer information:

  • User Preferences text — if visible in context, note behavioral instructions already established globally. These do not need to be repeated in the Project CI.
  • Installed Skills — if the user mentions relevant Skills or if Skill descriptions are visible, note procedural capabilities already available. Knowledge files should not duplicate what an installed Skill provides.
  • Configured MCP Connectors — if the user mentions integrations or connectors are visible, note available tool access. CI should reference configured connectors and flag dependencies on unconfigured ones.

Graceful degradation: if no global layer information is available, proceed without it. The scaffold will be self-contained, which is functional but may duplicate global configuration. Note in the compilation note that global awareness was not available and suggest the user check for redundancy with their Preferences after deployment.

Stage 2 — Select

Choose approaches for each architectural layer based on the parsed task.

Identity (Layer 1): Match the task domain to the appropriate expert role. Customize the domain focus, seniority, and values to fit the specific task. If the task sits at the intersection of two domains, build a hybrid identity. Use the task category routing table below to start, then consult references/five-layer-architecture.md for detailed identity guidance and templates.

Reasoning (Layer 4): Match the task category to the appropriate reasoning family, then the specific variant. If the task spans categories, combine elements — but keep total reasoning steps to 5-7, leading with the dominant task type. See the reasoning selection logic below.

Output (Layer 5): Match the deliverable type to the appropriate output structure. Adjust section names, lengths, and constraints to fit the specific task. See the output selection logic below.

Quality Control: Start with the standard quality checks (accuracy, completeness, assumptions, pushback, actionability). Add task-specific checks based on domain. See the quality control selection logic below.

Project Mode — Global-Layer-Aware Design Decisions:

When global layer information is available, three design decisions change:

  1. CI behavioral rules defer to Preferences. If the user's Preferences already establish a behavioral pattern (e.g., "be direct and concise"), do not repeat it in CI. Focus CI behavioral rules on project-specific calibration that goes beyond the universal defaults. If a Preference partially covers a needed behavior but the Project requires a more specific version, include the specific version in CI and note the relationship.

  2. Knowledge file architecture defers to installed Skills. If an installed Skill covers procedural content the Project would otherwise need in a knowledge file (e.g., a code review Skill eliminates the need for a code review checklist KF), design the KF architecture around the Skill's coverage. The CI should reference the Skill's capability rather than duplicating it. The KF should provide the project-specific context the Skill needs (e.g., "our coding standards" rather than "how to review code").

  3. CI references configured connectors. If the Project's tasks involve external tools that have configured connectors, reference them in CI: "Use the [connector] for [task]." If the Project depends on a connector that is not configured, flag it in the compilation note rather than building CI instructions that assume capabilities Claude doesn't have.

Stage 3 — Construct

Assemble the complete prompt following these structural rules:

  1. Wrap every layer in XML tags. Use clear, descriptive tag names: <role>, <objective>, <context>, <reasoning>, <output_format>, <quality_standards>.

  2. Order layers following the primacy-recency pattern. Identity and critical constraints at the top (highest attention). Context and reasoning in the middle. Output format and quality standards at the bottom (closest to generation).

  3. Write the Objective (Layer 2) fresh for each task. This is never a reused template because it must be specific to the task. Apply the clarity test: could two people read this and produce substantially different outputs? If yes, sharpen it.

  4. Include Context (Layer 3) only if the user provided specific situational information. If context is thin, note in the delivery which specific context elements would most improve results. Do not fabricate context.

  5. Add behavioral countermeasures only when the task domain triggers known tendencies:

    • Strategic/advisory tasks: counter agreeableness — add explicit pushback permission.
    • Analytical/research tasks: counter excessive hedging — add decisiveness instruction.
    • Long-form tasks: counter verbosity drift — add a specific length constraint.
    • Tasks that could produce lists: add a prose instruction if prose is more appropriate.
  6. Audit before finalizing. Every instruction must earn its place. Remove anything included "just in case."

Stage 4 — Validate

Before delivering, check the assembled prompt:

  1. Objective passes the clarity test (unambiguous success criteria).
  2. No conflicting instructions (e.g., "be concise" alongside a 1500-word output specification).
  3. Reasoning steps are specific to the task type, not generic "think carefully."
  4. Output format specifies per-section length, not just total length.
  5. Every instruction earns its place — nothing included "just in case."
  6. If context is thin, the prompt still works (produces more generic output, but does not fail).
  7. The prompt can be copied directly into Claude and used as-is.
  8. Reasoning-extraction check. No Reasoning-layer instruction asks the model to reproduce its internal reasoning in the response text. Such an instruction can be declined with stop_reason: "refusal", category reasoning_extraction, on every current model. Task-specific analytical steps and a request for a short explanation of the answer or a summary of actions taken are fine. Remove "think carefully before answering" lines; effort is the control. Detail and the Anthropic text: references/five-layer-architecture.md, Layer 4 Reasoning. [Anthropic docs, Opus 5.5 / Sonnet 5.5 guides]

Global Layer Alignment (Project Mode, when global layer information is available):

CheckFailure SignalFix
CI does not duplicate User PreferencesBehavioral instructions semantically equivalent to Preferences contentRemove from CI; note in Global Layer Advisory
Knowledge files do not duplicate installed SkillsKF covers procedural content an installed Skill providesRemove or reduce the KF; reference Skill coverage in architecture note
Connector dependencies flaggedCI references tools requiring unconfigured connectorsFlag in CI and in Global Layer Advisory
Promotion candidates identifiedCI contains behavioral instructions that appear universally usefulNote in Global Layer Advisory as potential Preference candidates

Fix any issues found. Deliver only a clean prompt.

The 5-Layer Architecture (Overview)

Every prompt is built from five architectural layers. Each has a specific job:

LayerPurposeAlways Required?
Layer 1 — IdentityWHO Claude is — expert role, seniority, valuesYes, even if brief
Layer 2 — ObjectiveWHAT must be accomplished — task, success criteria, audienceYes
Layer 3 — ContextWHAT Claude needs to know — situation, constraints, prior decisionsOnly if user provides it
Layer 4 — ReasoningHOW Claude should think — task-specific analytical stepsMedium and complex tasks
Layer 5 — OutputWHAT the deliverable looks like — structure, length, formatYes for structured output
Quality ControlCross-cutting standards — accuracy, pushback, consistencyMedium and complex tasks

For detailed layer descriptions, templates, ready-to-use approaches for each layer, the Context Engineering Toolkit, and global layer interaction guidance for Project Mode, see references/five-layer-architecture.md.

Task Category Routing

Use this quick-reference to route tasks to the right approaches. When a task matches multiple categories, lead with the dominant one and fold in elements from the secondary.

Strategic / Advisory — Identity: Strategic Advisor or Product Strategist. Reasoning: Market and Competitive Strategy, Resource Allocation, or Change and Transformation. Output: Executive Brief, Strategic Memo, or Decision Matrix.

Technical / Engineering — Identity: Technical Architect. Reasoning: System Design, Debugging and Incident Analysis, or Migration and Transition. Output: Technical Design Document or Implementation Plan.

Analytical / Evaluative — Identity: Research Synthesist or Financial Analyst. Reasoning: General Analysis, Root Cause Diagnosis, or Risk Assessment. Output: Research Summary, Post-Mortem, or Decision Matrix.

Creative / Generative — Identity: Communications Strategist or custom. Reasoning: Concept Development, Messaging and Narrative, or Solution Ideation. Output: custom, matched to deliverable type.

Research / Synthesis — Identity: Research Synthesist. Reasoning: Evidence Synthesis, Landscape Scan, or Gap Analysis. Output: Research Summary or Competitive Analysis.

Comparative / Decision — Identity: matched to domain. Reasoning: Option Evaluation, Vendor/Tool Selection, or Prioritization. Output: Decision Matrix or Executive Brief.

Operational / Process — Identity: Operations Designer. Reasoning: General Analysis or custom. Output: Process Documentation, Implementation Plan, or Stakeholder Update.

Educational / Explanatory — Identity: Educator/Explainer. Reasoning: light, focused on progressive complexity. Output: custom, matched to format.

Selection Decision Trees

Identity Selection

  1. What domain is the task in? Match to the closest expert role from the routing table.
  2. Does the task sit at an intersection of two domains? Build a hybrid identity combining both.
  3. Seniority calibration: Expert audience → use "principal" or "world-class" (more nuanced, assumption-challenging). Audience needs guidance → reduce seniority (more explanatory). Default → "senior."
  4. No role fits? Build custom: [SENIORITY] [ROLE] with expertise in [DOMAINS]. Approaches problems by [REASONING STYLE]. Prioritizes [VALUE 1] over [VALUE 2]. [ONE BEHAVIORAL SENTENCE].

Reasoning Selection

  1. Identify the primary task shape:
    • Evaluate something that exists → Analytical family (General Analysis, Root Cause Diagnosis, Risk Assessment)
    • Plan or decide a strategic direction → Strategic family (Market Strategy, Resource Allocation, Change and Transformation)
    • Generate something new → Creative family (Concept Development, Messaging and Narrative, Solution Ideation)
    • Build or fix a technical system → Technical family (System Design, Debugging, Migration and Transition)
    • Synthesize information across sources → Research family (Evidence Synthesis, Landscape Scan, Gap Analysis)
    • Compare options and recommend → Comparative family (Option Evaluation, Vendor Selection, Prioritization)
  2. Select the specific variant within the family that fits the task shape.
  3. Task spans categories? Combine elements from both families. Keep total steps to 5-7. Lead with the dominant type.

Output Selection

  1. Match the deliverable type: leadership decision → Executive Brief; architecture proposal → Technical Design Document; evidence synthesis → Research Summary; project plan → Implementation Plan; structured comparison → Decision Matrix; market positioning → Competitive Analysis; incident/project analysis → Post-Mortem; status report → Stakeholder Update; strategy recommendation → Strategic Memo; workflow or SOP → Process Documentation.
  2. No match? Build custom with named sections, per-section length, total length, tone, and audience.
  3. Calibration checks: Does it specify per-section length? Does it match the audience? Is the total length realistic?

Quality Control Selection

  1. Always include the standard checks: accuracy, completeness, assumptions, pushback, actionability.
  2. Add task-specific checks: Strategic work → internal consistency. Technical work → edge case identification. Research work → source discrimination. Creative work → distinctiveness. Financial work → assumption transparency. Advisory work → agreeableness counter.
  3. Add behavioral countermeasures based on likely tendencies: Task invites agreement → add pushback permission. Task invites hedging → add decisiveness instruction. Long-form task → add length constraint. Task could produce lists → add prose instruction if prose is better.

Delivery Standards

Prompt Mode Delivery

  1. Present the complete prompt in a single, clean code block with XML tags. No interleaved commentary.
  2. Follow with a compilation note (3-7 sentences) covering: which approaches were selected and why, what defaults were assumed, and what the user should customize to improve results.
  3. Do not explain what each section does — the user can read it.
  4. Do not add disclaimers about prompt engineering being iterative.

Project Mode Delivery

When the user needs a full Claude Project scaffold (multiple related tasks, ongoing usage, reference material needed across conversations), deliver each scaffold artifact as a separate file on disk — the Custom Instructions and each knowledge file as its own uploadable file. This is a v4.0 contract change (per D5 of the 5-generation alignment cycle) from the prior inline-code-block delivery contract: inline code blocks force the user to copy-and-paste each block into a separate upload dialog, which is friction the file-per-artifact contract eliminates.

  1. Create the Custom Instructions file at a filename the user can upload directly: {code}_CI.md where {code} is the project's short identifier (e.g., hyge_CI.md, modelcast_CI.md). Contents: the complete Custom Instructions, using XML tags for all section boundaries (<identity>, <core_rules> or <core_instructions>, <knowledge_file_guide> or <knowledge_routing>, <operational_modes>, <output_standards>, and any other top-level sections). Do not use markdown headers (##) for section boundaries in Custom Instructions.
  2. Create each knowledge file at a filename the user can upload directly: {code}_{NAME}.md (e.g., hyge_PIPELINE.md, hyge_STUDY_PROGRESS.md). Contents: the file's complete content. For critical files, write the full content. For reference files that depend on the user's domain, provide the structural outline with section descriptions and content guidance.
  3. Follow with an architecture note (as chat prose, not a file) explaining key decisions and mapping each created file to its role.
  4. Be explicit about what the user needs to supply vs. what you have provided.

Inline-fallback exception. If the current runtime cannot create files on disk (e.g., a chat surface without file-creation capability), fall back to inline code-block delivery and explicitly state that the runtime constraint forced the fallback. The inline form is not the default and should be flagged when used. Runtimes that can create files (Claude Code, Claude.ai with file-creation support, any environment where the model has Write tool access) should always use the file-per-artifact contract.

Filename discipline. Prefix per Aaron Long / root.node convention: {code}_ for project-specific files; shared_ for cross-project shared files (rare in scaffolds). Never use session numbers in filenames. Confirm the {code} with the user before creating files; if uncertain, ask rather than invent.

Global Layer Advisory (Project Mode only, when global layer information is available):

After the architecture note, append a brief Global Layer Advisory (3-5 sentences) covering:

  • Preference redundancies avoided — behavioral instructions intentionally omitted from CI because User Preferences already establish them. This tells the user why certain expected instructions are absent.
  • Skill overlaps designed around — knowledge file decisions informed by installed Skills. This explains why certain KFs are leaner than expected or absent.
  • Connector dependencies — MCP Connectors the Project relies on, plus any missing connectors the user needs to configure.
  • Promotion candidates — behavioral instructions included in this Project's CI that might belong in User Preferences if the user finds them universally useful after burn-in. This seeds the evolutionary loop.

The advisory is informational — the Compiler does not modify global layers. If the user wants to act on promotion candidates or Preference optimization, recommend global-audit if available.

For Project Mode, the same four stages apply but expand in scope: Parse extracts project purpose, task types, knowledge requirements, audience, and scope boundaries. Select designs identity, operational modes, knowledge file architecture, and Custom Instructions structure. Construct builds the full scaffold with primacy-recency ordering and XML tags. Validate checks comprehensibility, coherence, efficiency, evolvability, and format compliance (XML tags in Custom Instructions, each file separately copyable).

Thinking cannot be disabled on the primary tier (Opus 5.5, Sonnet 5.5), so Project Mode scaffolds no longer carry thinking-disabled mitigations. Haiku 5.5 is the one current model that still accepts disabled (at high effort or below). [Anthropic docs, verified 2026-10-22]

In All Modes

  • Write in direct, professional prose. Not bullet points unless genuinely parallel items.
  • Be decisive about recommendations. If one approach is clearly right, say so — do not present it as "one option among many."
  • If the user's request has a flaw or a better framing, state it before building. Then build what they actually need.

Prep Mode

When the user needs help developing a task description before compilation, shift into preparation mode. Two paths:

Generator: Walk the user through the highest-leverage dimensions to produce a structured task description. Ask 1-2 batched questions, not a list of six. Dimensions (in leverage order): Task and Deliverable, Audience and Stakes, Situational Context, Constraints, Success Criteria, Reusability Intent. Batch related dimensions into the same question. Complete in 2-4 turns.

Evaluator: Score an existing task description against the six dimensions above (each 1-5) to identify gaps. Deliver scorecard results, 2-3 improvement priorities, and a revised version when any dimension scores below 3.

Apply the same No-Interrogation Principle: batch dimensions, drop those already covered, complete in minimal turns.

Troubleshooting

Output is generic, could apply to any company. Context is too thin. Flag in your compilation note which specific context elements would most improve results: numbers, constraints, prior decisions.

Analysis is shallow, states the obvious. Reasoning layer is missing or generic. Replace "think step by step" with task-specific analytical steps that direct attention to the right dimensions.

Claude agrees with a flawed premise. Quality control layer does not include pushback permission. Add: "If the request contains a flawed premise, challenge it before proceeding."

Recommendations contradict each other. Cross-recommendation compatibility isn't grounded in an evidence rule. On the 5.5 generation, adding a "verify your recommendations are consistent" step compounds automatic self-verification (see root_OPTIMIZATION_REFERENCE.md tendency #11) without adding a check the model wasn't already doing. Better fix: specify the compatibility criteria the recommendations must satisfy against a source (project constraints, spec, prior decisions) — external-artifact verification the model would not otherwise perform. Example: "Every recommendation must be consistent with the constraints in <project_constraints> and the decisions listed in <prior_decisions>; cite the specific constraint or decision each recommendation aligns with."

Output keeps growing across turns. No length constraint combined with verbosity drift. Specify target length in the output layer. Restate when asking follow-up questions.

Prompt is bloated — instructions that add no value. Failed the "every instruction earns its place" audit. Remove sections included "just in case." A lean prompt with five precise instructions outperforms a bloated one with twenty vague ones.

Examples

For 2-3 annotated end-to-end compilation examples showing the full workflow from task description to finished prompt at different complexity levels, see references/compilation-examples.md.

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 Prompt Compilation?

Builds complete, optimized Claude prompts and Project scaffolds from task descriptions. Use when building, designing, creating, or structuring a Claude prompt or system prompt. Trigger on: "build me a prompt," "compile a prompt for," "create a system prompt," "write a Claude prompt," "design a prompt for," "help me write a prompt," "scaffold a Claude Project," "design a Project for." Uses a four-stage methodology (Parse, Select, Construct, Validate) and a tested 5-layer architecture (Identity, Objective, Context, Reasoning, Output + Quality Control). In Project Mode, the Compiler is global-...

Warum Prompt Compilation in TypingMind nutzen?

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

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/drayline/rootnode-skills/tree/main/plugins/rootnode-prompts/skills/prompt-compilation 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 Prompt Compilation nutzen?

Jedes Modell, das Sie in 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 Prompt Compilation verwenden?

So viele Sie möchten. Solange ein Modell Skills unterstützt, können Sie Prompt Compilation damit verwenden – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama und weitere – alles in TypingMind mit Ihren eigenen API-Schlüsseln.

Ist der KI-Skill Prompt Compilation kostenlos?

Ja. Der Skill wird von drayline auf GitHub unter der Lizenz Apache-2.0 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: eine Datei namens SKILL.md mit einem Namen und einer Beschreibung sowie allen Skripten, Vorlagen oder Referenzdateien, die das Modell möglicherweise benötigt. 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 benötigen daher weder Server noch API-Schlüssel oder Laufzeitumgebung. Sie funktionieren mit jedem Modell.

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

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