Analyzes and optimizes code for better performance, memory usage, and efficiency. Use when code is slow, memory-intensive, or inefficient. Supports Python and Java optimization including execution speed improvements, memory reduction, database query optimization, and I/O efficiency. Provides before/after examples with detailed explanations of why optimizations work, complexity analysis, and measurable performance improvements.
Install with Tessl CLI
npx tessl i github:ArabelaTso/Skills-4-SE --skill code-optimizer90
Does it follow best practices?
If you maintain this skill, you can automatically optimize it using the tessl CLI to improve its score:
npx tessl skill review --optimize ./path/to/skillValidation for skill structure
Discovery
92%Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.
This is a strong skill description that clearly articulates specific capabilities, includes natural trigger terms users would use, and explicitly states both what the skill does and when to use it. The only minor weakness is potential overlap with other code-related skills, though the optimization focus helps differentiate it.
| Dimension | Reasoning | Score |
|---|---|---|
Specificity | Lists multiple specific concrete actions: 'execution speed improvements, memory reduction, database query optimization, and I/O efficiency' along with deliverables like 'before/after examples with detailed explanations' and 'complexity analysis'. | 3 / 3 |
Completeness | Clearly answers both what ('Analyzes and optimizes code for better performance, memory usage, and efficiency') AND when ('Use when code is slow, memory-intensive, or inefficient') with explicit trigger conditions. | 3 / 3 |
Trigger Term Quality | Includes natural keywords users would say: 'slow', 'memory-intensive', 'inefficient', 'performance', 'Python', 'Java', 'database query optimization'. These are terms users naturally use when seeking optimization help. | 3 / 3 |
Distinctiveness Conflict Risk | While it specifies optimization focus and supported languages (Python, Java), it could potentially overlap with general code review or refactoring skills. The optimization niche is clear but 'code' is still somewhat broad. | 2 / 3 |
Total | 11 / 12 Passed |
Implementation
85%Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.
This is a strong, well-structured skill with excellent actionability and workflow clarity. The code examples are executable and the before/after format with complexity analysis is highly effective. Minor verbosity in introductory sections (Core Capabilities, Best Practices) could be trimmed, as Claude already understands these concepts.
Suggestions
Remove or significantly condense the 'Core Capabilities' section - Claude already knows what code optimization involves
Trim the 'Best Practices' section to only non-obvious guidance, or move it to a reference file
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | The skill is moderately efficient but includes some unnecessary explanation. The 'Core Capabilities' section lists things Claude already knows how to do, and some sections like 'Best Practices' contain generic advice. However, the code examples are lean and the structure avoids excessive verbosity. | 2 / 3 |
Actionability | Excellent actionability with fully executable code examples in both Python and Java. The before/after patterns are copy-paste ready, profiling commands are complete, and the optimization template provides a concrete structure for presenting optimizations. | 3 / 3 |
Workflow Clarity | Clear 4-step workflow (Identify → Categorize → Propose → Measure/Validate) with explicit validation checklist. The measurement techniques section provides concrete verification steps, and the 'Validation Checklist' ensures correctness is preserved after optimization. | 3 / 3 |
Progressive Disclosure | Well-structured with clear navigation. Main content provides essential patterns inline while appropriately referencing detailed materials (references/python_optimizations.md, references/java_optimizations.md, references/database_optimizations.md) for comprehensive coverage. Quick Reference table at the end aids discovery. | 3 / 3 |
Total | 11 / 12 Passed |
Validation
90%Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.
Validation — 10 / 11 Passed
Validation for skill structure
| Criteria | Description | Result |
|---|---|---|
skill_md_line_count | SKILL.md is long (542 lines); consider splitting into references/ and linking | Warning |
Total | 10 / 11 Passed | |
Table of Contents
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.