make-the-wrong-thing-hard

SKILLWorkflowcommunity
v0.0.0tedgoldsteinMITUpdated 1mo agoSource →

Design APIs and modules so incorrect usage is harder than correct usage — types, newtypes, sum types, RAII / scope guards, typestates, builders, lints; the caller shouldn't have to remember anything. Load when designing a call site others (or future-you) will use, when a reviewer keeps writing "reme

Community-submitted skill. Not yet reviewed by the Forge team. Full prompt content may not be available.Request review →
1Clients
1Formats
1mo agoLast update
Skill
Authortedgoldstein
Version0.0.0
LicenseMIT
CategoryWorkflow
Formatsskill.md
PromptNot published
Compatibility
Claude✓ Supported
Cursor
Copilot
ChatGPT
Gemini
About

Design APIs and modules so incorrect usage is harder than correct usage — types, newtypes, sum types, RAII / scope guards, typestates, builders, lints; the caller shouldn't have to remember anything. Load when designing a call site others (or future-you) will use, when a reviewer keeps writing "remember to call close()" or "don't forget to initialise first", when a bug came from passing the wrong

Keywords
skillclaude