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

70%

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 ./skills/coding-principles/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

67%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 well-organized, largely actionable set of decision rules with genuine tailored content (Core Philosophy, Reference Representativeness) and a clean two-file reference structure. Its main weaknesses are duplicated or generic bullets that pad the token cost, and a body that is long relative to what an overview-plus-references split could achieve.

Suggestions

Deduplicate overlapping bullets: merge the two naming bullets (Readability), the two early-return bullets (Function Organization), and the repeated 'only after measurable bottlenecks' statements (Performance).

Delete or compress generic principles Claude already knows ("Separate concerns", "High cohesion within modules, low coupling between", "Use proper grammar and formatting") in favor of the skill's distinctive decision rules.

Consider moving the Security Principles section's detail into references/security-checks.md, keeping only the boundary rules inline, to reduce body length.

DimensionReasoningScore

Conciseness

Mostly dense, prescriptive rules, but there is noticeable duplication ("Use meaningful, descriptive names" vs "Use descriptive names", two early-return bullets, "measurable bottlenecks" stated twice in Performance) and generic advice Claude already knows ("Separate concerns", "Write for future maintainers", "Use proper grammar"). Not 4 because the duplication and padding are more than minor trimming.

3 / 5

Actionability

Much of the guidance is concrete conditional decision rules ("Group related positional parameters into an object... when call-site clarity or coordinated evolution requires it"; "make every branch handle each value explicitly"). Not 5 because several bullets remain vague platitudes ("Keep the codebase lean and focused", "Improve code structure incrementally").

4 / 5

Workflow Clarity

This is a principles skill, not a sequential workflow, and its condition-action rules are unambiguous with no destructive or batch operations (so no validation cap applies). Not 5 because the multi-step 'Reference Representativeness' procedure is only semi-sequenced with no explicit checkpoints or completion criteria ordering.

4 / 5

Progressive Disclosure

Both bundle files (references/frontend.md, references/security-checks.md) exist, are referenced one level deep, and are clearly signaled with usage triggers ("read when implementing, reviewing, or fixing user-facing UI code"). Not 5 because the ~140-line body is itself dense and monolithic; several sections (e.g., Security, Performance) could be split or trimmed the way frontend content was.

4 / 5

Total

15

/

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 a clear, explicit 'Use when' trigger clause with natural phrasing, but the capability statement is abstract and the trigger scope (any feature implementation) is extremely broad, creating significant conflict risk with other code-related skills. It reads more like a category label than a distinct, concretely-scoped skill.

Suggestions

State 2-3 concrete capabilities in the description (e.g., 'Apply decision rules for function extraction, parameter grouping, comment justification, and error propagation') instead of only naming quality attributes.

Narrow the trigger to distinguish the skill from generic coding work, e.g., 'Use when making structural or design decisions during implementation, refactoring, or code review' rather than 'implementing features'.

Add distinguishing trigger synonyms such as 'code review', 'clean code', or 'code quality' to reduce mis-triggers against dedicated review or style-guide skills.

DimensionReasoningScore

Specificity

The description names the domain ("coding principles for maintainability, readability, and quality") but lists no concrete actions or capabilities — the quality attributes are abstract, matching the anchor 'Names the domain but actions are minimal or generic'. It does not reach 3 because no specific actions (e.g., 'refactor functions', 'review error handling') are stated.

2 / 5

Completeness

Both parts are present: a 'what' ("Language-agnostic coding principles for...") and an explicit 'Use when...' clause with trigger phrases. Not 5 because the 'what' is abstract (quality attributes) rather than concretely answering what the skill does; not 3 because the 'when' is explicit, not weakly implied.

4 / 5

Trigger Term Quality

"Use when implementing features, refactoring code, or reviewing code quality" contains natural phrases a user would say. Not 5 because common synonyms like "code review", "clean code", or "best practices" are missing from the trigger coverage.

4 / 5

Distinctiveness Conflict Risk

"Language-agnostic" plus the trigger "implementing features" would fire on nearly all coding work, creating high overlap risk with style-guide, code-review, and security-review skills — matching 'Very broad; high overlap risk with many similar skills'. Not 3 because the conflict surface is many skills, not just closely related ones.

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

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.