Use when you need to refactor Java code based on profiling analysis findings — including reviewing docs/profiling-problem-analysis and docs/profiling-solutions, identifying specific performance bottlenecks, and implementing targeted code changes to address CPU, memory, or threading issues. Part of the skills-for-java project
83
78%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./skills/163-java-profiling-refactor/SKILL.mdQuality
Discovery
100%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 well-crafted skill description that clearly defines its scope around Java performance refactoring based on profiling analysis. It provides explicit trigger conditions, specific actions, and references to relevant documentation. The description successfully distinguishes itself from general Java or refactoring skills through its profiling-specific focus.
| Dimension | Reasoning | Score |
|---|---|---|
Specificity | Lists multiple specific concrete actions: 'reviewing docs/profiling-problem-analysis and docs/profiling-solutions', 'identifying specific performance bottlenecks', and 'implementing targeted code changes to address CPU, memory, or threading issues'. | 3 / 3 |
Completeness | Explicitly answers both what (refactor Java code, review profiling docs, identify bottlenecks, implement code changes) and when ('Use when you need to refactor Java code based on profiling analysis findings'). | 3 / 3 |
Trigger Term Quality | Includes natural keywords users would say: 'refactor Java code', 'profiling', 'performance bottlenecks', 'CPU', 'memory', 'threading issues'. These are terms developers naturally use when discussing performance optimization. | 3 / 3 |
Distinctiveness Conflict Risk | Clear niche combining Java + profiling + refactoring with specific document references (docs/profiling-problem-analysis, docs/profiling-solutions). Unlikely to conflict with general Java or general refactoring skills due to the profiling-specific focus. | 3 / 3 |
Total | 12 / 12 Passed |
Implementation
57%Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.
This skill provides a reasonable overview of the refactoring workflow with appropriate progressive disclosure to a reference document. However, it lacks concrete code examples showing actual refactoring patterns and could benefit from a more explicit numbered workflow with clearer validation checkpoints. The content assumes the reference document contains the actionable details, which is appropriate but leaves the main skill somewhat thin on executable guidance.
Suggestions
Add 1-2 concrete code examples showing common refactoring patterns (e.g., fixing a CPU hotspot or memory leak) to improve actionability
Convert the implicit workflow into explicit numbered steps with clear validation checkpoints: 1. Read analysis docs → 2. Identify specific bottleneck → 3. Apply fix → 4. Run verify → 5. If fail, fix and re-verify
Remove redundancy between the opening paragraph and 'What is covered' section to improve conciseness
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | The content is reasonably efficient but includes some redundancy - the 'What is covered' section largely repeats the opening paragraph, and some phrasing could be tightened. | 2 / 3 |
Actionability | Provides concrete commands (./mvnw clean verify) and file paths to review, but lacks executable code examples for actual refactoring patterns. The guidance is more procedural than demonstrative. | 2 / 3 |
Workflow Clarity | Steps are implied (review docs → identify bottlenecks → refactor → verify) but not explicitly sequenced with numbered steps. Validation is mentioned but the feedback loop for test failures is minimal ('fix issues before proceeding'). | 2 / 3 |
Progressive Disclosure | Appropriately structured as an overview with a clear one-level-deep reference to detailed guidance in references/163-java-profiling-refactor.md. Navigation is well-signaled. | 3 / 3 |
Total | 9 / 12 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 — 11 / 11 Passed
Validation for skill structure
No warnings or errors.
7772a1b
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.