CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

clean-code

This skill embodies the principles of "Clean Code" by Robert C. Martin (Uncle Bob). Use it to transform "code that works" into "code that is clean."

Quality

57%

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

Quality

Content

53%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 well-organized and includes useful tailored guidance (repo-conventions caveat, concrete checklist, focused example), but most of it recites Clean Code principles Claude already knows rather than adding repo-specific deltas or actionable procedures. Tightening the heuristics and adding a concrete before/after application example would improve both conciseness and actionability.

Suggestions

Trim sections 1-9 to the heuristics that genuinely change Claude's default behavior (e.g. argument limits, comment policy) and cut textbook restatements Claude already knows.

Add a concrete before/after refactoring example (ugly snippet → clean snippet) demonstrating the full checklist applied, replacing the vague 'Small!' and 'shorter than you think' directives.

Sequence the workflow explicitly — e.g. 1) identify smells against the checklist, 2) refactor within scope, 3) run focused tests, 4) re-verify behavior — so validation checkpoints are ordered rather than implied.

DimensionReasoningScore

Conciseness

The body is well-formatted as tight bullets, but the bulk of sections 1-9 restates textbook Clean Code heuristics (small functions, meaningful names, Law of Demeter, TDD laws, don't return null) that Claude already knows, while the genuinely additive content — the repo-conventions caveat, the comment-vs-code example, and the checklist — is a smaller fraction. It fits 'mostly efficient but includes some unnecessary explanation or could be tightened' rather than 2, since there is no padded prose, and rather than 4, since large portions restate known concepts.

3 / 5

Actionability

Concrete elements exist ("Is this function smaller than 20 lines?", "Arguments: 0 is ideal, 1-2 is okay, 3+ requires a very strong justification", the isEligibleForFullBenefits() example), but several directives are vague ('Small! Functions should be shorter than you think') and there is no before/after refactoring example showing the skill applied. This sits between 'some concrete guidance but incomplete' and 'mostly executable guidance' — closer to 3 because vague aphorisms dilute the concrete checklist.

3 / 5

Workflow Clarity

The Implementation Checklist and the 'verify it with focused tests' instruction provide validation checkpoints, but there is no explicit sequence for applying the skill (identify smells → refactor within scope → verify behavior is only implied by the Example section). The checklist is an unordered question list rather than sequenced steps, matching 'steps listed but validation gaps; sequence present but checkpoints missing or implicit' rather than 4.

3 / 5

Progressive Disclosure

No bundle files exist and the single SKILL.md is organized into clearly headed, well-scanned sections with no buried or nested references, which is good structure. It falls short of 5 because at ~100 lines the detailed heuristics (sections 1-9) could arguably live in a reference file with the overview and checklist kept inline, and the file exceeds the under-50-line simple-skill threshold.

4 / 5

Total

13

/

20

Passed

Description

45%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 communicates an appealing philosophy (works → clean) and anchors it to a well-known book, but it functions more as a tagline than a skill description. It lacks concrete capabilities, explicit 'Use when...' triggers, and differentiating keywords that would let a user (or Claude) reliably select it over general code-quality skills.

Suggestions

Add an explicit trigger clause, e.g. 'Use when the user asks to refactor code, clean up code smells, improve naming or code quality, or review a PR against best practices.'

List 2-4 concrete capabilities (e.g. 'applies naming conventions, function sizing, error-handling and testing heuristics from Clean Code') to raise specificity and completeness.

Include natural synonyms such as 'refactor', 'code smells', 'code review', and 'best practices' so the skill matches the phrases users actually say.

DimensionReasoningScore

Specificity

The description names its domain ("Clean Code" by Robert C. Martin) but offers only a single abstract, metaphorical action — "transform 'code that works' into 'code that is clean'" — with no concrete capabilities like naming, refactoring, or review guidance listed. It fits 'names the domain but actions are minimal or generic' rather than score 1 (which would lack any domain naming) or score 3 (which requires 1-2 concrete actions).

2 / 5

Completeness

The 'what' is present but abstract ("embodies the principles of Clean Code"), and the 'when' is only weakly implied through a circular 'Use it to transform...' clause with no explicit 'Use when...' trigger guidance, which caps completeness at 3 per the judging guidelines. It is not 4 because the 'when' is neither explicit nor specific, and not 2 because a recognizable 'what' plus an implied usage clause exists.

3 / 5

Trigger Term Quality

"Clean Code" is a natural phrase users would say, and "code that works" / "code that is clean" add mild variation, but common natural terms like refactor, code smells, code review, or best practices are absent. This matches 'some relevant keywords but missing common variations or synonyms' rather than 4, which requires good keyword coverage.

3 / 5

Distinctiveness Conflict Risk

"Clean Code" and the Uncle Bob attribution give the skill a recognizable identity, but the description would plausibly trigger for almost any code-quality, refactoring, or PR-review request, overlapping heavily with generic code-review and refactoring skills. This fits 'somewhat specific but could still overlap with similar skills' rather than 4, which requires mostly distinct triggers.

3 / 5

Total

11

/

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/clean-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.