Prompt Quality Rubric
# Prompt Quality Rubric
Use this rubric to review prompt files before they become reusable assets or
ship in a package. It is intentionally practical: a prompt is good when it
produces useful, reviewable behavior under realistic conditions.
## Score Summary
| Score | Meaning | Ship? |
| ---: | --- | --- |
| 0 | Fails the task, violates constraints, or is unsafe. | No. |
| 1 | Has a task but lacks scope, format, or safety boundaries. | No. |
| 2 | Works for a simple happy path but fails edge cases. | Only as a draft. |
| 3 | Clear goal, relevant context, explicit scope, and usable format. | Yes for low-risk use. |
| 4 | Adds verification, failure behavior, source discipline, and reviewability. | Yes for reusable prompts. |
| 5 | Tested, versioned, source-aware, safe, concise, and resilient to misuse. | Yes for packaged prompts. |
## Dimensions
Score each dimension from 0 to 5.
| Dimension | 0 | 3 | 5 |
| --- | --- | --- | --- |
| Goal | No clear deliverable. | Specific output and audience. | Output, audience, use case, and success criteria are all explicit. |
| Context | Missing or noisy. | Relevant facts included. | Context is layered, trusted, current where needed, and separated from instructions. |
| Scope | Unbounded. | Include/exclude rules present. | Scope names files/actions/topics, forbidden work, and escalation behavior. |
| Format | Vague prose. | Output shape stated. | Output is schema-like, examples exist, and malformed output is detectable. |
| Verification | None or "check it." | Manual or command check listed. | Checks, rubrics, cases, and failure reporting are explicit. |
| Safety | No privacy or tool boundary. | Basic private-data warning. | Secrets, prompt injection, permissions, destructive actions, and source trust are handled. |
| Robustness | Works once. | Handles common missing-info cases. | Includes edge cases, abuse cases, and regression expectations. |
| Maintainability | Anonymous text. | Named prompt with purpose. | Version, owner, source status, changelog, and test path are present. |
## Pass Thresholds
| Use case | Minimum |
| --- | --- |
| One-off personal brainstorming | 2, if no private data or tools are involved. |
| Public documentation prompt | 3, with source and safety checks. |
| Coding-agent work order | 4, because file writes and tests are involved. |
| RAG or source-grounded answerer | 4, because unsupported claims are likely. |
| Tool-using or automation prompt | 4, with explicit permissions. |
| Packaged reusable prompt | 5 or a documented 4 with known limitations. |
## Review Procedure
1. Read the prompt without the author's explanation.
2. Identify the deliverable, audience, scope, format, and checks.
3. Classify the target driver: chat, reasoning, coding-agent, RAG, image,
structured-output, or tool-agent.
4. Score each dimension.
5. Run or mentally simulate one normal case.
6. Run or mentally simulate one edge case.
7. Run or mentally simulate one abuse case if tools, sources, or private data
are involved.
8. Record the weakest dimension and the smallest useful fix.
## Required Evidence
A prompt review should cite at least one of these:
- Output from a command or script.
- A rendered or parsed artifact.
- A source citation.
- A schema validation result.
- A human review table.
- A before/after comparison.
- A package manifest.
- A test fixture.
Do not accept "the model said it looks good" as evidence.
## Common Defects
| Defect | Symptom | Repair |
| --- | --- | --- |
| Persona-only prompt | Long role text, no deliverable. | Add goal, context, scope, output, and verification. |
| Scope leak | Model changes unrelated topics or files. | Add include/exclude lists and forbidden actions. |
| Source blur | Model mixes source facts and inference. | Add source ledger and inference labels. |
| Format drift | Output shape changes between runs. | Add exact schema or examples. |
| Safety gap | Prompt allows secrets or broad tools. | Add permission profile and blocked actions. |
| Evaluation gap | Prompt has no test cases. | Add golden, edge, and abuse cases. |
| Maintenance gap | No owner or version. | Add metadata and changelog rule. |
## Example Review Tablewhen to use it
Community prompt sourced from the open-source GitHub repo Yaked1/ai-lab-codex-workbench (MIT). A "Prompt Quality Rubric" 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
productivitycommunitydeveloper
source
Yaked1/ai-lab-codex-workbench · MIT
more in Productivity
Productivity✓ tested
Summarize a doc into decisions & actions
chief of staff who extracts what to DO, not just what was said
Productivity✓ tested
Draft a reply to a hard email
calm, direct communicator who de-escalates without caving
Productivity✓ tested
Turn a brain-dump into a weekly plan
planning coach who protects your focus, not just your calendar