Skip to content
Back to skills

Edge Cases

ASecurity

Use for any change with functions that take input. A systematic hunt for inputs that break the code.

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 24, 2026
ai-agentsgo

Security analysis

A100/100

Scanned November 24, 2026

npx -y skills add baddeka/rens-office --skill edge-cases --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Edge Cases?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Edge Cases
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/baddeka-edge-cases/badge)](https://www.skillsdirectory.com/skills/baddeka-edge-cases)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: edge-cases
description: Use for any change with functions that take input. A systematic hunt for inputs that break the code.
---

# Edge cases

For each function or entry point the change adds or modifies, try these inputs in your head and trace what happens:

- **Empty:** empty string, list, dict, file; zero; no arguments.
- **Missing:** `None`/`null`/`undefined`, missing keys, missing files, missing environment variables.
- **Boundaries:** first and last element, off-by-one ranges, maximum sizes, negative numbers, very large numbers.
- **Types:** a string where a number is expected, an iterator where a list is expected, bytes versus text.
- **Text:** non-ASCII and emoji, very long lines, Windows line endings, leading and trailing whitespace.
- **Failure:** the network, disk, or subprocess fails or is slow; partial writes; the same operation run twice.

Report an edge case only when a realistic caller can hit it, and say which input triggers it and what goes wrong.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.