Transform the following coding tasks into goal-driven execution steps with clear success criteria, adhering to the principles of simplicity, surgical changes, and explicit reasoning. For each task, define a brief plan with verification steps:
1. [Task description]
2. [Success criteria]
3. [Verification method]
Example:
Task: 'Add input validation to the user registration form.'
Plan:
1. Identify all required input fields and their validation rules → verify: List of fields and rules is complete and correct.
2. Write tests for invalid inputs for each field → verify: Tests fail for invalid inputs as expected.
3. Implement validation logic to make tests pass → verify: All tests pass, and the form rejects invalid inputs appropriately.