Content
85%Weight 40%Scale 1-5Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.
A tight, highly actionable workflow skill: exact commands, clone-kind-specific strategies with thresholds, explicit re-run validation, and clean deferral of tool reference to the sibling jscpd skill. The only real weakness is the pseudocode Before/After blocks, which cost both conciseness and actionability at the margins.
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | The body is dense with non-obvious, tool-specific guidance (flag combinations, token/similarity thresholds, triage heuristics) and wastes almost nothing on concepts Claude already knows. Not 5 because the placeholder Before/After comment blocks ("// Before: same block in two places") and a few very long sentences (workflow step 5) could be trimmed. | 4 / 5 |
Actionability | Copy-paste-ready commands ("npx jscpd --reporters ai --ignore-identifiers --min-tokens 70 <path>") and concrete named examples (computeCartTotal/computeBasketTotal, buildInvoice/buildCreditNote) with precise thresholds (0.8, 0.9, 10 lines) make the guidance highly executable. Not 5 because the strategy code blocks are illustrative comment pseudocode rather than executable examples, and that flexibility is not explicitly justified. | 4 / 5 |
Workflow Clarity | Nine explicitly sequenced steps include a concrete validation step ("Re-run jscpd with the same flags to confirm the clone is eliminated and the dup% ... went down", including the --ignore-identifiers re-check for renamed clones), an "Always ensure" checklist (all call sites updated, tests pass), and reporting of skipped candidates with reasons. Not 4 because validation checkpoints and the feedback loop are explicit, not implicit. | 5 / 5 |
Progressive Disclosure | Well-organized sections (Prerequisites, Workflow, Refactoring Strategies, Tips) with the full jscpd option reference deferred one level deep to the clearly signaled sibling skill ("See the [jscpd](../jscpd/SKILL.md) skill for full option reference"); no bundle files exist, and nothing in the body clearly belongs in one. Not 4 because the split between this skill's workflow and the jscpd skill's option reference is clean and easy to navigate. | 5 / 5 |
Total | 18 / 20 Passed |