CtrlK
BlogDocsLog inGet started
Tessl Logo

coding-principles

Language-agnostic coding principles for maintainability, readability, and quality. Use when implementing features, refactoring code, or reviewing code quality.

61

Quality

77%

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/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-structured principles reference with genuinely actionable decision rules (especially the IF/THEN reference-verification and security sections) and a properly signaled one-level reference to security-checks.md. The main quality drag is redundancy — several bullets restate the same rule two or three times, inflating token cost without adding guidance — plus a lack of illustrative examples for the more abstract principles.

Suggestions

Deduplicate the repeated bullets: merge the two naming bullets in Readability, the two early-return bullets in Function Organization, the three 'When to Optimize' bullets into one, and the overlapping extract-a-function rules in Single Responsibility.

Add one short good/bad code illustration for the most abstract principles (single responsibility, naming) so the guidance is concrete rather than directive-only.

Consider moving the commenting and performance sections (or the security defaults list) into a reference file like security-checks.md to shorten the always-loaded SKILL.md body.

DimensionReasoningScore

Conciseness

The body is dense with judgment-oriented rules rather than basics Claude already knows, but it contains multiple near-duplicate bullet pairs: "Use meaningful, descriptive names" vs "Use descriptive names", "Use early returns to reduce nesting" vs the next bullet repeating it, and three separate bullets in 'When to Optimize' restating "only after measurable bottlenecks are identified". Mostly efficient but clearly could be tightened by deduplication.

3 / 5

Actionability

For an instruction-only skill, the guidance is largely concrete and executable: "Mask or exclude passwords, tokens, PII from logs", "Extract magic numbers and strings into named constants", "Inject external dependencies as parameters", plus explicit IF/THEN decision rules in 'Verifying References Before Adoption'. Not a 5 because many core bullets remain abstract directives ("Each function should do one thing well", "Keep the codebase lean and focused") with no illustrative good/bad examples.

4 / 5

Workflow Clarity

This is a principles reference with no multi-step process to sequence, and no destructive or batch operations that would require validation checkpoints, so the cap does not apply. Sections are well-organized by topic with a consistent rule format, making application unambiguous in most areas. Not a 5 because some sections interleave overlapping rules (readability, function design, refactoring triggers repeat each other) without a clear precedence for which rule governs a given decision.

4 / 5

Progressive Disclosure

The bundle reference is real (references/security-checks.md exists), one level deep, and clearly signaled at the end of the Security Principles section ("For concrete detection patterns used by security review, see references/security-checks.md") — a good split of concrete detection patterns out of the overview. Not a 5 because the ~170-line body inlines several large sections (commenting principles, performance, error handling) that could arguably live in references, and only one reference file exists.

4 / 5

Total

15

/

20

Passed

Description

75%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 is concise, third-person, and cleanly separates what the skill is from when to use it, with a solid explicit 'Use when' clause. Its weaknesses are the absence of any concrete action verbs (pure topic framing) and overly broad triggers ('implementing features') that create overlap risk with general coding and code-review skills.

Suggestions

Replace the abstract topic framing with concrete actions, e.g. "Applies coding principles for maintainability, readability, and quality (naming, function design, error handling, security defaults)" so the capability list reads as specific coverage rather than a domain label.

Narrow the trigger clause to reduce overlap: "Use when refactoring, reviewing code quality, or making design/cleanliness decisions" rather than the catch-all "implementing features".

Add natural synonyms users would say (clean code, code smells, best practices, code standards) to the when-clause to improve trigger term coverage.

DimensionReasoningScore

Specificity

"Language-agnostic coding principles for maintainability, readability, and quality" names the domain and its quality attributes but lists no concrete actions (no equivalent of "extracts text, fills forms"). Not a 2 because the three named attributes (maintainability, readability, quality) do convey concrete scope; not a 4 because no specific actionable verbs are enumerated.

3 / 5

Completeness

Explicitly answers both: the "what" ("Language-agnostic coding principles for maintainability, readability, and quality") and the "when" with three concrete trigger phrases (implementing features, refactoring code, reviewing code quality). Third-person voice is used correctly.

5 / 5

Trigger Term Quality

"Use when implementing features, refactoring code, or reviewing code quality" provides good natural trigger phrases users would actually say. Not a 5 because common variations like "clean code", "code smells", "best practices", or "code standards" are missing.

4 / 5

Distinctiveness Conflict Risk

"implementing features" is an extremely broad trigger that overlaps with virtually any development skill, and "reviewing code quality" overlaps with code-review skills. Not a 2 because the framing as a principles/standards reference (rather than a task executor) carves out a somewhat distinct niche with refactoring and code-quality triggers.

3 / 5

Total

15

/

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