用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/rafal-qa/slopo --skill slopo-analyze-ignore命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | slopo-analyze-ignore |
| description | Slopo reports similar code in the whole codebase, and agent ignores non-duplicates. |
| license | AGPL-3.0-or-later |
slopo agent-analyze --config-version=1The command should return a similar code report containing either:
If there are duplicates to analyze:
cluster N (hash):Similar code was detected using embedding models, so many results are likely similar by coincidence.
Your task is to take a quick look at each cluster and mark as ignored the ones containing code that is not a duplication worth taking action on. An ignored cluster contains duplication obviously not worth taking action on, or it's similar by coincidence. If justifying to keep or ignore takes more than a short phrase, it is not obvious.
For every ignored cluster, insert its hash to the ignore file. One hash per line. Inline comments are allowed, e.g., 78a8d42e60e8 # your short note
This work is a quick check, not deep analysis. Decide each cluster from a single look. The report size should not change how you judge one cluster. A report with a few tens of clusters is not a reason to dig deeper. A report with a few hundred is not a reason to rush.
Rules:
Process clusters in batches; don't load everything at once.