CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

coding-principles

These principles guide coding decisions around design, structure, readability, error handling, performance, comments, and security. They emphasize minimizing lasting complexity, following responsibility and contract boundaries, and making code changes easy to understand and maintain. The guidance also covers how to evaluate related code and consumers when making changes.

Quality

61%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

Fix and improve this skill with Tessl

tessl review fix ./dev-workflows-fullstack/skills/coding-principles/SKILL.md

The canonical home for this skill is coding-principles in shinpr/claude-code-workflows

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 a disciplined, opinionated principles document: conditional decision rules instead of platitudes in its strongest sections, and a clean two-file bundle with well-signaled one-level-deep references. Its weaknesses are internal redundancy, several sections that restate knowledge Claude already has, and the absence of any illustrative example that would make the abstract rules concrete. The frontend reference is properly gated but under-surfaced within the body.

Suggestions

Remove duplicate guidance: merge the two naming bullets and the two early-return bullets, and collapse the overlapping profiling advice in 'Optimization Approach' and 'When to Optimize' into one rule.

Cut or tighten generic principles Claude already knows (module cohesion/coupling, 'keep the codebase lean') in favor of the conditional decision rules that make the strongest sections distinctive.

Surface references/frontend.md contextually — e.g. a pointer in the Code Organization or error-ownership sections where UI decisions arise — instead of only the bottom References list.

DimensionReasoningScore

Conciseness

The body is dense and prescriptive with no explanations of basic concepts, but contains clear redundancy: duplicate naming bullets ('Use meaningful, descriptive names' vs 'Use descriptive names'), overlapping early-return guidance in consecutive bullets, and repeated profiling advice across 'Optimization Approach' and 'When to Optimize'. This is 'mostly efficient but includes some unnecessary explanation or could be tightened' rather than 4, where only minor trimming would be needed.

3 / 5

Actionability

Many rules are genuinely concrete and conditional (parameter grouping criteria, magic-number provenance, boundary validation scope, exhaustiveness checks), but others are generic platitudes Claude already knows ('High cohesion within modules, low coupling between', 'Keep the codebase lean and focused') and there are no illustrative examples. Anchor 3 fits: substantial concrete guidance but incomplete, with key sections remaining abstract.

3 / 5

Workflow Clarity

This is a reference/principles skill with no multi-step process to sequence; at 141 lines the under-50-line simple-skill exception does not apply. Topical sections are well-ordered and each principle carries its own conditions, but there is no workflow or checkpoint structure to reward — 'structure present but sequence/checkpoints not applicable and organization only implicit'.

3 / 5

Progressive Disclosure

Both bundle files exist and are referenced one level deep with explicit read conditions ('see references/security-checks.md' in the Security section; frontend.md with 'read when implementing, reviewing, or fixing user-facing UI code'). It falls short of 5 because frontend.md is signalled only in a bottom References list rather than at the points in the body where UI work is discussed, leaving a minor navigation gap.

4 / 5

Total

13

/

20

Passed

Description

50%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 has the right structure — an explicit what plus a 'Use when...' trigger clause — but its content is abstract. It names attributes rather than concrete capabilities, and its triggers are so broad that the skill would compete with nearly every other coding-related skill. Narrower trigger phrasing and one or two concrete capability statements would lift it substantially.

Suggestions

Replace abstract attributes ('maintainability, readability, and quality') with concrete capabilities, e.g. 'Apply decision rules for function extraction, parameter grouping, error handling, commenting, and security defaults.'

Narrow the trigger clause so it does not fire on all coding work — drop 'implementing features' or scope it (e.g. 'Use when refactoring, reviewing code quality, or making design trade-offs'), keeping 'refactoring code' and 'code review' which users actually say.

Add natural synonyms such as 'clean code' or 'best practices' so the description matches how users phrase quality-focused requests.

DimensionReasoningScore

Specificity

The description names the domain ('Language-agnostic coding principles') and quality attributes ('maintainability, readability, and quality') but lists no concrete actions or capabilities. It matches the anchor 'Names the domain but actions are minimal or generic' rather than 3, which requires 1-2 concrete actions.

2 / 5

Completeness

Both parts are explicit: the 'what' ('Language-agnostic coding principles for maintainability, readability, and quality') and an explicit 'Use when implementing features, refactoring code, or reviewing code quality' clause. It falls short of 5 because the 'what' states abstract attributes rather than concrete capabilities with trigger phrases.

4 / 5

Trigger Term Quality

'refactoring code' and 'reviewing code quality' are natural user phrases, but coverage is thin for a domain spanning all coding work — common variations like 'best practices', 'clean code', or 'code standards' are absent. This fits 'Some relevant keywords but missing common variations or synonyms' better than anchor 4's 'good keyword coverage'.

3 / 5

Distinctiveness Conflict Risk

'Use when implementing features' would trigger on virtually any coding request, and language-agnostic principles overlap with any style-guide, lint, or code-review skill. This is 'Very broad; high overlap risk with many similar skills' rather than 3, since the triggers are as broad as the whole coding domain.

2 / 5

Total

11

/

20

Passed

Validation

100%

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

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

shinpr/claude-code-workflows

Path

dev-workflows-fullstack/skills/coding-principles/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.