CtrlK
BlogDocsLog inGet started
Tessl Logo

code-simplifier

Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Use when asked to "simplify code", "clean up code", "refactor for clarity", "improve readability", or review recently modified code for elegance. Focuses on project-specific best practices.

68

Quality

83%

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

The canonical home for this skill is code-simplifier in roman01la/skills-agents

SKILL.md
Quality
Evals
Security

Quality

Content

75%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, mostly lean instruction-and-example skill with copy-pasteable TypeScript before/after pairs and a clear refinement process. It loses points for mild redundancy across the principle sections, the absence of an explicit validate/feedback loop, and no runnable verification step.

Suggestions

Consolidate overlapping 'Enhance Clarity' and 'Maintain Balance' bullets (redundant code, unnecessary complexity, clarity over brevity appear in both) to reduce redundancy.

Turn the 'Verify' process step into an explicit feedback loop, e.g. 'Verify the refined code is simpler and behavior is unchanged; if behavior changed, revert and retry'.

Add at least one runnable check (e.g., run the project's test suite or typecheck before and after) so the simplification can be confirmed rather than only asserted.

DimensionReasoningScore

Conciseness

The body is mostly lean with illustrative before/after examples and no padding of concepts Claude already knows, but 'Refinement Principles' and 'Maintain Balance' restate overlapping guidance (e.g., 'Eliminating redundant code', 'Reduce unnecessary complexity', 'Choosing clarity over brevity') that could be trimmed.

4 / 5

Actionability

Provides concrete, executable TypeScript before/after examples (nested ternaries, chained methods, redundant abstraction) and a defined process, but lacks any runnable command or verification mechanism to actually confirm a simplification.

4 / 5

Workflow Clarity

A clear 6-step numbered sequence (Identify, Analyze, Apply, Ensure, Verify, Document) is present; 'Verify' is named but without an explicit feedback loop (if fail → fix → retry), leaving a minor validation gap.

4 / 5

Progressive Disclosure

Well-organized into logical sections (Principles, Process, Examples) with no nested references and no bundle files to misroute; falls short of 5 only because the principle bullet lists could be consolidated further.

4 / 5

Total

16

/

20

Passed

Description

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

A strong description: it states concrete capabilities, includes a rich set of natural trigger phrases, and explicitly covers both what the skill does and when to use it. Slightly abstract actions and some overlap with general refactor skills keep it just short of perfect on specificity and distinctiveness.

DimensionReasoningScore

Specificity

Lists several specific actions ('Simplifies and refines code for clarity, consistency, and maintainability', 'preserving all functionality') but the actions are qualities rather than discrete operations, leaving minor coverage gaps.

4 / 5

Completeness

Explicitly answers both 'what' (simplify/refine while preserving functionality) and 'when' (Use when asked to 'simplify code'...) with concrete trigger phrases.

5 / 5

Trigger Term Quality

Comprehensive natural-language triggers users would actually say — 'simplify code', 'clean up code', 'refactor for clarity', 'improve readability', plus synonym coverage — matching the top anchor.

5 / 5

Distinctiveness Conflict Risk

Mostly distinct niche (elegance/refactor-for-clarity) with clear triggers, but overlaps broadly with general editing and refactor skills, so minor conflict risk remains.

4 / 5

Total

18

/

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.

Validation15 / 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
administrakt0r/AI-Agents-Safe-Coding-Skills
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.