review-duplication
Skill8.3k starsChanged 5 days agoMITView on GitHub
在 Kimi Code 实现前查找可复用的接口,在提 PR 前自查或评审 PR 时识别重复实现。
3 other projects use a version of this.
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Most recently taken up by
- Lukk17/agent-standardstheir own version, first seen Nov 24, 2026
- delorenj/skillstheir own version, first seen Nov 7, 2026
- google-gemini/gemini-clitheir own version, first seen Oct 13, 2026
Who's talking about MoonshotAI/kimi-code
- @ds-nana.bsky.social“Kimi Code CLI — The Starting Point for Next-Gen Agents github.com/MoonshotAI/k...”Bluesky · Jul 20, 2026 · 4 likes
- @alexiskirke.bsky.social“I came across this fascinating GitHub project on AI-powered terminal coding: edit code, run commands, and …”Bluesky · Jul 24, 2026 · 3 likes
- agentclientprotocol/registry“Add kimi-code to registry (successor to kimi-cli)”GitHub · Jul 30, 2026 · 2 reactions
- steipete/CodexBar“Improve Kimi Code usage reporting”GitHub · Jun 26, 2026 · 2 reactions
- Emanuele-web04/synara“Feature Request: Add Kimi Code support”GitHub · Jun 2, 2026 · 2 reactions
The biggest 5 of 53 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 53
Talked about on GitHub and Bluesky (53 times).
On GitHub · 50
- Jul 30, 2026Add kimi-code to registry (successor to kimi-cli) — agentclientprotocol/registry2 reactions · 1 comment
- Jun 26, 2026Improve Kimi Code usage reporting — steipete/CodexBar2 reactions · 6 comments
- Jun 2, 2026Feature Request: Add Kimi Code support — Emanuele-web04/synara2 reactions · 2 comments
- Nov 26, 2026Sync upstream (hourly): kimi-code 2.8.1-1 — omacom/omarchy-pkgs1 reaction · 2 comments
- Oct 29, 2026fix(agents): use Kimi --auto for Full access — stablyai/orca1 reaction · 9 comments
45 more on GitHub
- Aug 17, 2026Our /tower mode (inspired by your design) is now live — HUA-Labs/tap1 reaction · 1 comment
- Aug 17, 2026[kimi-code-watch] 上游 #2633:/tower 多 agent 编排(v0.37.0 候选) — FinbackYu/kimi-code-hud1 reaction · 4 comments
- Jul 23, 2026Add support for Kimi Code (Moonshot AI) — dyoshikawa/rulesync1 reaction
- Jul 13, 2026feat: add Kimi Code quota tracking — looplj/axonhub1 reaction · 1 comment
- Jun 16, 2026Codex CLI's websocket timed out, suddenly in the middle of Codex's work — openai/codex1 reaction · 4 comments
- Jun 8, 2026fix(catalog): point Kimi entry at Kimi Code CLI — getpaseo/paseo1 reaction · 1 comment
- Jun 2, 2026[bug]: Kimi Code not track as plan — xiufengsun/TokenTracker1 reaction · 8 comments
- Nov 29, 2026Build(deps): Bump the npm group across 7 directories with 10 updates — squadroom/squadroom0 reactions · 1 comment
- Nov 29, 2026Build(deps): Bump @moonshot-ai/kimi-code from 2.5.1 to 2.8.1 in /scripts/console/clients/kimi — squadroom/squadroom0 reactions · 2 comments
- Nov 27, 2026Kimi Code CLI v2.8.1 发布,需验证兼容性 — Yann-Up/kimi-code-desktop0 reactions
- Nov 27, 2026fix(omher): resumable terminal harnesses come back by themselves; restored scrollback stays selectable — rlaope/oh-my-hermes0 reactions
- Nov 26, 2026Kimi Code CLI v2.8.0 发布,需验证兼容性 — Yann-Up/kimi-code-desktop0 reactions
- Nov 25, 2026Add `kimi-code` — conda-forge/staged-recipes0 reactions · 2 comments
- Nov 24, 2026Kimi Code CLI v2.7.3 发布,需验证兼容性 — Yann-Up/kimi-code-desktop0 reactions
- Nov 23, 2026Upstream: Kimi Code 2.6.2 to 2.7.3 — sidharthpunathil/hashi0 reactions
- Nov 22, 2026Build(deps): Bump @moonshot-ai/kimi-code from 2.5.1 to 2.7.0 in /scripts/console/clients/kimi — squadroom/squadroom0 reactions · 2 comments
- Nov 20, 2026Kimi Code CLI v2.7.2 发布,需验证兼容性 — Yann-Up/kimi-code-desktop0 reactions
- Nov 18, 2026Kimi Code CLI v2.6.3 发布,需验证兼容性 — Yann-Up/kimi-code-desktop0 reactions
- Nov 17, 2026refactor(core): remove the unwired legacy tool executor chain (#4998) — kimocoder/kimi-code0 reactions
- Nov 15, 2026Build(deps): Bump @moonshot-ai/kimi-code from 2.5.1 to 2.6.0 in /scripts/console/clients/kimi — squadroom/squadroom0 reactions · 2 comments
- Nov 14, 2026Kimi Code CLI v2.6.2 发布,需验证兼容性 — Yann-Up/kimi-code-desktop0 reactions
- Nov 13, 2026[upstream-watch] Upstream schema & release drift detected — wakeleyresearch/agentconfig0 reactions
- Nov 13, 2026Kimi Code CLI v2.6.1 发布,需验证兼容性 — Yann-Up/kimi-code-desktop0 reactions
- Nov 11, 2026Kimi Code CLI v2.5.3 发布,需验证兼容性 — Yann-Up/kimi-code-desktop0 reactions
- Nov 9, 2026runtime: 审查 Kimi Code 2.5.2 适配 — dandandujie/Farside0 reactions
- Nov 9, 2026Add Kimi vendor target — Helio-Additive/ai-plugins0 reactions · 1 comment
- Nov 9, 2026Add Kimi Code CLI system prompt templates from official source — 0xeb/TheBigPromptLibrary0 reactions
- Nov 8, 2026Build(deps): Bump @moonshot-ai/kimi-code from 2.4.1 to 2.5.1 in /scripts/console/clients/kimi — squadroom/squadroom0 reactions · 3 comments
- Nov 6, 2026Kimi Code CLI keycap set, routed by its window title — thpoll83/PolyKybdHost0 reactions · 5 comments
- Nov 6, 2026Kimi Code CLI v2.5.2 发布,需验证兼容性 — Yann-Up/kimi-code-desktop0 reactions
- Nov 6, 2026fix(agent): Recovered oversized images stay shrunk on later turns — kvnloo/hermes-agent0 reactions
- Nov 4, 2026fix(progress): detect Ghostty through TERM over SSH — dbast/anstyle0 reactions
- Nov 4, 2026fix(progress): Detect Ghostty through TERM over SSH — rust-cli/anstyle0 reactions · 1 comment
- Nov 3, 2026test(m2): add plain-start kimi client — TUBEOF/PROxyLLM0 reactions
- Nov 3, 2026Build(deps): Bump @moonshot-ai/kimi-code from 2.3.0 to 2.4.1 in /scripts/console/clients/kimi — squadroom/squadroom0 reactions · 1 comment
- Oct 31, 2026feat: move agents between builtin and custom-samples — aicage/aicage-custom-samples0 reactions
- Oct 31, 2026feat: move agents between builtin and custom-samples — aicage/aicage-custom-samples0 reactions
- Oct 31, 2026Kimi Code CLI v2.4.1 发布,需验证兼容性 — Yann-Up/kimi-code-desktop0 reactions
- Oct 27, 2026Kimi Code CLI v2.3.3 发布,需验证兼容性 — Yann-Up/kimi-code-desktop0 reactions
- Oct 26, 2026Kimi Code CLI v2.3.2 发布,需验证兼容性 — Yann-Up/kimi-code-desktop0 reactions
- Oct 22, 2026feat(kimi-code): support [mcp] default_deferred and document wider guard switch — dyoshikawa/rulesync0 reactions
- Oct 15, 2026Kimi Code CLI v2.2.0 发布,需验证兼容性 — Yann-Up/kimi-code-desktop0 reactions
- Sep 17, 2026feat(kimi-code): update placemat for Kimi Code v2.0.0 — dommango/agentmats0 reactions
- Aug 17, 2026Add GoodMemory to Kimi Plugins — hashgraph-online/awesome-ai-plugins0 reactions · 15 comments
- Aug 12, 2026Kimi Code upstream update is ready to review — openomnidesk/kimi-code-desktop0 reactions
On Bluesky · 3
- Jul 20, 2026Kimi Code CLI — The Starting Point for Next-Gen Agents github.com/MoonshotAI/k... — @ds-nana.bsky.social4 likes and reposts
- Jul 24, 2026I came across this fascinating GitHub project on AI-powered terminal coding: edit code, run commands, and more! Supports multiple AI… — @alexiskirke.bsky.social3 likes and reposts
- Jun 14, 2026Kimi Code CLI、homebrewに追加されてました。brew install kimi-code — @matsuu.bsky.social1 likes and repost
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- google-gemini/gemini-cli★ 109ksame name
- delorenj/skills★ 17same name
- Lukk17/agent-standards★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- tests/AGENTS.mdAGENTS.md
- gen-changesetsSkill
- gen-docsSkill
- pre-changelogSkill
- review-prSkill
- sync-changelogSkill
- translate-docsSkill
- write-prSkill
- write-tuiSkill
- use-kimi-codeSkill
The file
Files
检查重复实现
单独使用时,从用户指定的能力或代码入手。用于 PR 评审时,以相对 base 的代码 diff 为入口,复审从上次评审后的代码改动入手。检查对象是源码中的实现,文档正文和其中的代码示例不计入重复。可以跨包取证,意见应落在本次改动引入、触发或放大的问题上。
1. 提取核心逻辑
用调用方的语言说清新代码负责什么,接受哪些输入,承诺什么结果。把业务名换成可搜索的线索,例如协议路径、字段名、底层 API、数据结构或组件交互。即使 jscpd 没有命中,也可以通过这些线索找到写法不同的平行实现。
2. 定位职责,追踪依赖
先判断这项能力最可能由谁维护,再从定义追到实际调用方。以根 AGENTS.md 的项目地图和相关包的公开导出为起点。例如:
- 会话与协议先区分服务端实现、客户端操作和测试驱动。测试驱动查
packages/testkit,KAP 服务端查packages/kap-server,桌面与 Web 的会话逻辑查packages/app-core。 - 组件先区分终端和图形界面。TUI 查
apps/kimi-code/src/tui和packages/pi-tui;桌面与 Web 的产品组件查packages/app-components,基础组件查packages/app-ui。 - 配置、服务或通用算法从消费方的 import 追到所属领域,核对谁解释配置、谁维护状态、谁提供接口。
遇到新增的第三方 import,搜索仓库里同一依赖的其他用法,判断项目是否已有封装。遇到手写算法,检查目标包的 package.json、导出和运行环境,确认现有依赖或标准库的 API 是否覆盖所需行为。依赖仅出现在其他工作区或 lockfile 里,还需核实目标包能否直接使用它。
3. 搜索并对读候选实现
线索明确时,直接用 rg 查符号、API 或字段名。扩大搜索时,依次尝试同义命名、同一底层调用,以及测试名称和断言中描述的行为。按 KC 的约定,契约词汇可从最近的 AGENTS.md 指向的设计或协议文档中补充,结论回到代码和调用方核实。
跨包调查时,优先将定位候选实现的工作交给可用的只读子 agent。交代改动位置、要查的职责、搜索线索和包边界,请它返回候选符号、文件位置和实际调用方。若多个候选需要逐条比较,可再委派只读对照,给出同一组输入,请它说明行为差异和可以复用的部分。当前环境无法委派时,直接完成同样的搜索和对读。
4. 验证复用是否合适
对照相同输入下的结果,以及调用方依赖的边界行为,例如分页、取消、异常上报和资源释放。再核对适用的局部约定:错误是否走同一上报路径,状态是否已有 store 或服务负责,UI 是否使用所在端的主题和组件。指出这些差异对调用方的具体影响。
检查依赖方向和公开入口,判断可以直接复用、需要扩展已有接口,还是两处各有独立契约。例如 testkit 需要启动产品代码时,应由调用方注入入口。两处恰好调用相同的底层 API,也可能需要不同的生命周期。
5. 向用户报告,等用户决定
发现重复时,先只读核实,在当前对话中把同一原因的调用点合并汇报。无论来自代码对读还是 jscpd 命中,都说明:
- 两端的仓库相对路径、行号和符号,以及它们共同承担的职责。
- 两处行为是否一致。若有差异,给出触发条件、受影响的调用方和后果;尚未核实的地方明确标出。
- 建议怎么处理、理由和主要代价。例如直接复用已有接口、扩展接口,或因调用方契约不同而保留两处实现。指出推荐哪一种,并请用户决定。
收到用户明确选择后才执行相应改动。等待期间不自行重构、提交修复或调整检测规则来放行。
例如,若冷恢复测试用一次 GET 读取完整历史,可以这样反馈:“历史超过一页时,这个断言只验证了当前页。现有 packages/testkit/src/kap/harness.ts 的 KapHarness.turns() 会沿 before_ordinal 取完各页。让子进程驱动也能调用这段分页逻辑,并用跨两页的历史验证恢复结果。” 正式评审时补上该次 diff 的调用点和行号。
实现前单独调用时,列出候选接口、覆盖的需求和仍需新增的部分即可。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

