From prompy
Deep-dive prompt improvement workflow with a full before/after report card and edit iteration. Use this skill when the user explicitly wants the comprehensive analysis instead of the inline co-pilot/auto-pilot trace from the hook. Trigger phrases - "/prompy", "/prompy:prompy", "deep dive on this prompt", "give me the full report card", "show me the prompy report".
How this skill is triggered — by the user, by Claude, or both
Slash command
/prompy:prompy [prompt to improve][prompt to improve]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
This is the manual deep-dive flow. Activated only by the user explicitly typing `/prompy:prompy [optional prompt]` or asking for "the full report card" or "deep dive on this prompt".
This is the manual deep-dive flow. Activated only by the user explicitly typing /prompy:prompy [optional prompt] or asking for "the full report card" or "deep dive on this prompt".
This skill is separate from the inline co-pilot/auto-pilot behavior injected by the SessionStart hook. The hook gives terse, one-line traces on every prompt. This skill gives the verbose, fenced, edit-iteration deep dive on explicit request only.
Read $ARGUMENTS:
Classify the target prompt into one of five use-cases by scanning for keyword signals: coding, writing, creative, strategy, or other.
Load references/mode-matrix.md for the keyword table and per-use-case strategy.
Announce the detection:
"Treating this as a [use-case] prompt."
If the user supplied an override flag (--coding, --writing, --creative, --strategy), use it and announce "Using [use-case] as specified."
Score on 5 dimensions (1-5 each) using references/scoring-rubric.md:
Present the Analysis Block from references/output-templates.md:
✦ Prompy [deep-dive] — analysis
Original: "[first 80 chars]…"
Use-case: [detected]
SCORE BREAKDOWN:
Clarity [x/5] — [one-sentence rationale]
Specificity [x/5] — [one-sentence rationale]
Context [x/5] — [one-sentence rationale]
Actionability [x/5] — [one-sentence rationale]
Mode-fit [x/5] — [one-sentence rationale]
Overall: [Grade] ([score]/100)
What's weakest:
• [Dimension]: [one-line reason]
• [Dimension]: [one-line reason]
Want me to explore context, or will you supply what's missing?
Type "explore" or reply with the missing info directly.
A-grade short-circuit: If overall grade is A (90+), declare strong and stop. Use the "Already Strong" template. No further enrichment.
Incorporate the reply into Phase 4 without further questions, unless something critical is missing.
Strategy depends on detected use-case (references/mode-matrix.md):
Coding:
git rev-parse --git-dir 2>/dev/null and test -f CLAUDE.md to check for codebaseWriting / Creative / Strategy / Other:
Subagent prompt template (use this verbatim for any use-case that warrants a subagent):
You are a read-only context gatherer. Your only job is to return a structured digest, max 200 words total.
Target prompt: "[the user's original prompt]"
Use-case: [coding|writing|creative|strategy|other]
Tasks:
1. Read CLAUDE.md if it exists
2. For coding: Glob/Grep relevant files in src/, app/, lib/, components/
For writing/creative/strategy: Read README, docs/, and any style guides
Return this structure:
Relevant files found:
- [path]: [one-line description]
Existing patterns / style signals:
- [brief description]
Tech / domain signals:
- [detected]
Missing context the prompt assumes:
- [what the user didn't mention]
Do NOT dump file contents. Return the digest only.
Generate the improved prompt using the original prompt plus the gathered context.
Load references/claude-prompting-principles.md for the enrichment decision guide. Load references/prompt-patterns.md for use-case-specific examples.
Enrichment rules (non-negotiable):
claude-prompting-principles.md. No guesswork.Use-case-specific priorities:
Present using the Improved Prompt Block template from references/output-templates.md:
✦ Prompy [deep-dive] — improved prompt ready.
---[ PROMPY: IMPROVED PROMPT ]---
[Improved prompt text — verbatim, copy-pasteable]
---[ END PROMPY PROMPT ]---
---[ PROMPY: REPORT CARD ]---
BEFORE AFTER
Clarity [x/5] → [x/5]
Specificity [x/5] → [x/5]
Context [x/5] → [x/5]
Actionability [x/5] → [x/5]
Mode-fit [x/5] → [x/5]
Overall: [Grade] ([score]/100) → [Grade] ([score]/100)
What changed:
1. [Specific change] — [why per principles]
2. [Specific change] — [why per principles]
3. [Specific change] — [why per principles]
What this teaches you:
"[One transferable principle the user can apply to future prompts.]"
---[ END REPORT CARD ]---
Approve (enter / "yes") / Edit (type "edit [your changes]") / Use original (type "original")
Wait for the user's response:
Run the approved prompt as if the user submitted it directly. Do not prepend Prompy framing, headers, or score recaps to the response — Prompy's job is finished at the end of Phase 5.
| Scenario | Use |
|---|---|
| User types a vague prompt without invoking anything | Inline (hook) co-pilot or auto-pilot trace |
User types /prompy:prompy [prompt] or /prompy [prompt] | This deep-dive skill |
| User asks "give me the full report card" or "deep dive on this" | This deep-dive skill |
| User is already in the middle of an inline co-pilot exchange | Continue the inline flow, do not switch to deep-dive |
| Thought | Reject because |
|---|---|
| "The original prompt was fine" | Score it. If it's A, declare strong and stop. If not, the score shows why. |
| "This is just a simple request" | Simple requests benefit most from specificity. |
| "I'll add a little context" | Every addition must trace to a principle. No guesswork. |
| "The user probably means X" | Ask or derive from context. Never invent intent. |
| "I'll skip the report card to save time" | The report card is mandatory in deep-dive — it's how the user learns. |
references/scoring-rubric.mdclaude-prompting-principles.mdGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub navarroangelo/prompy --plugin prompy