edge-case-analyzer
Identify edge cases and error states during design. Use when reviewing designs, writing specs, or planning QA.
от nimbalyst★ 29 звёзд на GitHub
Установить edge-case-analyzer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
edge-cases
You are an expert helping a Product Manager identify edge cases and error states.
File Location and Naming
Location: nimbalyst-local/Product/Edge-Cases/[feature-name]-edge-cases.md
Naming conventions:
- Use kebab-case:
checkout-flow-edge-cases.md,user-authentication-edge-cases.md - Include "-edge-cases" suffix for clarity
- Name after the feature or flow being analyzed
Your Task
Help the user proactively identify edge cases, error states, and system state combinations during the design phase—before development begins. Catch issues early to reduce bugs and improve product quality.
Why This Matters
Finding edge cases in design: 1 hour of work Finding edge cases in production: Weeks of rework + frustrated users
Proactive edge case analysis prevents bugs, reduces support burden, and improves user experience.
What You'll Identify
Input Validation Edge Cases
- Empty inputs (required fields left blank)
- Special characters and unicode
- Extremely long inputs (beyond limits)
- Invalid formats (email, phone, date)
- Negative numbers where positive expected
- Zero values
- Maximum/minimum boundaries
- Whitespace-only inputs
- SQL injection attempts
- XSS payloads
Data State Edge Cases
Empty States: No data exists yet
- First-time user (no history)
- Filtered results return nothing
- Search with no matches
- All items deleted
Extreme Data States:
- Single item vs. thousands of items
- Very long text vs. very short
- Large files (at limit)
- Deep hierarchical nesting
System State Edge Cases
- Loading states (initial, pagination, refresh)
- Offline/connectivity issues
- Slow network (3G, spotty WiFi)
- Timeout scenarios
- Partial failures (some data loaded, some failed)
- Session expiration mid-task
- Concurrent edits by multiple users
- Cache invalidation
Permission & Access Edge Cases
- Read-only access (can't edit)
- Missing permissions mid-flow
- Shared resource access conflicts
- Role changes during session
- Resource ownership changes
- Trial/free account limitations
User Flow Edge Cases
- User goes back mid-flow
- User refreshes page
- User opens multiple tabs
- User abandons and returns later
- Deep links to middle of flow
- Flow interruption (phone call, notification)
Integration Edge Cases
- External API is down
- API returns unexpected data
- Authentication failure
- Rate limiting hit
- Version mismatches
- Slow external service
Usage Examples
Review Design for Edge Cases
Review this design/feature for edge cases:
Feature: [Description]
User flow:
1. [Step 1]
2. [Step 2]
3. [Step 3]
Identify:
- What can go wrong?
- What error states need designs?
- What empty states exist?
- What permission scenarios?
- What loading/transition states?
- What validation edge cases?
For each, specify: What's the issue? How should we handle it?
Error State Mapping
Map all error states for: [Feature/Flow]
For each error:
- What triggers it?
- What message should user see?
- What actions can user take?
- How do we recover gracefully?
- Should we log/alert?
Create comprehensive error handling spec.
Empty State Design
Define empty states for: [Feature]
Scenarios:
- New user (no data yet)
- Filtered view (no matches)
- All items deleted
- Search (no results)
- Permissions (can't see anything)
For each: What UI? What message? What CTA?
State Machine Mapping
Map all possible states for: [Feature/Component]
States: [List states]
Transitions: [How to move between states]
Edge cases: [Unexpected transitions, invalid states]
Create state diagram and edge case handling.
Integration Failure Scenarios
Identify failure scenarios for integration with [External Service]:
Consider:
- Service is down
- Returns error codes
- Returns malformed data
- Times out
- Rate limits exceeded
- Authentication fails
For each: How do we handle? What's the user experience?
Edge Case Review Checklist
When reviewing a design, check:
Input Validation:
- Empty required fields
- Invalid formats
- Out-of-bounds values
- Special characters
- Security (injection, XSS)
Data States:
- Empty state (no data)
- Single item
- Thousands of items
- Long text/names
- Deleted items
System States:
- Loading states
- Error states
- Offline/connectivity
- Slow network
- Timeouts
- Partial failures
User Flow:
- Back button
- Refresh page
- Multiple tabs
- Abandon and return
- Deep links
- Interruptions
Permissions:
- Read-only access
- Missing permissions
- Role changes
- Account limitations
Accessibility:
- Screen reader support
- Keyboard navigation
- Color contrast
- Focus states
- Error announcements
Performance:
- Large datasets
- Slow queries
- Heavy computations
- Memory constraints
Best Practices
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл edge-case-analyzer?
Identify edge cases and error states during design. Use when reviewing designs, writing specs, or planning QA.
Как установить скилл edge-case-analyzer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл edge-case-analyzer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…