Senior code reviewer for this monorepo. Readonly specialist — analyzes implementations against the 3-file split pattern, import boundaries, and project conventions. Use when reviewing code, pull requests, or asking for a code quality assessment.
React Native mobile implementation specialist. Builds features using the 3-file split pattern (hook/view/glue) with React Native, NativeWind, React Navigation, and React Native Reusables (shadcn/ui for RN). Use when implementing mobile app features, screens, or native components.
Senior technical architecture and feature planning specialist. Reasoning-first and adaptive — analyzes the codebase, identifies patterns and constraints, and produces detailed, execution-ready plans with tradeoffs, file-level changes, edge cases, UX, security, and performance considerations. Use proactively for…
Web frontend implementation specialist. Builds features using the 3-file split pattern (hook/view/glue) with Vite, React, Tailwind CSS, and shadcn/ui. Use when implementing web UI features, admin pages, or dashboard widgets.
Add a new API endpoint end-to-end from backend to frontend. Creates Zod schema in packages/shared, NestJS repository method, service logic, controller with Swagger decorators, TanStack Query hook in apps/web, and React component. Use when the user wants to add a new endpoint, connect frontend to backend, wire up a…
Add a new Zod validation schema to packages/shared with TypeScript type inference via z.infer, proper exports, and consumption patterns for both NestJS (ZodValidationPipe) and React (hookform/resolvers/zod). Use when creating shared types, DTOs, validation schemas, API contracts, or adding a new entity type used…
Define a new Mongoose schema with @Schema decorator, SchemaFactory, indexes, virtuals, timestamps, and pre/post hooks. Creates matching repository extending BaseRepository. Use when adding a new MongoDB collection, database model, entity schema, or data model to the NestJS backend in apps/api.
Multi-agent feature orchestration workflow. Decomposes feature requests or plan files into parallel agent tasks, delegates to backend-agent, web-agent, and mobile-agent, verifies cross-app consistency, and runs code-reviewer. Use when building features that span multiple apps, executing a plan file, or when the user…
Scaffold a new NestJS feature module with controller, service, repository extending BaseRepository, Zod DTOs in packages/shared, Mongoose schema, and unit tests. Use when creating a new backend feature, adding a new resource, or the user says 'create module', 'add feature', 'new resource', or 'scaffold' for the API in…
Create a new React feature in apps/web using the 3-file split pattern (hook/view/glue). Every feature follows the same structure — no exceptions. Use when adding a new page, screen, feature, view, or section to the frontend application.
Create a new React Native feature using the 3-file split pattern (hook/view/glue). Uses React Native Reusables (shadcn/ui port) for UI components. Every feature follows the same structure. Use when adding a new screen, feature, or section to the mobile app.
Defines the pagination standard across shared types, NestJS endpoints, TanStack Query hooks, and React/RN table UIs. Use when adding pagination, paginated list endpoints, page/limit query params, table paging controls, or when reviewing whether pagination follows project conventions.
Define and review permission coverage for project features. Covers the two-level RBAC model (platform + tenant), permission constants, backend enforcement with @Can/@CanAny, tenant-scoped permission resolution via Membership, frontend/mobile route and action gating with useCan(), and review checks. Use when adding or…
Review NestJS backend code for architecture compliance, security, performance, and project conventions. Checks repository pattern, Zod validation, error handling, auth guards, multi-tenant scoping, logging, and test coverage. Use when reviewing backend code, pull requests, API code, or the user asks to review NestJS…
Review React frontend code for patterns, performance, accessibility, and project conventions. Enforces non-negotiable rules that block merge across security, hooks, accessibility, state management, component design, TypeScript, feature structure, and import boundaries. Use when reviewing frontend code, pull requests…
Review React Native mobile code for patterns, performance, accessibility, and project conventions. Enforces non-negotiable rules across feature structure, performance, platform handling, accessibility, and React Native Reusables usage. Use when reviewing mobile code, pull requests, RN components, or the user asks to…
Spec-driven development workflow for medium-to-large features. Creates structured requirement, design, and task documents in specs/{feature}/ before implementation. Reduces AI assumptions, preserves context across sessions, and produces reviewable planning artifacts. Use when a feature touches 2+ apps, requires 3+…
Core project guide for this monorepo. Covers project structure, tech stack, naming conventions, architecture layers, development workflow, and coding standards. Use when starting work on any task, exploring the codebase, onboarding, asking about project structure, or needing context about how the monorepo is organized…
Write tests following project patterns. NestJS unit tests with mocked repositories via overrideProvider, e2e tests with Supertest and mongodb-memory-server. React tests with React Testing Library + MSW. React Native tests with RNTL + MSW. Use when writing tests, adding test coverage, testing a module, component…