AGENT SKILL
jscpd
Run jscpd clone detection and produce actionable duplication findings before dry refactoring.
- License 许可
- MIT
- 最近更新
- 2026-07-20
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- jscpd
- description
- Run jscpd clone detection and produce actionable duplication findings before dry refactoring.
03 SKILL.md 正文
jscpd
Use this skill before dry-refactoring when you need to identify copy/paste
duplication in the codebase.
Workflow
- Run jscpd on the requested path.
- Start with strict defaults to reduce noise.
- If output is too noisy, increase minimum token/line thresholds.
- Summarize findings as prioritized clone groups.
- Hand off highest-impact clone groups to
dry-refactoring.
Recommended command patterns
npx jscpd@4.0.5 --reporters ai --min-lines 10 --min-tokens 80 <path>
For full-repo scan:
npx jscpd@4.0.5 -c jscpd.json .
04 同仓库更多 Skills
ui-ux-frontend
Frontend UX, accessibility, responsive layout, and Storybook interaction quality standards.
★ 0
testing-conventions
暂无简介
★ 0
tdd
暂无简介
★ 0
shadcn-ui
shadcn/ui component conventions and composition patterns
★ 0
sdd
暂无简介
★ 0
quality-gate
暂无简介
★ 0