CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

mermaid-diagram

Generate Mermaid diagrams from user requirements. Supports flowcharts, sequence diagrams, class diagrams, ER diagrams, Gantt charts, and 18 more diagram types.

60

Quality

76%

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

Fix and improve this skill with Tessl

tessl review fix ./skills/mermaid-diagram/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

77%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.

The body is a strongly actionable, well-sequenced workflow with genuine validation and feedback loops - actionability and workflow clarity are exemplary. Its weaknesses are redundancy (the Key Rules section duplicates the workflow steps) and the absence of progressive disclosure: reference-grade material (math/KaTeX rules, academic styling, architecture layout techniques) is inlined rather than split into bundle files.

Suggestions

Remove the 'Key Rules (MUST FOLLOW)' section (or reduce it to the 2-3 rules not already stated in the workflow) and the trailing duplicate 'User requirements: $ARGUMENTS' line, since they restate Steps 3-5 nearly verbatim.

Move the KaTeX math reference, the CVPR/ICLR/NeurIPS style guide, and the architecture junction techniques into separate reference files (e.g. references/math.md, references/academic-style.md, references/architecture.md) and link to them from the workflow, keeping SKILL.md as a lean overview.

Trim the 24-row diagram-type table to the most common types plus a pointer to the full list (or to context7/Mermaid docs), since Claude already knows standard Mermaid diagram types and their use cases.

DimensionReasoningScore

Conciseness

The workflow steps and verification commands are tight, but the 'Key Rules (MUST FOLLOW)' section restates Steps 3-5 almost verbatim ('ALWAYS save files to figures/', 'ALWAYS verify syntax', 'NEVER accept score < 9'), $ARGUMENTS appears twice, and the 24-row diagram-type table plus the Configuration & Themes list largely restate what Claude already knows about Mermaid.

3 / 5

Actionability

Fully executable throughout: exact mkdir/mmdc/npx bash commands with a fallback, concrete two-file output examples with a kebab-case naming convention, copy-paste KaTeX snippets, and a complete review-report template. Matches the anchor-5 'copy-paste ready' example.

5 / 5

Workflow Clarity

Steps 0-6 are explicitly sequenced with a mandatory mmdc validation checkpoint, a defined feedback loop (read error, fix both files, re-run up to MAX_ITERATIONS=3), an acceptance gate (score >= 9 with per-arrow and per-block checklists), and a final output summary - the exact validate -> fix -> retry pattern of the anchor-5 example.

5 / 5

Progressive Disclosure

No bundle files exist; everything is inlined in one 419-line file, including ~200 lines of KaTeX math reference, an academic style guide, and architecture junction techniques that clearly belong in separate reference files. Internal headers are well organized (above anchor 2), but content that should be separate is inline and no references exist at all, matching anchor 3.

3 / 5

Total

16

/

20

Passed

Description

66%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.

The description is specific and reasonably rich in natural trigger terms thanks to the explicit diagram-type enumeration, and the named Mermaid niche keeps conflict risk low. Its main flaw is the missing 'when to use' trigger clause, which caps completeness and leaves invocation guidance entirely implicit.

Suggestions

Add an explicit trigger clause, e.g. 'Use when the user asks for a diagram, flowchart, or visualization in Mermaid, or mentions Mermaid, .mmd files, or diagram-as-code.'

Mention the concrete deliverables (writes .mmd/.md/.png files to figures/ and verifies syntax with mmdc) to strengthen the 'what' side of the description.

Include common synonyms like 'diagram as code', 'visualize architecture', and '.mmd' alongside the enumerated diagram types to broaden natural trigger coverage.

DimensionReasoningScore

Specificity

'Generate Mermaid diagrams from user requirements. Supports flowcharts, sequence diagrams, class diagrams, ER diagrams, Gantt charts, and 18 more diagram types' lists several specific concrete capabilities via the type enumeration, with minor gaps (file output and PNG rendering go unmentioned). More concrete than anchor 3's '1-2 concrete actions', short of anchor 5's comprehensive action coverage.

4 / 5

Completeness

The 'what' is clear (generate Mermaid diagrams of the listed types), but there is no 'Use when...' clause or equivalent explicit trigger guidance, which the judging guidelines cap at 3.

3 / 5

Trigger Term Quality

'Mermaid diagrams', 'flowcharts', 'sequence diagrams', 'class diagrams', 'ER diagrams', 'Gantt charts' are natural terms users say when they need this skill, but common variations like 'chart', 'visualize', or '.mmd' are missing - good coverage with a few natural terms absent, matching anchor 4.

4 / 5

Distinctiveness Conflict Risk

Naming Mermaid gives a clear, mostly distinct niche, but the enumerated generic types ('Gantt charts', chart-like diagrams) overlap with general charting/dataviz skills where a user might not want Mermaid output - minor overlap risk, matching anchor 4 rather than anchor 5's minimal conflict risk.

4 / 5

Total

15

/

20

Passed

Validation

87%

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

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

allowed_tools_field

'allowed-tools' contains unusual tool name(s)

Warning

frontmatter_unknown_keys

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

Warning

Total

14

/

16

Passed

Repository

wanshuiyin/Auto-claude-code-research-in-sleep

Path

skills/mermaid-diagram/SKILL.md

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.