xiaohongshu
xiaohongshu
edge-case-discovery
Use when user requests exhaustive edge case analysis. Enforces TodoWrite with 15+ items (5 categories). Triggers: "all edge cases", "what could break", "bulletproof", "failure modes". If thinking "main path is sufficient" - use this.
Full skill instructions
Systematic 5-category analysis for exhaustive edge case enumeration.
CREATE TodoWrite with these 5 categories (15+ items total):
| Category | Minimum Items |
|---|---|
| Boundary Value Analysis | 3+ |
| Equivalence Partitioning | 3+ |
| State Transition Analysis | 3+ |
| Error Condition Enumeration | 3+ |
| Assumption Challenging | 3+ |
Do not proceed to implementation or testing until TodoWrite is verified.
After creating TodoWrite, verify 3 random items pass this test:
Each item must have ALL THREE:
| ❌ FAILS | ✅ PASSES |
|---|---|
| "Test boundaries" | "Test numeric input: min (-2^31), max (2^31-1), zero, negative (-1), overflow (2^31)" |
| "Check errors" | "Network timeout after 30s: retry 3x with exponential backoff, return error 503 to client" |
| "Test state changes" | "User logout during file upload: cancel upload, clean temp files, redirect to login" |
DO NOT PROCEED until 15+ items AND quality check passes.
Test min/max/zero/null/empty/overflow for ALL inputs:
Group inputs into classes, test one representative from each:
Map ALL valid + invalid state transitions:
List ALL failure modes for each operation:
Question every "always", "never", "impossible":
| Thought | Reality |
|---|---|
| "Main path is sufficient" | Edge cases cause 60% of production bugs - exhaustive analysis prevents incidents |
| "This is overkill for a simple feature" | 15 items takes 10 minutes, prevents hours of debugging and hotfixes |
| "We'll catch issues in testing" | Manual testing misses 70% of edge cases - systematic enumeration is essential |
| "Users won't do that" | Users do unexpected things constantly - assume nothing about behavior |
| "This analysis takes too long" | Post-release bug fixes cost 10-100x more than upfront analysis |
❌ BLOCKED: Happy path testing leaves production vulnerable to edge case failures.
Required to override:
Reality check:
❌ BLOCKED: Edge case discovery is NOT optional for production code.
Time investment:
Compared to:
After completing TodoWrite and analysis, verify:
| Category | Requirements |
|---|---|
| Boundary Value | ✓ Min/max/zero/null tested ✓ Overflow scenarios identified ✓ Empty collections handled |
| Equivalence | ✓ Valid inputs ✓ Invalid inputs ✓ Boundary cases |
| State Transition | ✓ Valid transitions ✓ Invalid transitions ✓ Concurrent access |
| Error Conditions | ✓ Network failures ✓ Resource exhaustion ✓ Partial failures |
| Assumptions | ✓ All "always"/"never" challenged ✓ Impossible scenarios explored |
If any category incomplete, do not proceed to implementation.
Edge case catalog with test scenarios for each category.
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience