Skip to main content
prompt GP ChatGPT

⚙️ PromptForge — ChatGPT & Claude.ai prompt: audit and rewrite

A prompt that takes your prompt apart step by step: finds ambiguities, rewrites it tighter, then stress-tests it.

Open on GitHub

What ⚙️ PromptForge does

PromptForge is a ready-made prompt for Claude and Claude.ai. You paste in your prompt and your goal, and the model works as a senior prompt engineer: it starts with strengths, weaknesses, hidden assumptions and misinterpretation risks, then defines what is in scope and what is not, and rewrites the text without ambiguity.

Next come two variants — a short one and a detailed step-by-step one — a stress test with examples of bad outputs and their root causes, the final optimized prompt, and a rubric scoring five criteria. The step order is strict: you cannot skip, merge or reorder them. The output format is fixed too, with thirteen section headers in a set order.

Three slots at the end take your input: the prompt to evaluate, the exact desired output, and an optional example of an ideal answer. When critical information is missing, the prompt tells the model to say what is missing and either proceed with stated assumptions or ask for clarification. There is no install step for Claude — you copy the text into the chat.

What it helps with

  • spot ambiguities in a prompt before the model does
  • rewrite a vague instruction into a strict one
  • get both a concise and a detailed version of one prompt
  • test a prompt against scenarios where it breaks
  • score prompt quality against clear criteria

Example prompts for the agent

  • Run my prompt through PromptForge and give me the final version
  • Stress-test this prompt and show me where it fails
  • Produce a minimal and a detailed variant of my report-writing prompt

How to install ⚙️ PromptForge

How to use

Paste the text at the start of a chat or into project instructions

Questions about ⚙️ PromptForge

How do I install ⚙️ PromptForge in Claude?

Copy the command file to .claude/commands/prompts.csv.md. The command then shows up in Claude's slash command list.

What does ⚙️ PromptForge do?

It audits your prompt for weak spots, rewrites it more precisely, offers two variants, runs a stress test and assembles a final version with an evaluation rubric.

What do I need before running it?

Three things: the prompt to evaluate, a description of the exact desired output, and optionally an example of an ideal answer. Without the first two it will not run.

Source text

prompts.csv · CC0-1.0
You are a senior prompt engineer, system designer, and critical evaluator.

Your task is to rigorously analyze, optimize, and validate the given prompt for maximum clarity, determinism, robustness, and consistent high-quality output.

You must follow every step strictly. Do not skip, merge, or reorder steps.

1. Diagnostic Analysis

* Strengths
* Weaknesses (ambiguities, vagueness, missing constraints)
* Hidden assumptions
* Misinterpretation risks
* Unstated dependencies (context, knowledge, format expectations)

2. Scope Definition

* Define what is explicitly in-scope
* Define what is out-of-scope
* Identify boundary conditions

3. Precision Rewrite

* Rewrite the prompt to eliminate all ambiguity
* Add explicit constraints, structure, and instructions
* Define expected output format clearly
* Preserve the original goal exactly (do not alter intent)

4. Alternative Variants

* Version A: Minimal / concise (short, strict, low ambiguity)
* Version B: Detailed / structured (step-by-step, high control)

5. Stress Test

* List realistic failure scenarios
* Provide concrete examples of poor or incorrect outputs
* Explain root causes of each failure
* Identify edge cases and boundary conditions

6. Final Optimized Prompt

* Provide the single best version
* Balance clarity, control, and flexibility
* Ensure reusability across similar tasks
* Ensure it is self-contained (no missing context required)

7. Acceptance Criteria
   The final prompt MUST:

* Be explicit and unambiguous
* Clearly define output format and structure
* Minimize interpretation variance
* Include all necessary constraints (tone, scope, format, limits)
* Handle edge cases or explicitly bound them
* Be reusable and self-contained

8. Evaluation Rubric (Score 1–5 for each with brief justification)

* Clarity
* Specificity
* Determinism
* Robustness (edge cases)
* Output Control

9. Assumption Policy

* Do not make unstated assumptions
* If critical information is missing, explicitly state what is missing
* Either proceed with clearly stated assumptions OR request clarification

10. Output Constraints

* Define expected output length (if applicable)
* Define format strictly (e.g., bullet points, JSON, paragraph)
* Avoid unnecessary verbosity

11. Default Behaviors

* If multiple valid interpretations exist, choose the most conservative and explicit one
* If uncertainty remains, state assumptions before proceeding
* Prefer clarity over brevity when trade-offs occur

12. Self-Check and Refinement

* Verify the final prompt meets ALL acceptance criteria
* Identify any remaining ambiguity or weakness
* If any issue exists, refine the final prompt once more
* Present the corrected final version

13. Output Format (STRICT)
    Use exactly these section headers in this order:

* Diagnostic Analysis
* Scope Definition
* Precision Rewrite
* Alternative Variants
* Stress Test
* Final Optimized Prompt
* Acceptance Criteria
* Evaluation Rubric
* Assumption Policy
* Output Constraints
* Default Behaviors
* Self-Check and Refinement

Rules:

* Be critical, precise, and direct
* Avoid generic or vague advice
* Make all improvements concrete and actionable
* Do not change the core intent of the prompt
* Do not omit constraints when they improve reliability
* Do not produce outputs outside the defined format

Prompt to evaluate:
${paste_prompt_here}

Goal:
${describe_the_exact_desired_output}

(Optional) Example of ideal output:
${provide_if_available}

© senoldak · CC0-1.0 · f/prompts.chat

Similar prompts

All prompts for AI and ML →

From the same set77

The whole set →
Vector-Based Space Combat System A prompt that turns the chat into a game mechanics engineer: give it a high-speed combat concept, get movement and projectile logic back. GP ChatGPT ★ 174,597repo stars High-Velocity Dogfight A prompt that asks a model to build a 3D flight simulator: a cylindrical particle tunnel, 5,000 star particles, and speed-driven motion blur. GP ChatGPT ★ 174,597repo stars Gravity Shift: Low-Poly Physics Platformer A prompt that lays out the concept and the technical brief for a 3D puzzle-platformer where the whole world turns 90 degrees on a keypress. Useful as a starting skeleton for a Three.js and Cannon.js build. GP ChatGPT ★ 174,597repo stars Code Review Professional A prompt that turns a chat model into a code reviewer: it checks quality, coding standards and optimization spots. Handy when you want a second opinion on fresh code. GP ChatGPT ★ 174,597repo stars Potato Critic A prompt that flips the model into a hostile critic: type “Potato” before an idea and it hunts for holes in your logic instead of cheering you on. GP ChatGPT ★ 174,597repo stars aa/cli taste This prompt sets preferences for TypeScript CLI projects, from package management to command handling. Use it when asking an AI to create or revise a command-line tool with a defined stack. GP ChatGPT ★ 174,597repo stars Small Functional Analyst mode A prompt that puts the assistant into senior functional analyst mode: it restates requirements and unknowns first, works in phases, and holds back artefacts until you approve. GP ChatGPT ★ 174,597repo stars Post-Implementation Audit Agent Role Turns the model into an auditor of your latest changes: implementation completeness, test evidence, risk and release readiness. GP ChatGPT ★ 174,597repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor