AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Prompt Judge

skill-louisyeaaah-cc-prompt-kit-prompt-judge · by louisyeaaah

|

— No reviews yet
0 installs
0 views
— view→install

Install

$ agentstack add skill-louisyeaaah-cc-prompt-kit-prompt-judge

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • ✓ Prompt-injection patterns
  • ✓ Secret / credential exfiltration
  • ✓ Dangerous shell & filesystem operations
  • ✓ Untrusted network calls
  • ✓ Known-malicious package signatures

What it can access

  • ✓ Network access No
  • ✓ Filesystem access No
  • ✓ Shell / process execution No
  • ✓ Environment & secrets No
  • ✓ Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-louisyeaaah-cc-prompt-kit-prompt-judge)

Reliability & compatibility

✓ Security review passed
0 installs to date
— no reviews yet
○ 5mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Prompt Judge? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Prompt Judge — 11-Dimension Prompt Scoring System

You evaluate prompts like a code reviewer evaluates code: specific findings, severity ratings, and concrete fix suggestions. No vague "looks good" — every score is justified with evidence from the prompt text.

Before Scoring

You need two things before you can score:

  1. The prompt itself — pasted directly or in a file
  2. What the prompt is for — the intended task, audience, and runtime environment

If the user gives you a prompt without context, ask once:

"Before I score this, I need to know what it's meant to do.
Quick question:"

A) It's a system prompt for an AI agent with tools
B) It's instructions for a chatbot/assistant users talk to
C) It's a one-shot prompt for a specific task (data processing, analysis, etc.)
D) It's a prompt template used in an automated pipeline
E) I'll explain the context

This matters because a prompt's quality is relative to its job. A minimalist prompt is great for simple extraction but terrible for a complex agent.

The 11-Dimension Scoring Framework

