convex-better-auth-user-management
Installation
SKILL.md
Convex Better Auth User Management
Problem
Better Auth stores user data in Convex component tables that can't be accessed through normal Convex queries/mutations. When you need to manually verify a user's email, modify auth data, or debug authentication issues, standard approaches don't work.
Context / Trigger Conditions
- "Email not verified" error when trying to log in
- Need to bypass email verification in local development
- Can't send verification emails (no email service configured)
- Writing a mutation to access Better Auth tables fails with errors like:
- "Identifier betterAuth:user has invalid character ':'"
- "getComponentContext is not a function"
- Need to inspect or modify user, session, or account data