speclite-review-edge-case-hunter

speclite-review-edge-case-hunter is a skill for Claude Code from flanliulf/SpecLite. It costs 71 tokens per session (635 once invoked), scanned A, original, MIT.

A review skill that traces code branches and lists only edge cases the code does not handle. It checks inputs such as diffs, files, or functions and returns findings as JSON.

In plain words
What is it for?
Use it for edge-case analysis, boundary reviews, path tracing, and exception-path checks in code changes.
Why use it?
It helps reveal missing handling for cases such as empty values, timeouts, race conditions, overflow, and off-by-one errors. Already handled cases are left out.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it for edge-case analysis, boundary reviews, path tracing, and exception-path checks in code changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/flanliulf/speclite/speclite-review-edge-case-hunter
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add flanliulf/SpecLite --skill speclite-review-edge-case-hunter
Clone the repo
git clone --depth 1 https://github.com/flanliulf/SpecLite

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for speclite-review-edge-case-hunter

README.md
[![agentmods](https://agentmods.dev/badge/skills/flanliulf/speclite/speclite-review-edge-case-hunter/github.svg)](https://agentmods.dev/skills/flanliulf/speclite/speclite-review-edge-case-hunter)
Your own site
<a href="https://agentmods.dev/skills/flanliulf/speclite/speclite-review-edge-case-hunter"><img src="https://agentmods.dev/badge/skills/flanliulf/speclite/speclite-review-edge-case-hunter/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for speclite-review-edge-case-hunter

Your own site · 80×15
<a href="https://agentmods.dev/skills/flanliulf/speclite/speclite-review-edge-case-hunter"><img src="https://agentmods.dev/badge/skills/flanliulf/speclite/speclite-review-edge-case-hunter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 635 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00071 $0.00635
Opus 5.5 $0.00028 $0.00254
Sonnet 5.5 $0.00014 $0.00127
Haiku 4.5 $0.00007 $0.00064

Measured 2mo ago against content hash 1c4df899b494, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

speclite-review-edge-case-hunter scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

assets/source/speclite/core-skills/speclite-review-edge-case-hunter/SKILL.md · 40 lines

What it actually says

Overview(概述)

Speclite Edge Case Hunter 是纯路径追踪审查器,只列出未处理的边界条件和分支路径。它不评论代码好坏,不输出解释性废话;当输入 diff 时只扫描 diff hunks 直接可达的边界。

Core Capabilities(核心能力)

  • 范围识别:识别输入是 diff、完整文件还是函数,确定审查范围。
  • 路径枚举:机械遍历控制流、循环、错误处理、early return 和领域边界。
  • 边界推导:从内容本身推导 null、empty、off-by-one、overflow、timeout、race 等边界类别。
  • 仅报未处理:已处理路径静默丢弃,只保留缺失 guard 的发现。
  • 完整性复查:回看每类边界,补充遗漏发现。
  • 严格 JSON 输出:只返回符合 schema 的 JSON array,并携带稳定 fingerprint seed 所需字段。

Workflow(工作流)

1. 从用户输入读取 content;为空或不可解码时返回固定 JSON 错误数组并停止。
2. 识别内容类型并确定范围;diff 只看 changed hunks 直接可达边界。
3. 穷举范围内所有 branching path 和 boundary condition。
4. 判断每条路径是否已有显式处理;只收集未处理路径。
5. 复查所有 edge class,补充遗漏并丢弃已处理项。
6. 输出 JSON array;每项只包含 `category`、`invariant`、`location`、`trigger_condition`、`actual_result`、`expected_result`、`guard_snippet`、`potential_consequence`。

Notes(注意事项)

- 输出必须是 JSON array,不要加 Markdown 包裹或解释文字。
- `trigger_condition` 和 `potential_consequence` 各不超过 15 个词。
- `guard_snippet` 必须是单行字符串,不含未转义换行或引号。
- 空数组 `[]` 表示没有发现未处理路径,是有效结果。
- 不要审查范围外代码,除非输入内容显式引用外部函数。
- 不能给出具体 trigger condition 与错误 actual result 时不得输出 finding。
Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +4 lines 1c4df899b494
  2. 2mo ago First seen · 36 lines · 71 tokens per session scan A b55906c5a811

Subscribe to this mod's changes

speclite-review-edge-case-hunter is a skill published in the GitHub repository flanliulf/SpecLite (5 stars, last pushed 7d ago), licensed MIT. It adds 71 tokens to every session and 635 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

speclite-review-edge-case-hunter compared with skills from other repositories

speclite-review-edge-case-hunter next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
speclite-review-edge-case-hunterflanliulf/SpecLiteSkill57d agoMITA71Claude Code
omc-reviewYeachan-Heo/oh-my-claudecodeSkill41ktodayMITA18Claude Code
review-commentsdoordash-oss/agentic-orchestratorSkill1362d agoApache-2.0A33Claude Code, Codex
project-checkAlexZio00/sovereign-skillsSkill15916d agoMITA81Claude Code, Codex
ase-code-lintrse/aseSkill78todayApache-2.0A30Claude Code
skeptical-triageavelikiy/great_ctoSkill11713d agoMITA49Claude Code
anti-patternsavelikiy/great_ctoSkill11713d agoMITA59Claude Code