AGENT SKILL

prompt-coach

Use when the user asks "rate my prompt" / "evaluate my prompt(s)" / "how am I prompting?" / "give me prompt feedback" / "score my last prompt" / "4Ds analysis" / "prompt retrospective". Also use when the user asks for an end-of-session review of their work-with-Claude habits, OR after a session involving 20+ turns where the user explicitly wants improvement signal. NEVER fire unsolicited: prompt critique without consent is unwelcome.

License 许可
MIT
最近更新
2026-11-14
Stars
★ 1
Forks
0

01 前言 Front Matter

name
prompt-coach
description
Use when the user asks "rate my prompt" / "evaluate my prompt(s)" / "how am I prompting?" / "give me prompt feedback" / "score my last prompt" / "4Ds analysis" / "prompt retrospective". Also use when the user asks for an end-of-session review of their work-with-Claude habits, OR after a session involving 20+ turns where the user explicitly wants improvement signal. NEVER fire unsolicited: prompt critique without consent is unwelcome.

02 资源文件 1

03 SKILL.md 正文

Prompt Coach: score prompts on the 4Ds framework

This skill scores the user's prompts on four dimensions, identifies the weakest, and proposes a rewrite. The goal is to make the user a more efficient operator over time. Not to lecture.

Sibling skills:

  • skill-opportunity-finder: surfaces repetition patterns to skillify.
  • prompt-coach (this one): retrospective scoring with concrete rewrites.

The 4Ds framework

Letter What it measures
Delegation Trust in the assistant to choose how, not just what.
Description Clarity of subject + scope + expected output.
Discernment Quality of feedback on the assistant's output: pushing back, validating, catching mistakes.
Diligence Follow-through across turns: reminders, verification, applying new conventions retroactively.

Each scored 1–5 against the anchors table below.

Procedure

Mode A: single prompt

When the user pastes / quotes one prompt and asks "rate this":

  1. Read the prompt + the ~3 turns of session context around it.
  2. Score each D from 1 to 5. Justify each with the specific cue in the prompt (or its absence). Diligence is cross-turn by definition: in Mode A score it only when the prompt itself follows up on an earlier commitment; otherwise N/A.
  3. Identify the weakest D and explain it in one sentence.
  4. Propose one rewrite of the prompt that fixes that weakest dimension without inflating word count by more than ~30%: the one length bound for every rewrite this skill produces.
  5. Stop. Don't lecture.

Output template:

## Prompt evaluation

> <quoted prompt>

| D | Score | Why |
|---|---|---|
| Delegation | X/5 | <cue> |
| Description | X/5 | <cue> |
| Discernment | X/5 | <cue or N/A. Not applicable in this turn> |
| Diligence | X/5 | <cue or N/A> |

**Weakest dimension**: <D>. <one-sentence diagnosis>

**Rewrite**:
> <better version, same intent, fixed weakest D>

Mode B: session retrospective

When the user asks for an end-of-session or multi-prompt review:

  1. Sample up to 8 prompts, evenly spaced by turn index across the session with the first and last 3 turns excluded (noisy setup/wrap-up). If the exclusion leaves fewer than 8, take all that remain; fewer than 3 → say the session is too thin for Mode B and offer Mode A on a prompt of the user's choice.
  2. Score each prompt on 4D (or skip a D if not applicable to that prompt).
  3. Compute the average per D, and a session total over the dimensions that actually scored (X / 5×<scored Ds>: a session where a D was always N/A totals out of 15, not 20). Trend per D: compare its average over the first half of sampled prompts to the second half: ↑ / ↓ when they differ by ≥ 0.5, stable otherwise.
  4. Identify the single weakest pattern (which D is consistently low across prompts).
  5. Pick one concrete past prompt as the case study: show the original and a rewrite.
  6. If the pattern suggests automation, propose one new skill (defer to skill-opportunity-finder for the full proposal: just name it + one-line rationale here). Where skill-opportunity-finder is not installed, the kebab-name + one-line rationale is the whole deliverable: drop the template's pointer line and note the companion skill is optional.

Output template:

## Session retrospective: 4Ds

Sampled <n> prompts.

| D | Average | Trend | Comment |
|---|---|---|---|
| Delegation | X.X | ↑ stable ↓ | <pattern across the session> |
| Description | X.X | ↑ stable ↓ | <pattern> |
| Discernment | X.X | ↑ stable ↓ | <pattern> |
| Diligence | X.X | ↑ stable ↓ | <pattern> |

**Session total**: X.X / <max over scored dimensions>

**Weakest pattern**: <D>. <2-sentence diagnosis>

**Case study (turn N)**:
> <original>

Rewrite:
> <improved>

**Skill opportunity**: `<kebab-name>`, <one-line rationale> _(see `skill-opportunity-finder` for the full SKILL.md draft if you want it)_

1–5 anchors per dimension

D 1 3 5
Delegation Every flag / option / step spelled out: assistant treated as typewriter. Picks the goal, leaves micro-decisions. States outcome + stop-condition; assistant picks tools and trade-offs.
Description One verb, no subject, no scope ("Fix it"). Verb + subject ("Fix the PR description"). Verb + subject + scope + expected output + stop-condition.
Discernment* Silent acceptance of wrong output. Points out one issue. Points out the issue, asks for root cause, adds a rule to prevent recurrence.
Diligence† Drops follow-ups; misses skipped steps. Returns to unfinished items eventually. Tracks open commitments, applies new conventions retroactively, verifies before closing.

*Discernment is only scored when the prompt REPLIES to assistant output. †Diligence needs cross-turn evidence: in Mode A that exists only when the prompt itself follows up on an earlier commitment; otherwise N/A.

If a D can't logically apply (e.g. first-turn prompt can't show Discernment) → write N/A and exclude from the average.

When to STOP

  • The user asks for evaluation of someone ELSE's prompt: defer; this skill is about the current operator's habits.
  • The user is in the middle of a high-stakes operation (active incident, mid-merge). Defer with one line: "I'll run the retro after the operation lands."
  • The user asks for the same evaluation a second time within the same hour: they're stalling; suggest concrete next action instead.

Anti-patterns to avoid

  • Don't moralize. The 4Ds are diagnostic, not judgmental.
  • Don't bring up old prompts the user didn't ask about, in Mode A. Mode B is the only place for cross-prompt patterns.

04 同仓库更多 Skills