Small, well-scoped features ship faster and review easier. Use Blink to draft the plan, generate code in your style, write tests, and open a draft PR. Iterate in short loops until checks pass.
Context:- Feature: user profile editing with avatar upload- Tech: React + TypeScript, React Query, Tailwind, Jest + Testing Library- Constraints: reuse existing Avatar and Form components- Acceptance: edit name + avatar, optimistic update, tests for validationTask: Create a minimal implementation across UI + API glue. Include file paths, code snippets, and tests. Use existing patterns from components/ and hooks/.
Copy
Add tests:- Generate unit tests for form validation- Add integration test for the end-to-end edit flow- Runs `npm test` and ensure all tests pass