home/writing/prompt-spec-3

Prompt Spec

GPTClaudeGemini··646 copies·updated 2026-07-14
prompt-spec-3.prompt
# Prompt Specification Template

> **Phase 3: Refine** — Document each prompt in your system. One file per major prompt (or prompt family).
>
> Prompts are code. Version them, document them, test them like code.

---

**Prompt ID:** [UNIQUE-ID, e.g., SUPPORT-CLASSIFIER-v1.2]
**Last Updated:** [DATE]
**Author:** [NAME]
**Status:** Draft / Testing / Approved / Deprecated

---

## 1. Prompt Purpose

**What does this prompt do?**

[One sentence: what task does this prompt perform?]

**Where is it used?**

[Which part of the pipeline? Which feature? Which endpoint?]

**Who uses it?**

[Internal API / customer-facing / batch job / evaluation]

---

## 2. Inputs

| Parameter | Type | Required | Description | Example |
|-----------|------|----------|-------------|---------|
| `{variable_1}` | string | Yes | | |
| `{variable_2}` | string | No | | |
| `{context}` | string | Conditional | Retrieved RAG context | |
| `{history}` | array | No | Conversation history | |

**Context window budget:**

| Component | Estimated Tokens | Notes |
|-----------|-----------------|-------|
| System prompt (this spec) | [N] tokens | Fixed |
| Few-shot examples | [N] tokens | Fixed |
| Input variables | [N] tokens | Varies |
| RAG context (if applicable) | [N] tokens | Varies |
| Output budget (max_tokens) | [N] tokens | |
| **Total max** | [N] tokens | Must be < model context window |

---

## 3. The Prompt

### System Prompt

fill the variables

This prompt has 4 variables. Pro fills them into a ready-to-paste prompt for you — no manual find-and-replace.

{variable_1}{variable_2}{context}{history}
Unlock with Pro →

when to use it

Community prompt sourced from the open-source GitHub repo Wyuneed/merak-genai (MIT). A "Prompt Spec" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

writingcommunitygeneral

source

Wyuneed/merak-genai · MIT