CtrlK
BlogDocsLog inGet started
Tessl Logo

prp-diagram

Generate a mermaid-only visual supplement for a plan artifact - the data-model, architecture, and flow diagrams a human wants when absorbing a plan. Use when the user wants to "diagram this plan", "visualize the plan", "draw the plan's architecture", "make diagrams for this plan", or invokes /prp-diagram.

74

Quality

93%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

The canonical home for this skill is prp-diagram in Wirasm/prp

SKILL.md
Quality
Evals
Security

Quality

Content

93%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

An exceptionally lean, fully executable skill body: a canonical bash resolver, precise output-path and content-format rules, and a concrete diagram-selection table. The only gap is the absence of an explicit validate-then-fix checkpoint for mermaid syntax, which keeps workflow clarity just below the top anchor.

Suggestions

Add an explicit validation checkpoint to the workflow, e.g. re-render or lint each mermaid fence before writing the output file, and fix-and-retry on syntax errors — currently 'Mermaid syntax must be valid' is a directive with no check step.

Specify how to handle a missing or unreadable plan path (e.g. error out with the resolved store location) so the store-resolution step has a failure branch.

DimensionReasoningScore

Conciseness

The body is lean and directive ('One agent, one pass, no subagents... Nothing else.'); every section instructs rather than explains, and the inline bash resolver is explicitly justified as canonical ('keep byte-identical across skills'). No concept explanations Claude already knows.

5 / 5

Actionability

Fully executable guidance throughout: a copy-paste-ready bash store resolver, exact output-path derivation rules, an exact output format policy ('A single title line... one bold caption line, then one mermaid fence'), a plan-content-to-diagram-type mapping table, and concrete syntax rules ('quote labels containing special characters (A["label (with) specials"])', '~40 nodes max — split into two diagrams').

5 / 5

Workflow Clarity

The sequence (resolve store, read the plan, choose diagrams, write output, report) is clear and ordered, but there is no explicit validation checkpoint for mermaid validity — 'Mermaid syntax must be valid' is a directive rather than a check step. Not capped at 3 because the skill writes a derived artifact whose overwrite is explicitly justified ('the plan is the source of truth'), so it is neither destructive nor batch.

4 / 5

Progressive Disclosure

A self-contained, well-sectioned single file with no external references and nothing inlined that belongs in a separate file; no references/, scripts/, or assets/ bundle exists. This meets the simple-skill exception — organization alone earns the top score when no split is needed.

5 / 5

Total

19

/

20

Passed

Description

91%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: third-person voice, explicit 'Use when...' triggers with multiple natural phrasings, and a clearly scoped, concrete capability statement. The only soft spots are reliance on a single action verb and slight overlap risk with generic diagramming skills.

DimensionReasoningScore

Specificity

The description names a concrete deliverable set ('data-model, architecture, and flow diagrams') with a hard format constraint ('mermaid-only visual supplement for a plan artifact'), but relies on a single action verb (generate), leaving minor coverage gaps versus the comprehensive multi-action anchor at 5.

4 / 5

Completeness

It explicitly answers both questions: 'what' (a mermaid-only visual supplement containing data-model, architecture, and flow diagrams for a plan) and 'when' (an explicit 'Use when...' clause with concrete quoted trigger phrases), matching the top anchor.

5 / 5

Trigger Term Quality

Four quoted natural user phrasings ('diagram this plan', 'visualize the plan', 'draw the plan's architecture', 'make diagrams for this plan') plus the slash-command invocation give comprehensive natural-term coverage for this domain; no common variation a user would say is missing.

5 / 5

Distinctiveness Conflict Risk

The 'plan artifact' scoping and the /prp-diagram invocation carve a distinct niche, but generic diagram requests ('draw the plan's architecture') present minor overlap risk with general diagramming or visualization skills, fitting 'mostly distinct; minor overlap' rather than minimal conflict.

4 / 5

Total

18

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

15

/

16

Passed

Repository
Wirasm/prp
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.