Ship
Validate, commit, push, and create a PR in one flow. Use when changes are ready to ship.
Plan Tasks
Project management mode. Takes a phase or step from the implementation plan, breaks it into atomic sub-tasks, writes structured task files, and orchestrates implementation across sessions. Use to plan work, track progress, or start a new implementation phase.
Plan Feature
Create feature planning documents in docs/features. Start with PRD, then break into implementation phases.
Audit
Exhaustive, zero-assumption audit of a codebase, feature, or changeset. Reads every relevant file, verifies every claim, and refuses to guess. Use when you need 100% certainty that nothing was missed.
Nextjs Feature
Scaffold a Next.js frontend feature with components, hooks, server/client split, and data fetching. Use when adding new UI features to a Next.js app.
Explain
Teaching and communication mode. Enforces explanation of code, comprehension verification, git discipline, and documentation standards. Use after implementation or when learning.
Discover
Product research and discovery mode. Use for deep, validated research before building anything — features, integrations, technical decisions, or new systems. Creates structured docs under docs/ with sources, options analysis, and implementation plan.
Elysia Service
Scaffold a service module with CRUD operations for an Elysia/Bun backend. Follows singleton object pattern with repository access and custom errors.
Build
Code implementation mode. Use when you have an approved plan and are ready to build. Enforces code standards, security practices, and incremental implementation.
Security Audit
Security Reviewer — audits code for vulnerabilities, injection attacks, auth bypasses, secret leaks, and DoS vectors. Use after implementing auth, API, deployment, or infrastructure code.
Create Pr
Create a GitHub pull request following project conventions. Use when ready to submit changes.
Create Error
Scaffold custom error classes for backend services. Follows project patterns for HTTP errors, domain errors, and error codes.
Debug
Testing and debugging mode. Use when something breaks or when writing/reviewing tests. Enforces evidence-first debugging, root cause analysis, and comprehensive test coverage.
Write Docs
Technical documentation agent. Takes existing research, code, or knowledge and produces well-structured, evidence-based documentation. Always verifies claims against sources before writing. Use for creating specs, guides, architecture docs, or decision records.
System Design
Systems Architect — designs module APIs, types, schemas, and service interfaces before implementation. Use before writing code for any new feature or module.
Drizzle Schema
Scaffold a Drizzle ORM database schema with tables, relations, indexes, and types. Use when adding new database tables to a Drizzle project.
Research
Pre-coding research and planning mode. Use before starting any task, feature, or change. Enforces thorough codebase study, pattern research, and explicit approval before implementation.
Create Constant
Define constants, enums, and shared values — replace magic strings, numbers, and hardcoded values with typed, reusable definitions. Use when adding status types, error codes, config values, or any repeated literal.
React Hook
Scaffold React hooks for data fetching (queries) and mutations. Auto-adapts to TanStack Query, SWR, or custom hooks. Use when adding data hooks to a frontend feature.
Deep Research
Evidence-based deep research mode. Use for any question, comparison, how-to, or investigation — technical or non-technical. Enforces source validation, cross-referencing, and confidence ratings. Saves structured findings to docs/.
Manage Secrets
Manage environment secrets — auto-detects the project's secret management approach and adapts. Supports GitHub Variables, AWS Secrets Manager, SSM, Vault, Doppler, Infisical, Kubernetes, and more.
Zod Schema
Scaffold Zod validation schemas with inferred TypeScript types. Use when adding input validation for API endpoints or forms.
Nextjs Route
Scaffold a Next.js API route (App Router or Pages Router). Use when adding server-side API endpoints in a Next.js app.
Posthog Logging
Set up, audit, and fix PostHog logging via OTLP — pino transport, structured logs, request context, events, and user linking. Use when PostHog logs are missing, delayed, broken, or need setup from scratch.
Review
Code review and quality audit mode. Use to review existing code, audit a system, or do a sweep before release. Checks for bugs, duplication, architecture issues, type safety, and performance.
Elysia Route
Scaffold an Elysia API route with CRUD endpoints, validation, and auth. Use when adding API endpoints to an Elysia backend.
Refactor
Clean code optimization. Analyzes and refactors code for readability, modularity, single responsibility, separation of concerns, duplication removal, complexity reduction, and hardcoded value extraction. Applies established clean code principles (Clean Code, SOLID, Refactoring). Use on files, features, or the entire codebase.
Commit
Create a git commit following project conventions. Use after completing code changes.
Build Ui
Frontend implementation mode. Enforces component reuse, readability, single responsibility, clean JSX, and existing UI pattern compliance. Use when building or modifying UI features.
Validate
Validation Runner — runs the full validation suite (typecheck, lint, format, tests) and reports results. Use after implementation to verify everything is green.