跳到技能内容
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
词映 AI导航
工具库Skills 技能
我的收藏
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
Skills directory/SprocketLab/slop-code-bench/edge-cases

Codex Edge Cases for Pytest Boundary and Input Coverage

Compare a checkpoint specification with existing tests. Identify missing empty, boundary, malformed, and state-related cases whose expected behavior is defined.

中文

Install in Codex

Codex with a slop-code-bench or similar local checkout, the spec, existing tests, and the skill references.

  1. Copy the entire pinned `.codex/skills/edge-cases/` directory to `.agents/skills/edge-cases/` in the target checkout.
  2. Open Codex in that checkout and invoke `$edge-cases` with the example task and desired output.

Example task

Give `$edge-cases` a local counter specification with a normal-input test. Ask for a zero case and a negative case where the spec says zero is accepted and negatives are rejected.

What to check

The tests check separate observable results for zero and negative values. Unspecified cases remain open for clarification.

Original SKILL.md on GitHub · Updated 2026-11-13

Frequently asked question

What if the spec does not define an edge case?

Record it as a question. Add a behavioral test after the expected result is established.

Browse Codex skills in the Chinese directory
词映 AI 导航Skills 技能
工具分类全部工具已本地化技能选型指南AI 快讯