millionco/react-doctor · find-similar-functions · SKILL.md
查找相似函数
使用truffler在实现新代码前查找相似或已存在的JavaScript/TypeScript符号,尤其是辅助函数、工具、解析器、格式化器、扫描器、模糊匹配器及其他可复用函数。当代理即将在JS/TS仓库中添加或重构功能,且需要避免重复现有代码时,应使用此技能,即使未明确提及去重。
这是公开 Agent Skill 的中文说明,由采集翻译或编辑润色,完整内容以上游 SKILL.md 为准。适用于 Cursor / Claude Code / Codex / Gemini。 打开上游 SKILL.md
安装
通用(npx skills)
npx skills add millionco/react-doctor -s find-similar-functions
Cursor
把该 Skill 复制到项目的 .cursor/skills/find-similar-functions/ 目录
Claude Code
npx skills add millionco/react-doctor -a claude-code -s find-similar-functions