validate-inputs-first
Installation
SKILL.md
Validate Inputs First
Instructions
Before investigating internal logic, always verify that the function receives the correct inputs. A large percentage of bugs are caused by unexpected input data—not broken logic.
Step 1: Catalog Expected Inputs
For the function under investigation, document what each input should be:
EXPECTED INPUT CONTRACT
━━━━━━━━━━━━━━━━━━━━━━
Function: createUser(userData, options)