agentleFS
nklischnklisch/claude-code-modes/.claude/skills/prompt-evaluate/SKILL.md

prompt-evaluate

Skill116 starsChanged 7 months agoMITView on GitHub

Score existing bases, modifiers, or assembled prompts against Anthropic emotion research and prompt engineering quality criteria. Produces a scorecard covering negative instruction bias, ALL-CAPS inflation, lost-in-the-middle vulnerability, worked examples, priority hierarchy, and redundancy. Use when user says "evaluate prompt", "score this base", "check prompt quality", "prompt review", or invokes /prompt-evaluate.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. aiflaredev/aiflare★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository6 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the user doesn't specify, ask what to evaluate.

    line 30
  2. Distinctive:

    Run these commands against the target files:

    line 38
  3. Distinctive:

    If evaluating a custom base or modifier, offer to compare against the standard and chill bases:

    line 99
  4. Very specific:

    If the user wants to fix issues, suggest they use /prompt-author to create improved content.

    line 114

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Prompt Evaluate

Score prompt content for claude-code-modes against 10 quality criteria grounded in Anthropic's emotion research and prompt engineering best practices.

Before starting

Read these references:

  1. references/emotion-research.md — emotion vector findings
  2. references/prompt-quality.md — 10 quality criteria with thresholds
  3. references/scoring-rubric.md — measurement methods and commands

Phase 1: Identify what to evaluate

Determine the target. Options:

A base directory — e.g., prompts/chill/ or a custom base path. Read all fragment files and the manifest.

A modifier file — e.g., prompts/modifiers/debug.md. Read the single file.

An assembled prompt — run bun run src/build-prompt.ts <preset> [--base <base>] --print to get the fully assembled output. This is the most comprehensive evaluation since it includes axis fragments and modifiers.

A file path provided by the user — read it directly.

If the user doesn't specify, ask what to evaluate.

Phase 2: Run measurements

For each of the 10 criteria, collect data using the methods in references/scoring-rubric.md.

Automated measurements

Run these commands against the target files:

# 1. Negative instruction count
grep -ciE '\b(don.t|do not|never|avoid|must not|should not|cannot)\b' <files>

# 2. ALL-CAPS emphasis count
grep -cE '\b(IMPORTANT|CRITICAL|MUST|NEVER|DO NOT)\b' <files>

# 4. Worked examples count
grep -c '<example>' <files>

# 5. Priority hierarchy presence
grep -ciE '(when.*conflict|priority|comes first|takes precedence)' <files>

# 7. Character count (token efficiency)
wc -c <files>

Manual assessments

For criteria that require reading and judgment (3, 6, 8, 9, 10), read the content and assess against the rubric thresholds.

Phase 3: Produce scorecard

Present results as a table. For each criterion, show: rating (Good/Concerning/Poor), measured value, and a specific finding.

Format:

## Prompt Quality Scorecard: {target name}

| # | Criterion | Rating | Value | Finding |
|---|-----------|--------|-------|---------|
| 1 | Negative Instruction Bias | Good | 4 per 1000 chars | ... |
| 2 | ALL-CAPS Emphasis | Good | 0 markers | ... |
| ... | ... | ... | ... | ... |

**Overall: {Excellent/Good/Needs work/Poor}**

### Critical findings
{Any criterion rated "Poor" with specific remediation advice}

### Suggestions
{Specific, actionable improvements ranked by impact}

Rating logic

  • Excellent: 8-10 criteria at Good
  • Good: 6-7 at Good, none of the 4 critical criteria at Poor
  • Needs work: 4-5 at Good
  • Poor: < 4 at Good, or any critical criterion at Poor

Critical criteria (must be Good for overall Good):

  1. Negative Instruction Bias
  2. Lost-in-the-Middle
  3. Emotional Tone
  4. Security Boundary Preservation

Phase 4: Comparison (optional)

If evaluating a custom base or modifier, offer to compare against the standard and chill bases:

# Generate assembled prompts for comparison
bun run src/build-prompt.ts create --print > /tmp/standard.txt
bun run src/build-prompt.ts create --base chill --print > /tmp/chill.txt
bun run src/build-prompt.ts create --base <custom> --print > /tmp/custom.txt

Show a side-by-side comparison table of key metrics across all bases.

Output

Report results directly in conversation. Do not write files to disk. The scorecard should be immediately actionable — every finding includes a specific suggestion.

If the user wants to fix issues, suggest they use /prompt-author to create improved content.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.