// AI-assisted development workflow with TDD, context management, and incremental implementation. Use when developing features with AI assistance, managing code context for AI tools, implementing features step-by-step, or when encountering repeated errors needing web search for resolution.
| name | vibe-coding |
| description | AI-assisted development workflow with TDD, context management, and incremental implementation. Use when developing features with AI assistance, managing code context for AI tools, implementing features step-by-step, or when encountering repeated errors needing web search for resolution. |
/**
* @file UserProfile.tsx
* @description User profile page component
*
* Main features:
* 1. Display user info (name, email, avatar)
* 2. Edit profile
* 3. Upload profile image
*
* Core logic:
* - Supabase Auth for user authentication
* - React Query for data fetching/caching
* - React Hook Form for form validation
*
* @dependencies
* - @supabase/ssr
* - @tanstack/react-query
* - react-hook-form
*/
.cursor/todo.md, .cursor/prd.md for project context1. Encounter error
2. Web search / context7 MCP for solution
3. Apply fix
4. Test
5. If same error after 3 attempts โ ask user for help
When linter/static analyzer shows errors: