
Create a new trading strategy module for the Polymarket platform. Use when adding strategies like CryptoLagArb, PollDivergence, OddsComparison, etc.
Create a new frontend page/view for the Polymarket trading dashboard. Use when building pages like Dashboard, Markets, Strategies, Signals, Trades, Positions, Risk, AI, Analytics, Backtest, Alerts, Settings, Health.
Add or modify a Prisma model/table for the PostgreSQL database. Use when creating tables like markets, signals, orders, trades, positions, risk_config, etc.
Scaffold a new backend service/process for the Polymarket platform. Use when creating a new PM2-managed service like market-scanner, data-ingestion, strategy-runner, etc.
Wire up a new WebSocket event channel between backend and frontend. Use when adding real-time events like price updates, order fills, alerts, regime changes, etc.
Validate risk governor checks and risk configuration changes. Use when modifying risk parameters, adding new risk checks, or reviewing risk logic.
Run tests for the Polymarket platform. Supports unit, integration, and E2E tests. Use after implementing features or fixing bugs.
Add a new external data feed to the data ingestion service. Use when integrating Binance, News API, The Odds API, polling data, Twitter, or other data sources.
Add a new chart/visualization to the frontend dashboard. Use when creating P&L charts, price charts, gauges, heatmaps, or any data visualization.
Add a new REST API endpoint to the Express server. Use when creating routes for markets, strategies, signals, orders, trades, positions, risk, bankroll, AI, alerts, analytics, or backtest.