Webfetch Patterns
Fetch web content via Gemini CLI when direct access fails. Triggers on WebFetch 403/blocked errors, Reddit URLs, or sites with bot protection.
Bun Patterns
Bun runtime and package manager patterns. Applies to package management, Bun.file, Bun.write, Bun.Glob, bun test, scripts, workspaces, or migrating from npm/yarn/pnpm.
Naming Conventions
Naming conventions for files, variables, types, constants, booleans, generics. Applies to new files, refactoring, code review, or inconsistent naming issues.
Convex Patterns
Convex backend patterns and type safety. Applies to schema design, validators, mutations, queries, actions, auth checks, indexes, HTTP webhooks, rate limiting, type derivation. Also applies to scheduled tasks, cron jobs, realtime subscriptions, live queries, server action integration, business logic placement, and webhook handlers.
Testing Patterns
Project test patterns. Applies when writing tests or mocking Convex.
React Patterns
React 19.2 patterns and primitives. Applies to React components, hooks, state, forms. Use for useEffectEvent, useActionState, Activity component, use(), or migrating from older React patterns like React.FC.
Tailwind Patterns
Tailwind 4.0 patterns for styling React components. Applies to class usage, color selection, inheritance optimization, responsive design, or reducing redundant utilities and wrapper divs.
Typescript Patterns
TypeScript style and type safety patterns. Applies to TSX, TS code, interfaces, types, generics, unions, type errors.