CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

c4-code

Expert C4 Code-level documentation specialist. Analyzes code directories to create comprehensive C4 code-level documentation including function signatures, arguments, dependencies, and code structure.

Quality

63%

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/c4-code/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

51%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 skill's structural templates and paradigm-specific Mermaid examples are genuinely useful and largely actionable, but it never defines an actual analysis workflow — how to go from a directory of code to the finished documentation is left entirely implicit. Generic boilerplate sections ('Instructions', 'Limitations') dilute an otherwise well-organized template, and there is a stray unclosed code fence at line 237 that breaks rendering.

Suggestions

Replace the generic 'Instructions' bullets with a concrete numbered workflow (e.g., 1. Enumerate files and identify the language/paradigm, 2. Extract function/class signatures and locations, 3. Map internal and external dependencies, 4. Select and render the diagram type from the table, 5. Verify every documented location resolves to a real file:line).

Add explicit validation checkpoints, such as confirming each 'Location: [file path:line number]' entry points to real code before finalizing the documentation.

Move the three full Mermaid example blocks into a references/ file (e.g., references/diagram-templates.md) and keep only one compact example plus the selection table inline, improving both conciseness and progressive disclosure; also fix the stray '```' fence at line 237.

DimensionReasoningScore

Conciseness

The Mermaid templates, diagram-selection table, and structural output formats earn their place, but the 'Instructions' section ('Apply relevant best practices and validate outcomes') and the boilerplate 'Limitations' section are generic padding Claude does not need.

3 / 5

Actionability

Provides concrete output templates ('functionName(param1: Type, param2: Type): ReturnType' with Location and Dependencies fields) and complete, adaptable Mermaid examples for the common paradigms; it falls short of 5 because the 'Instructions' section stays at the vague 'apply best practices' altitude.

4 / 5

Workflow Clarity

There is no sequenced process for analyzing a directory and producing documentation — the 'Instructions' are three vague bullets with no numbered steps, and validation appears only as the undefined phrase 'validate outcomes'. The section order implies a rough progression, placing this just above the 'steps missing' anchor.

2 / 5

Progressive Disclosure

A single ~240-line file with clear section headers, but no reference files at all; the three large Mermaid example blocks and the diagram-choice guidance are inline content that could be split into well-signaled one-level-deep references.

3 / 5

Total

12

/

20

Passed

Description

58%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 clearly states what the skill produces and carves out a specific C4 niche, but it completely lacks any 'when to use' trigger guidance and relies on generic keywords rather than natural user phrasings. Dropping the 'Expert specialist' framing in favor of a trigger clause would lift it substantially.

Suggestions

Add a 'Use when...' clause (e.g., 'Use when asked to document a code directory at the code level, or when the user mentions C4 code diagrams, function signatures, or code dependency maps') to fix the missing trigger guidance that caps completeness at 3.

Replace the 'Expert C4 Code-level documentation specialist' fluff with additional concrete actions or natural trigger terms (e.g., 'document this module', 'code-level C4 diagram') that users would actually say.

Mention common variations like 'function/method signatures' and 'call graphs' to broaden natural keyword coverage.

DimensionReasoningScore

Specificity

Lists several concrete deliverables ('function signatures, arguments, dependencies, and code structure') but opens with 'Expert... specialist' framing and 'comprehensive', which are mild fluff rather than additional concrete actions.

4 / 5

Completeness

The 'what' is clear (creates C4 code-level documentation with signatures and dependencies), but the description has no 'Use when...' clause or equivalent trigger guidance, which per the judging guidelines caps completeness at 3.

3 / 5

Trigger Term Quality

Contains relevant domain keywords ('C4 Code-level', 'code directories', 'function signatures', 'dependencies') but misses natural user phrasings like 'document this code' and any synonyms or file-type variations, fitting the 'relevant keywords but missing common variations' anchor.

3 / 5

Distinctiveness Conflict Risk

'C4 Code-level documentation' with code-specific outputs (function signatures, arguments) is a distinct niche; minor overlap risk exists only with the closely related sibling C4 skills (component, container, context).

4 / 5

Total

14

/

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

sickn33/agentic-awesome-skills

Path

skills/c4-code/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.