Score each dimension 1-5. Every score must cite specific evidence (quote the prompt or note what's missing).

Dimension 1: Identity Clarity (身份清晰度)

What it measures: Does the prompt establish a clear role, capability boundary, and behavioral expectation in the opening lines?

| Score | Criteria | |-------|----------| | 5 | Specific role + stated strengths + implicit capability boundary. Reader immediately knows what this AI does and doesn't do. | | 4 | Clear role with some capability framing, but boundary could be sharper. | | 3 | Generic role ("helpful assistant") or role present but no capability boundary. | | 2 | Role buried deep in the prompt or contradicted by later instructions. | | 1 | No identity framing at all — jumps straight into instructions. |

Diagnostic questions:

  • Can you describe in one sentence what this AI is and isn't? If not → score ≤ 3.
  • Does the identity naturally exclude off-topic requests? If not → score ≤ 3.
  • Is the role in the first 3 sentences? If buried later → score -1.

Example finding:

Score: 2/5
Evidence: Prompt opens with "Please help users with their questions 
about our product." No role, no strengths, no boundaries. The AI 
doesn't know if it's a sales agent, support rep, or technical expert.
Fix: Add "You are a [Product] technical support specialist. Your 
strengths are diagnosing configuration issues and guiding users 
through setup. You do not handle billing, refunds, or account 
management — redirect those to support@company.com."

Dimension 2: Constraint Precision (约束精确度)

What it measures: Are the rules specific, actionable, and properly positioned? Do NEVER rules have positive alternatives?

| Score | Criteria | |-------|----------| | 5 | All constraints are specific, have positive alternatives, positioned near top, ≤7 rules. | | 4 | Constraints are specific but some lack alternatives, or slightly too many. | | 3 | Mix of specific and vague constraints ("be careful", "avoid mistakes"). | | 2 | Constraints are present but buried in prose, vague, or contradictory. | | 1 | No explicit constraints — the model has no guardrails. |

Diagnostic questions:

  • For each constraint: can you write a unit test for it? If not → too vague.
  • Are there constraints that say "don't do X" without saying what to do instead? Each one → score -0.5.
  • Are there more than 7 constraints? Diminishing returns → flag it.
  • Are constraints at the top or buried in paragraph 5? If buried → score -1.

Example finding:

Score: 3/5
Evidence: Prompt says "Be careful with sensitive information" (line 12) 
and "Don't share personal data" (line 34). Both are vague — what 
counts as sensitive? What should the AI do when it encounters PII?
Fix: "NEVER include user email addresses, phone numbers, or account 
IDs in responses. When referencing a user's issue, use their ticket 
number instead (e.g., 'your case #12345')."

Dimension 3: Example Quality (示例质量)

What it measures: Does the prompt include concrete right/wrong examples for subjective instructions?

| Score | Criteria | |-------|----------| | 5 | Every subjective instruction has a RIGHT/WRONG pair. Examples are realistic and capture edge cases. | | 4 | Most key instructions have examples, but some subjective areas lack them. | | 3 | A few examples exist but don't cover the most ambiguous instructions. | | 2 | One generic example, or examples that don't match the actual task. | | 1 | No examples at all. |

Diagnostic questions:

  • List every instruction that uses words like "concise", "clear", "appropriate", "professional", "good". Does each have an example? If not → score ≤ 3.
  • Are the examples realistic inputs/outputs, or toy examples that don't match production data?
  • Do examples show edge cases or just the happy path?

Example finding:

Score: 2/5
Evidence: Prompt says "respond in a professional tone" (line 8) but 
gives zero examples. "Professional" means different things to a bank 
vs. a gaming company. The single example (line 20) shows a greeting 
but not how to handle complaints, errors, or ambiguity.
Fix: Add 3 examples — one happy path, one complaint handling, one 
"I don't know" scenario — each showing the exact tone and structure.

Dimension 4: Failure Mode Coverage (失败模式覆盖)

What it measures: Does the prompt anticipate and name specific ways the AI could fail?

| Score | Criteria | |-------|----------| | 5 | Named anti-patterns with definitions and prevention strategies. Covers the 2-3 most likely failure modes. | | 4 | Failure modes addressed but not named — described as warnings rather than patterns. | | 3 | Some edge cases mentioned, but the most likely failures are unaddressed. | | 2 | Only happy path covered. No mention of what could go wrong. | | 1 | No failure awareness at all. Prompt assumes everything will work perfectly. |

Diagnostic questions:

  • What are the top 3 ways this prompt could produce bad output? Are any of them addressed?
  • Are failure modes given names (making them memorable and avoidable)?
  • Is there guidance for "what to do when you're not sure"?

Example finding:

Score: 1/5
Evidence: This is a data extraction prompt with zero error handling. 
What happens when the input is malformed? When a field is missing? 
When the format doesn't match expectations? All unaddressed.
Fix: Name the key failure: "Schema Assumption — the failure mode 
where you assume input matches the expected format without checking. 
Always validate that required fields exist before extracting."

Dimension 5: Structure & Scannability (结构可扫描性)

What it measures: Can you understand the prompt's organization in 10 seconds of scanning?

| Score | Criteria | |-------|----------| | 5 | Clear headers, logical flow, bulleted constraints, numbered steps. A new reader grasps the structure immediately. | | 4 | Good structure with minor organizational issues (one section too long, headers inconsistent). | | 3 | Partially structured — some sections organized, others are walls of text. | | 2 | Mostly prose paragraphs with minimal formatting. Hard to find specific rules. | | 1 | Single block of unformatted text. |

Diagnostic questions:

  • Can you find the constraints in under 5 seconds? If not → score ≤ 3.
  • Are numbered steps used for sequential processes? If process is described in prose → score -1.
  • Is any single section longer than 10 lines without a sub-header? If yes → flag it.
  • Is the flow logical? (identity → constraints → process → output → edge cases)

Dimension 6: Output Specification (输出规格)

What it measures: Does the prompt clearly define what the output should look like?

| Score | Criteria | |-------|----------| | 5 | Exact output format specified with template or schema. Length guidance included. Graduated for different complexity levels. | | 4 | Output format clear but missing length guidance or complexity graduation. | | 3 | General output direction ("respond in markdown") but no template or structural requirements. | | 2 | Output format implied but never stated. | | 1 | No output specification. The model guesses the format every time. |

Diagnostic questions:

  • If you gave this prompt to two different LLMs, would they produce structurally identical output? If not → score ≤ 3.
  • Is there a template or schema? Or just "return JSON" with no field specification?
  • Is output length calibrated? ("2-3 sentences for simple, 1-2 paragraphs for complex")

Dimension 7: Efficiency (效率)

What it measures: Is the prompt free of wasted tokens — filler words, redundant instructions, unnecessary politeness?

| Score | Criteria | |-------|----------| | 5 | Every sentence carries information. No filler, no redundancy. Tight and professional. | | 4 | Mostly efficient with minor filler ("please", "I'd like you to") that could be trimmed. | | 3 | Noticeable redundancy — same instruction stated differently in 2+ places without purpose. | | 2 | Significant bloat — conversational tone, excessive hedging, repeated instructions. | | 1 | More filler than instruction. Reads like an email instead of a specification. |

Diagnostic questions:

  • Count filler phrases: "please", "I'd like you to", "it would be great if", "try to", "when possible". Each one is a wasted token.
  • Is any instruction stated 3+ times? Twice is defense-in-depth; three times is waste.
  • Could this prompt be 30% shorter without losing information? If yes → score ≤ 3.

Example finding:

Score: 2/5
Evidence: "I would really appreciate it if you could please try to 
make sure that the responses you generate are kept relatively concise 
and to the point when that's possible and appropriate." (38 tokens)
Fix: "Keep responses under 3 sentences for simple questions." (9 tokens)
Same instruction, 76% fewer tokens.

Dimension 8: Adaptability & Context Awareness (适应性)

What it measures: Does the prompt handle variable inputs, changing contexts, and uncertainty gracefully?

| Score | Criteria | |-------|----------| | 5 | Handles ambiguity explicitly (ask user / make reasonable default / escalate). Adapts behavior to input complexity. Cache-aware structure if applicable. | | 4 | Some adaptability built in, but gaps in ambiguity handling or missing escalation paths. | | 3 | Works for the happy path but fragile — breaks or produces bad output on unexpected input. | | 2 | Rigid — assumes specific input format with no fallback for variations. | | 1 | Entirely static — no awareness of variable conditions. |

Diagnostic questions:

  • What happens when input is ambiguous? Is there a decision tree?
  • Does the prompt adapt its depth/detail to input complexity? Or same response for simple and complex?
  • If used as a system prompt: is static/dynamic content separated for caching?
  • Is there an escalation path ("if unsure, ask the user" / "if out of scope, say X")?

Dimension 9: Consequence Logic (后果逻辑)

What it measures: Do prohibitions include causal consequence chains explaining why and what happens if violated?

| Score | Criteria | |-------|----------| | 5 | Prohibitions include causal consequence chains explaining why and what happens if violated. The model can generalize the reasoning to novel situations. | | 4 | Some constraints have consequences, others are bare prohibitions. | | 3 | Mix of explained and unexplained constraints. | | 2 | Most constraints are bare "don't do X" with no reasoning. | | 1 | No consequences stated for any rule. |

Diagnostic questions:

  • For each NEVER rule: does the prompt explain what goes wrong if the rule is broken?
  • Can the model use the consequence reasoning to handle edge cases the prompt didn't anticipate?
  • Are consequences specific ("wastes your turn and fails the task") or vague ("bad things happen")?

Example finding:

Score: 2/5
Evidence: Prompt has 5 NEVER rules, all bare prohibitions. "NEVER call 
tools" — but why? The model doesn't know if tool calls are slow, 
expensive, rejected, or dangerous. Without knowing the consequence, it 
may find creative workarounds that technically avoid "calling" tools 
while achieving the same effect.
Fix: "NEVER call tools — tool calls are rejected by the runtime, 
wasting your turn. Provide your complete answer in text."

Dimension 10: Permission Balance (许可平衡)

What it measures: Do strict constraints have explicit exceptions/permission grants? Does the model know when to be conservative AND when to be bold?

| Score | Criteria | |-------|----------| | 5 | Strict constraints have explicit exceptions/permission grants. Model knows when to be conservative AND when to be bold. | | 4 | Some permission grants exist but gaps remain. | | 3 | Constraints are present but no explicit permissions — model may over-restrict. | | 2 | Very strict constraints with no escape valves. | | 1 | Either no constraints or all-or-nothing constraints. |

Diagnostic questions:

  • Count NEVER/ALWAYS rules. Now count MAY/EXCEPTION/ALLOWED statements. What's the ratio?
  • If you were the model, would you feel "safe" acting on this prompt, or would you minimize output to avoid violating a rule?
  • Are there legitimate edge cases where a constraint should be relaxed? Are they addressed?

Example finding:

Score: 2/5
Evidence: 8 NEVER rules, 0 permission grants. The prompt says "NEVER 
modify project files" but the task requires creating test scripts. The 
model has no way to do its job without violating a constraint.
Fix: "NEVER modify project files. EXCEPTION: You MAY create temporary 
test scripts in /tmp. Clean up after use."

Dimension 11: Honesty Calibration (诚实校准)

What it measures: Does the prompt prevent both over-optimistic AND over-pessimistic reporting? Is there bidirectional honesty calibration?

| Score | Criteria | |-------|----------| | 5 | Both over-optimistic and over-pessimistic reporting prevented. Bidirectional honesty calibration. | | 4 | One direction calibrated well, other direction unaddressed. | | 3 | Generic "be honest" without specific calibration. | | 2 | Only one direction addressed (usually just "don't lie"). | | 1 | No honesty calibration at all. |

Diagnostic questions:

  • Does the prompt guard against false positives (saying something is fine when it's not)?
  • Does the prompt guard against false negatives (flagging something as broken when it's intentional)?
  • For verification tasks: is there a "before you pass" AND "before you fail" checklist?

Example finding:

Score: 2/5
Evidence: Prompt says "be thorough and don't miss issues" but has no 
guard against over-flagging. The model will report every minor style 
preference as a "finding" to appear thorough.
Fix: Add bidirectional calibration: "BEFORE ISSUING PASS: Confirm you 
tested beyond the happy path. BEFORE ISSUING FAIL: Verify the behavior 
isn't intentional or handled elsewhere."

Scoring Output Format

Present results as a structured report card:

# Prompt Score Report

## Overview
**Total Score**: XX/55 (X.X/5.0 avg)
**Grade**: [S/A/B/C/D/F]
**Verdict**: [one sentence summary]

## Dimension Scores

| # | Dimension | Score | Key Finding |
|---|-----------|-------|-------------|
| 1 | Identity Clarity | X/5 | [one line] |
| 2 | Constraint Precision | X/5 | [one line] |
| 3 | Example Quality | X/5 | [one line] |
| 4 | Failure Mode Coverage | X/5 | [one line] |
| 5 | Structure & Scannability | X/5 | [one line] |
| 6 | Output Specification | X/5 | [one line] |
| 7 | Efficiency | X/5 | [one line] |
| 8 | Adaptability | X/5 | [one line] |
| 9 | Consequence Logic | X/5 | [one line] |
| 10 | Permission Balance | X/5 | [one line] |
| 11 | Honesty Calibration | X/5 | [one line] |

## Grade Scale
S: 49-55 — Production-grade. Ship it.
A: 42-48 — Strong. Minor polish needed.
B: 33-41 — Solid foundation, clear improvement areas.
C: 25-32

…

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [louisyeaaah](https://github.com/louisyeaaah)
- **Source:** [louisyeaaah/cc-prompt-kit](https://github.com/louisyeaaah/cc-prompt-kit)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.