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.

82

1.18x
Quality

76%

Does it follow best practices?

Impact

90%

1.18x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./skills/code-simplifier/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

57%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 well-structured with concrete executable examples and a clear process, but it repeats guidance Claude already knows, lacks explicit validation checkpoints for a behavior-critical refactor task, and keeps all content in one file.

Suggestions

Add a concrete validation checkpoint to the Refinement Process (e.g., 'Run the test suite and confirm it passes before and after refactoring') with a fix-and-retry feedback loop.

Tighten the Refinement Principles by removing obvious restatements (nested ternaries and clarity-over-brevity each appear multiple times) and concepts Claude already knows.

Move the detailed coding-standards list and the before/after examples into reference files (e.g., STANDARDS.md, EXAMPLES.md) referenced one level deep from SKILL.md to improve progressive disclosure.

DimensionReasoningScore

Conciseness

Mostly efficient but includes some unnecessary explanation Claude already knows (e.g., 'Never change what the code does - only how it does it') and repeats the nested-ternary / clarity-over-brevity point across principles 3, 4, and the examples.

3 / 5

Actionability

Provides several complete, executable TypeScript before/after examples covering nested ternaries, dense chains, and redundant abstractions, with only minor coverage gaps.

4 / 5

Workflow Clarity

The 6-step Refinement Process is clearly sequenced, but verification steps ('Ensure all functionality remains unchanged', 'Verify') are implicit with no concrete validation mechanism or feedback loop, which caps a behavior-preserving refactor skill at 3.

3 / 5

Progressive Disclosure

Well-organized into sections, but the file is monolithic (over 50 lines) with no external references; detailed standards and examples that could live in separate files are inlined.

3 / 5

Total

13

/

20

Passed

Description

96%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 well-crafted: third-person voice, explicit what-and-when structure, and rich natural trigger phrases. Minor room to sharpen the 'what' into more discrete actions and reduce overlap with generic refactoring skills.

DimensionReasoningScore

Specificity

Lists several concrete actions ('Simplifies and refines code', 'preserving all functionality') across clarity, consistency, and maintainability, though the actions are somewhat abstract qualities rather than discrete operations.

4 / 5

Completeness

Explicitly answers both what ('Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality') and when (concrete 'Use when...' trigger clauses).

5 / 5

Trigger Term Quality

Comprehensive natural trigger phrases including synonyms users actually say: "simplify code", "clean up code", "refactor for clarity", "improve readability", plus 'review recently modified code for elegance'.

5 / 5

Distinctiveness Conflict Risk

Clear simplification/refinement niche with specific triggers, but terms like 'clean up code' and 'refactor' carry minor overlap risk with general code-review or refactoring skills.

4 / 5

Total

18

/

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.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
roman01la/skills-agents
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.