CtrlK
BlogDocsLog inGet started
Tessl Logo

diagram-generation

Generate self-contained HTML architecture diagrams. Use when creating visual diagrams for PRs, task plans, or architectural explanations.

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 ./.agents/skills/diagram-generation/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

65%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 model of conciseness with a precise output contract and genuinely useful gotchas, but it is hollowed out by two dangling references: the entire generation procedure lives in style-guide.md and template.md, neither of which is present in the skill's bundle. As shipped, the skill tells Claude exactly where to put the file but not how to build it.

Suggestions

Ship the referenced bundle: create references/style-guide.md and references/template.md (or inline a minimal HTML skeleton in SKILL.md) so the 'How to Generate' step is executable.

Inline the critical values the gotchas depend on — the current html2canvas SRI hash and the toBlob null-check pattern — instead of deferring them to the missing template.md.

Add a verification checkpoint after generation, e.g. screenshot the rendered HTML with Playwright (using an absolute path) and confirm the diagram is not truncated before reporting completion.

DimensionReasoningScore

Conciseness

The body is lean and assumes competence: no space is spent explaining what HTML, SRI, or Playwright are — every section (Output, Required Sections, Section Selection, Gotchas) delivers non-obvious, project-specific information. It matches the anchor 'Lean and efficient; assumes Claude's intelligence; every token earns its place'; anchor 4 would require some over-explanation that could be trimmed, and none is evident.

5 / 5

Actionability

The output specification is fully concrete ("{MAIN_REPO_ROOT}/diagrams/opik-{TICKET_NUMBER}-diagram.html" with git rev-parse resolution, copy-as-image button, max-4-sections rule), but the core executable content is delegated to "Follow the style guide in style-guide.md and use the HTML template in template.md" — and neither file exists in the bundle. The template, the SRI hash, and the toBlob copy script are all unavailable, so the skill cannot actually be executed from what ships. This lands at anchor 3 ('Some concrete guidance but incomplete; missing key details') — anchor 4 requires mostly executable guidance, which the dangling references break.

3 / 5

Workflow Clarity

The flow (pick sections by change type -> follow style guide/template -> emit file at fixed path) is sequenced and the Section Selection mapping is a useful decision guide, but the critical step 'How to Generate' points to the missing files, and there is no validation checkpoint (e.g. open the HTML, screenshot it, verify the diagram is not truncated). This matches anchor 3 ('Steps listed but validation gaps; sequence present but checkpoints missing or implicit') rather than 4, whose sequence must be executable end-to-end with at most minor gaps.

3 / 5

Progressive Disclosure

The in-file structure is good — a dedicated 'Reference Files' section with one-line descriptions of each reference, links one level deep, no nested references. However, per the actual bundle listing, style-guide.md and template.md do not exist in references/ (the directory is absent), so navigation to the detailed material fails. A well-signaled pointer to a nonexistent file is a broken structure, not the anchor-5 'Clear overview with well-signaled one-level-deep references'; anchor 4's 'minor organization gaps' understates a fully missing bundle, so it sits at 3.

3 / 5

Total

14

/

20

Passed

Description

78%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 concise, answers both what and when explicitly with a clear 'Use when' trigger clause, and carves out a recognizable niche. Its main limitation is thin capability coverage — a single action verb where the skill actually delivers several distinct diagram types.

Suggestions

Enumerate the concrete diagram capabilities in the description, e.g. 'Generate self-contained HTML architecture diagrams — data flow, before/after comparisons, and file-by-layer views. Use when...'

Add one or two natural trigger synonyms users would say, such as 'visualize the architecture' or 'diagram this change'.

DimensionReasoningScore

Specificity

"Generate self-contained HTML architecture diagrams" names the domain and exactly one concrete action (generate diagrams); there is no enumeration of what the diagrams cover (data flows, before/after comparisons, file-by-layer grids) which the body shows are core capabilities. This matches the anchor 'Names domain and 1-2 concrete actions, but not comprehensive' — anchor 4 requires several listed actions, which the description does not provide.

3 / 5

Completeness

The 'what' is explicit ("Generate self-contained HTML architecture diagrams") and the 'when' is an explicit trigger clause with concrete phrases ("Use when creating visual diagrams for PRs, task plans, or architectural explanations"). This mirrors the anchor-5 example structure almost exactly; anchor 4 would require the 'when' to be weaker or less specific than it is.

5 / 5

Trigger Term Quality

Trigger phrases "visual diagrams", "PRs", "task plans", and "architectural explanations" are natural things a user would say when they need this skill. Common variations like "diagram this change", "visualize the architecture", or "before/after comparison" are missing, so it falls at anchor 4 ('Good keyword coverage; a few natural terms missing') rather than 5's comprehensive synonym coverage.

4 / 5

Distinctiveness Conflict Risk

The niche (self-contained HTML diagrams of code architecture for PRs/task plans) is distinct from document- or data-processing skills, with dedicated trigger terms. There is minor overlap risk with general chart/dataviz skills, which keeps it at anchor 4 ('Mostly distinct; minor overlap risk with closely related skills') rather than 5.

4 / 5

Total

16

/

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

relative_links

Relative link issues: 2 missing

Warning

Total

15

/

16

Passed

Repository
comet-ml/opik
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.