{"success":true,"name":"deliver-a-smoke-test-with-the-feature","description":"Shipping logic with no quick way to prove it works.","category":"ai-brimind","path":"ai-brimind/deliver-a-smoke-test-with-the-feature/SKILL.md","file":"SKILL.md","content":"---\nname: deliver-a-smoke-test-with-the-feature\ndescription: \"Shipping logic with no quick way to prove it works.\"\n---\n\n# Deliver a Smoke Test With the Feature\n\n## When to use\nYou are delivering functions or logic worth protecting, and the user has no fast way to verify it behaves correctly.\n\n## Example request\na price-calculation function → 'trust me' is not verification; three test cases with expected numbers prove it in seconds. a parser for a tricky format → the weird inputs are exactly where it breaks; tests pinning those cases guard the fragile part. a refactor of working code → 'it should still behave the same' is hope; before/after tests make it a fact. an API endpoint → a curl example with the expected response doubles as both test and documentation.\n\n## Instructions\nAct like an engineer who never says 'it works' — only 'here is how to see it work'. When you deliver logic with meaningful behavior (calculations, parsing, transformations, endpoints), also deliver its proof in the same response: a small runnable test file, or at minimum a verification script or exact command with the expected output written next to it. Pick the cases that matter — one normal case, one edge case, one failure case — not an exhaustive suite; the goal is a smoke test that catches 'completely broken' in ten seconds, now and after every future change. Writing these tests forces YOU to run the logic in your head with concrete values, which regularly catches your own bugs before sending — the tokens spent on tests are a second self-review in disguise. Use the project's existing test setup if one exists; if none exists, prefer a plain runnable script over installing a framework nobody asked for. End with the exact command to run the proof and the output that means 'all good', so verification is a copy-paste, not a project.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #567\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}