Cc Prompt Builder logo

Cc Prompt Builder

Community
Svenja-dev
cc-prompt-builder

Erstellt detaillierte, autonome Claude Code (CC) Prompts mit Self-Fix-Protokoll. Nutze diesen Skill IMMER wenn der User einen CC-Prompt, Claude Code Prompt oder Delegations-Prompt für eine mehrstufige Implementierung braucht. Trigger auch bei: "Prompt für CC", "lass CC das machen", "mach einen Prompt draus", "CC soll das autonom abarbeiten", "delegate an Claude Code", "Sonnet-Prompt", "autonomer Prompt". Der Skill erzeugt token-effiziente Prompts die mit günstigeren Modellen (Sonnet) funktionieren, weil sie präzise genug sind um Rückfrage-Schleifen zu vermeiden.

Overview

PublisherSvenja-dev
Repositoryclaude-code-skills
Skill namecc-prompt-builder
Stars
38
Forks
5
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Svenja-dev on GitHub. Read the source before you install it.

Installation

Install the Cc Prompt Builder AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Svenja-dev/claude-code-skills/tree/main/skills/cc-prompt-builder
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Svenja-dev/claude-code-skills.git /tmp/claude-code-skills
mkdir -p .claude/skills
cp -r /tmp/claude-code-skills/skills/cc-prompt-builder .claude/skills/cc-prompt-builder
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Cc Prompt Builder in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Cc Prompt Builder on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Cc Prompt Builder is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

CC Prompt Builder

Du erstellst detaillierte Claude Code Prompts die CC autonom abarbeiten kann, inklusive Self-Fix bei Fehlern.

Warum dieser Skill existiert

Ein gut strukturierter CC-Prompt mit exaktem Code, bekannten Fallstricken und Fix-Anweisungen spart massiv Tokens, weil CC weniger Erkundungs-Runden braucht. Das funktioniert besonders gut mit Sonnet (günstiger, folgt Anweisungen präzise, braucht aber Klarheit). Opus denkt besser selbstständig, kostet aber ein Vielfaches. Für die meisten Implementierungsaufgaben ist Sonnet + detaillierter Prompt die bessere Wahl.

Wann NICHT verwenden

  • Einzelne kleine Änderungen (1 Datei, <20 Zeilen) brauchen keinen Prompt, mach es direkt
  • Reine Recherche-Aufgaben - CC braucht keinen Self-Fix-Loop für Recherche
  • Der User will interaktiv mit CC arbeiten statt delegieren

Prompt-Erstellung: Schritt für Schritt

1. Kontext sammeln (vor dem Schreiben)

Bevor du den Prompt schreibst, lies die relevanten Dateien im Projekt:

  • Bestehenden Code der geändert wird (Importe, Exports, Konventionen)
  • Config-Dateien (package.json, tsconfig, .env.example, CI-Workflows)
  • Bestehende Tests als Referenz für Stil und Patterns

Das ist entscheidend: Der Prompt muss die richtigen Dateinamen, Imports, Selektoren und Konventionen enthalten. Sonnet rät nicht gut, es braucht exakte Angaben.

2. Prompt-Struktur (diese Reihenfolge einhalten)

Die Grundstruktur jedes CC-Prompts:

[Aufgabe] - CC-Prompt für autonome Ausführung

Kontext

  • Was ist das Projekt (1-2 Sätze)
  • Was wurde bereits gemacht (vorherige Phasen, Commits)
  • Referenz-Dokumente die CC lesen soll

Self-Fix-Protokoll (PFLICHT)

[Immer einfügen - siehe Template unten]

Kritische Regeln

[Projektspezifische Fallen die CC kennen muss]

Phase N: [Name]

Datei: pfad/zur/datei.ts (NEU | ERWEITERN)

[Exakter Code oder präzise Änderungsanweisungen]

Ausführen und Fixen

[Konkreter Befehl + typische Fehler mit Lösungen]

Abschluss: Commit

[git add + commit Befehl mit allen Dateien]

Erwartete Ergebnisse

[Tabelle: Phase | Datei | Erwartung]

3. Self-Fix-Protokoll (immer einfügen)

Dieses Protokoll ist der Kern des Prompts. Es macht CC autonom:

Self-Fix-Protokoll (PFLICHT für jede Phase)

Für JEDE Phase gilt dieser Loop:

  1. Datei(en) erstellen/ändern
  2. Ergebnis prüfen: [projektspezifischer Befehl, z.B. npm run build, pytest, npx playwright test]
  3. WENN Fehler: a. Fehlerausgabe lesen und analysieren b. [projektspezifische Debug-Schritte] c. Fix anwenden d. Zurück zu Schritt 2 e. Max. 3 Fix-Versuche pro Teilaufgabe. Nach 3 Versuchen:
    • Problem dokumentieren (Kommentar im Code oder TODO)
    • Weiter zur nächsten Phase
  4. WENN grün: Weiter zur nächsten Phase

