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

64%

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

A well-structured, tersely written principles reference with genuine progressive disclosure (both referenced files exist, are one level deep, and are contextually signaled). Its weaknesses are that a substantial portion restates basics Claude already knows and that most guidance lacks the concrete examples that would make it directly actionable.

Suggestions

Trim or cut the sections that restate well-known basics — Performance ('Measure first: Profile before optimizing'), Error Handling ('Always handle errors', 'Fail fast'), and Code Organization ('Group related functionality') — keeping only the entries that add project-specific constraints.

Add one short concrete before/after example under the highest-value principles (e.g., a naming or exhaustiveness-branching mini-example) so the guidance is applicable without interpretation.

Move the `references/frontend.md` pointer next to a brief UI-relevant note in the body instead of a trailing References section, so the reference is discovered at the point of need.

DimensionReasoningScore

Conciseness

The body is written in terse bullets with no padded prose, and sections like 'Final State over Effort' and 'Reference Representativeness' carry non-obvious guidance — but large sections restate widely-known basics ("Measure first: Profile before optimizing", "Always handle errors", "Group related functionality: Keep related code together"). Not a 4 because the boilerplate portions could be trimmed or cut.

3 / 5

Actionability

Some directives are specific and directly applicable ("make every branch handle each value explicitly... by an exhaustiveness check where the language has one, otherwise by failing on an unhandled value"; "Mask or exclude passwords, tokens, PII from logs"), but much of the guidance stays at the principle level ("Keep code self-documenting where possible", "Fail fast") with no concrete examples. Not a 4 because, even for an instruction-only skill, the common cases lack illustrative before/after examples.

3 / 5

Workflow Clarity

This is a topical principles reference rather than a multi-step process; sections are coherently organized by concern (philosophy, functions, errors, comments, security), but there is no sequenced workflow and no validation checkpoints. The under-50-line simple-skill exception does not apply to this ~140-line multi-topic body, and no destructive/batch operations require validation caps.

3 / 5

Progressive Disclosure

The main body stays at overview level and points to two real, one-level-deep references that exist in the bundle: `references/security-checks.md` is signaled inline in the Security section and `references/frontend.md` carries an explicit read-when condition. Not a 5 because the frontend reference sits in a trailing References section rather than at a point of topical relevance, since the body has no UI-related section.

4 / 5

Total

13

/

20

Passed

Description

57%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 an explicit and well-formed 'Use when' trigger clause with natural keywords, but the 'what' is abstract — it names a domain and quality attributes rather than concrete actions. Its very broad triggers (any feature work, refactoring, or code review) create significant overlap risk with other coding skills.

Suggestions

Replace the abstract 'coding principles for maintainability, readability, and quality' with 2-3 concrete capabilities (e.g., 'Apply decision rules for code structure, naming, error handling, comments, and security defaults') so the 'what' names actions, not just attributes.

Narrow the trigger clause to reduce conflict with code-review and refactoring skills, e.g., 'Use when deciding how to structure, name, comment, or organize code being written or changed' rather than all implementing/refactoring/reviewing work.

Add common trigger synonyms such as 'clean code', 'code style', or 'code organization' so users phrasing the need differently still match.

DimensionReasoningScore

Specificity

The description names the domain ("Language-agnostic coding principles") and focus areas ("maintainability, readability, and quality") but lists no concrete actions, matching the anchor 'Names the domain but actions are minimal or generic'. It is not a 3 because it never states 1-2 concrete actions the skill performs — what the principles cover is generic rather than executable.

2 / 5

Completeness

Both parts are present: a 'what' ("Language-agnostic coding principles for maintainability, readability, and quality") and an explicit 'when' ("Use when implementing features, refactoring code, or reviewing code quality"). Not a 5 because the 'what' is abstract (no concrete capabilities), though the 'when' is explicit.

4 / 5

Trigger Term Quality

Includes natural phrases users would actually say: "refactoring code", "reviewing code quality", "implementing features". Not a 5 because common variations and synonyms such as "clean code", "code style", or "best practices" are missing.

4 / 5

Distinctiveness Conflict Risk

The triggers ("implementing features, refactoring code, or reviewing code quality") cover nearly all coding work, giving high overlap risk with code-review, refactoring, and language style-guide skills — matching 'Very broad; high overlap risk with many similar skills'. Not a 1 because the domain (cross-language maintainability principles) is itself a coherent niche.

2 / 5

Total

12

/

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