
Add proper theme support (glass/bubble/minimalist + dark mode) to a ResearchMate component, or add new CSS variables to index.css for a specific theme
Scaffold a new ResearchMate Vercel serverless API endpoint with correct fallback chain, credit refund pattern, auth, PART sections, and TypeScript
Scaffold a new ResearchMate React component with full PART sections, Apple design system, dark mode variants, and TypeScript. Reads existing components first to match exact patterns.
Write Vitest integration tests for a ResearchMate API endpoint following all established patterns from ocr.integration.test.ts
Run the ResearchMate OCR integration test suite using Vitest. Optionally filter by test name.
Audit and fix missing or malformed PART sections in a ResearchMate TypeScript file. The PART sectioning system is mandatory in every file.
Scan the ResearchMate codebase for security issues — hardcoded API keys, auth bypasses, exposed secrets, XSS risks, and missing credit refunds