Typische Fixes:

  • [Liste projektspezifischer Fehler + Lösungen]

Am Ende ALLER Phasen: Zusammenfassung aller Ergebnisse zeigen.

4. Kritische Regeln formulieren

Sammle Fallen die CC in die Irre führen würden. Typische Kategorien:

  • Namenskollisionen: Welche Funktion statt welcher verwenden
  • Mock-Grenzen: Was Mocks können und was nicht
  • Selektoren/Pfade: Tatsächliche Selektoren aus dem Code, nicht aus der Doku
  • Env-Variablen: Welche nötig sind und wie Tests ohne sie übersprungen werden
  • Bestehender Code: "ERWEITERN, nicht duplizieren" wenn Dateien existieren

5. Exakter Code vs. Prosa

Die Faustregel:

  • Neue Dateien: Exakten, lauffähigen Code liefern. CC kopiert und passt an
  • Erweiterte Dateien: Beschreibe WO der Code eingefügt wird und liefere den Code-Block
  • Config-Änderungen: Zeige das Diff (vorher -> nachher) statt "ändere X"

Prosa-Beschreibungen wie "erstelle einen Test der X tut" funktionieren mit Opus, aber Sonnet braucht den konkreten Code.

6. Troubleshooting-Blöcke

Nach jeder Phase einen "Ausführen und Fixen"-Block mit dem exakten Testbefehl und projektspezifischen Symptomen + Lösungen:

  • Selektor nicht gefunden -> DOM inspizieren, bestehende Tests als Referenz
  • Timeout -> waitForLoadState statt waitForTimeout, Timeout erhöhen
  • Import-Fehler -> exports prüfen, Pfade prüfen mit ls
  • Feature existiert nicht -> graceful skip mit Begründung
  • Build-Fehler -> TypeScript-Errors einzeln fixen, tsc --noEmit
  • API-Fehler -> Mock prüfen, Route-Pattern vergleichen

7. Abschluss-Block

Immer einen Commit-Befehl mit allen Dateien und eine Ergebnis-Tabelle.

Qualitätskriterien für den fertigen Prompt

Prüfe deinen Prompt gegen diese Checkliste:

  • Kontext: Projekt und bisheriger Stand klar beschrieben?
  • Self-Fix-Loop: Enthalten mit max. Versuchen und Skip-Fallback?
  • Kritische Regeln: Alle bekannten Fallen dokumentiert?
  • Jede Phase hat exakten Code ODER präzise Änderungsanweisungen?
  • Jede Phase hat einen Ausführungsbefehl?
  • Jede Phase hat Troubleshooting für wahrscheinliche Fehler?
  • Bestehende Dateien werden erweitert, nicht dupliziert?
  • Imports und Pfade stimmen mit dem tatsächlichen Code überein?
  • Commit-Befehl am Ende mit allen Dateien?
  • Ergebnis-Tabelle am Ende?

Token-Effizienz-Hinweise

  • Ein 4.000-Wörter-Prompt kostet ~5.000 Input-Tokens. Eine vermiedene Rückfrage-Schleife spart 10.000-50.000 Tokens
  • Sonnet kostet ~80% weniger als Opus bei vergleichbarem Ergebnis wenn der Prompt präzise ist
  • Exakter Code im Prompt vermeidet Trial-and-Error - das ist der grösste Token-Spar-Hebel
  • Phasen-weise Struktur hilft CC den Kontext zu managen statt alles gleichzeitig im Kopf zu haben

Ausgabeformat

Den fertigen Prompt als Markdown-Datei speichern (z.B. docs/CC_PROMPT_[aufgabe].md), damit der User ihn kopieren und in CC einfügen kann. Der Prompt soll als eigenständiges Dokument funktionieren - CC hat keinen Zugriff auf die aktuelle Konversation.

Frequently asked questions

What does the Cc Prompt Builder AI skill do?

Erstellt detaillierte, autonome Claude Code (CC) Prompts mit Self-Fix-Protokoll. Nutze diesen Skill IMMER wenn der User einen CC-Prompt, Claude Code Prompt oder Delegations-Prompt für eine mehrstufige Implementierung braucht. Trigger auch bei: "Prompt für CC", "lass CC das machen", "mach einen Prompt draus", "CC soll das autonom abarbeiten", "delegate an Claude Code", "Sonnet-Prompt", "autonomer Prompt". Der Skill erzeugt token-effiziente Prompts die mit günstigeren Modellen (Sonnet) funktionieren, weil sie präzise genug sind um Rückfrage-Schleifen zu vermeiden.

Why use Cc Prompt Builder on TypingMind?

Because you install it once and use it with any model. Cc Prompt Builder is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Cc Prompt Builder in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Svenja-dev/claude-code-skills/tree/main/skills/cc-prompt-builder. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Cc Prompt Builder?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Cc Prompt Builder?

As many as you like. As long as a model supports skills, you can use Cc Prompt Builder with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Cc Prompt Builder AI skill free?

It is published on GitHub by Svenja-dev. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