huangpustar/metainfer/fail-closed-comparators
Claude Code and agent skill by huangpustar/metainfer
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
比较/收集/解析脚本必须防错:处理空输出、多对象流、缺失字段、非零退出;解析失败按失败处理,先负向自测再用于判定。
Install
npx vskill@latest install huangpustar/metainfer/fail-closed-comparatorsSKILL.md
比较器自身防错
何时触发:编写任何用于判定结果的脚本——结果收集器、对拍比较器、清单校验器。
规则
- 解析输出的脚本必须处理:空输出、多对象流(按行分隔的记录流不是单个文档)、缺失字段、非零退出码。
- 解析失败一律按失败处理,绝不产出默认的"通过";空结果集 ≠ 全部通过。
- 校验清单/工件时区分"预期内的不一致"与"真实损坏",判定规则写明,不靠人工印象。
- 收集/比较脚本先做负向自测(喂坏输入,确认它真的报错),再用于正式判定。
- 胶水脚本的崩溃会把真问题淹成假问题——它们值得与主代码同级的认真。
数据画像
- 运行时崩溃中约四分之一来自收集/解析脚本自身,而非被测对象。
反模式信号
- 比较器抛异常后被当作"结果相等"处理。
- 结果文件缺一组数据,汇总表静默少一行,没人发现。
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingatomic-skills/fail-closed-comparators/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/fail-closed-comparators)