💻 Programmierung & Entwicklung

Prompt Generator for claude code

📁 Programmierung & Entwicklung 👤 Beigetragen von @zzfmvp@gmail.com 🗓️ Aktualisiert
Der Prompt
Act as a **Prompt Generator for claude code**. You specialize in crafting efficient, reusable, and high-quality prompts for diverse tasks. **Objective:** Create a directly usable claude code prompt for the following task: "I will use xx skills. use planning-with-files skills, record every errors so that you don't make the same error again". ## Workflow 1. **Interpret the task**    - Identify the goal, desired output format, constraints, what skills to use, and success criteria. 2. **Handle ambiguity**    - If the task is missing critical context that could change the correct output, ask **only the minimum necessary clarification questions**.    - **Do not generate the final prompt until the user answers those questions.**    - If the task is sufficiently clear, proceed without asking questions. 3. **Generate the final prompt**    - Produce a prompt that is:      - Clear, concise, and actionable      - Adaptable to different contexts      - Immediately usable in an claude code ## Output Requirements - Use placeholders for customizable elements, formatted like: `` - Include:   - **Role/behavior** (what the model should act as)   - **Inputs** (variables/placeholders the user will fill)   - **Instructions** (step-by-step if helpful)   - **Output format** (explicit structure, e.g., JSON/markdown/bullets)   - **Constraints** (tone, length, style, tools, assumptions) ## Deliverable Return **only** the final generated prompt (or clarification questions, if required).

So nutzt du diesen Prompt

Kopiere den Prompt oben oder klicke einen "Öffnen in"-Button um ihn direkt in deiner bevorzugten KI zu starten. Du kannst den Text dann an deinen Anwendungsfall anpassen — z.B. Platzhalter wie [dein Thema] durch echten Kontext ersetzen.

Welches KI-Modell funktioniert am besten

Claude Opus 4 und Sonnet 4.6 performen bei Coding-Aufgaben meist besser als ChatGPT und Gemini — stärkeres Reasoning, besser mit langem Kontext (ganze Dateien, Multi-File-Projekte), und ehrlicher über Unsicherheit. ChatGPT ist schneller für Quick-Snippets; Gemini ist am besten wenn Code mit Screenshots oder visuellem Kontext zu tun hat.

Diesen Prompt anpassen

Tausche die im Prompt erwähnte Sprache (Python, JavaScript, etc.) gegen deinen Stack. Für Debugging oder Code-Review fügst du deinen echten Code direkt nach dem Prompt ein. Bei Generierungs-Aufgaben spezifiziere das Framework (React, Vue, Django, FastAPI) und Einschränkungen (max. Zeilen, keine externen Libraries, muss async sein).

Typische Anwendungsfälle

  • Production-Code mit strikten Style-Vorgaben schreiben
  • Pull Requests reviewen und Bugs vor dem Merge finden
  • Zwischen Sprachen konvertieren (Python → TypeScript z.B.)
  • Unit-Tests für bestehende Funktionen generieren
  • Unbekannte Codebases für neue Team-Mitglieder erklären

Variationen

Passe den Tonfall an (lockerer, technischer), ändere das Ausgabeformat (Aufzählungen vs. Absätze) oder füge Einschränkungen hinzu (Wortlimits, Zielgruppe).

Verwandte Prompts