huangpustar/metainfer/find-first-divergence
Claude Code and agent skill by huangpustar/metainfer
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
数值不匹配时先定位首个分歧点(首错索引、期望值、实际值);深层结构二分找第一个出错节点。
Install
npx vskill@latest install huangpustar/metainfer/find-first-divergenceSKILL.md
定位首个分歧点
何时触发:对拍/比较失败,需要报告与排查数值不一致。
规则
- 比较失败时输出首个不一致元素的索引、期望值、实际值——不是只报错误总数或错误率。
- 用首错位置推断错误类别再动手:靠前且规律 → 索引/步长问题;只在尾部 → 边界处理;特定批次元素 → 该路径特有逻辑。
- 深层/流水线结构中错误会向后传播:二分找第一个出错的节点——最后的坏节点没有诊断价值。
- 逐层/逐段导出中间产物检查首个异常出现点。
- 数值异常(非有限值等)先输出输入统计(最小/最大值、非有限值计数)与首个异常索引,再改代码。
反模式信号
- 汇报"117822/131072 个元素错了"却没有首错位置。
- 在最后一层输出上反复调,而错误早在前面某层就已发生。
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingatomic-skills/find-first-divergence/SKILL.md
Popularity
- Repository stars
- 123
- Repository forks
- 17
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/huangpustar/metainfer/find-first-divergence)