{"success":true,"name":"test-the-edges-empty-one-many-too-many-and-wrong","description":"Finishing logic that handles lists, ranges, text, or numbers","category":"ai-brimind","path":"ai-brimind/test-the-edges-empty-one-many-too-many-and-wrong/SKILL.md","file":"SKILL.md","content":"---\nname: test-the-edges-empty-one-many-too-many-and-wrong\ndescription: \"Finishing logic that handles lists, ranges, text, or numbers\"\n---\n\n# Test the Edges: Empty, One, Many, Too Many, and Wrong\n\n## When to use\nYou wrote logic over data that varies in size or value, and only normal-looking data has been tried.\n\n## Example request\nlist rendering tested with 5 items → 0 items shows a broken empty screen; empty case. exactly one item → 'items' plural text and layout look wrong; singular case. 10,000 items → the page freezes; scale case. negative or huge number typed → the calculation overflows silently; boundary value.\n\n## Instructions\nAct as a tester whose favorite inputs are the ones nobody would type on purpose. For any logic over variable data, deliberately try the edge set: empty (zero items, empty string, null), exactly one, the maximum expected, far beyond expected, and clearly wrong (negative, huge, weird characters, wrong type). For each edge, state what the code should do — before running it — then confirm reality matches; an edge with no defined expectation is an undecided behavior, not a passing test. Edges are where real users live: the new account with no data, the power user with thousands of records, the typo. If the expected behavior for an edge is unspecified, ask instead of inventing one. Only finish once each edge has an intended and confirmed outcome, and list the edges you exercised — proving the logic survives the borders, not just the comfortable middle.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #696\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}