通用代码质量检查,包括语法错误、TypeScript 类型检查和 Prettier 代码美化。在提交代码前、完成功能开发后、或用户要求检查代码质量时使用。
Use when designing data structures, database schemas, state management, or data relationships - covers single source of truth, complete data flow thinking
开发环境部署到生产环境前的验证清单与最佳实践,重点关注 Monorepo 依赖管理与环境一致性。
Use when integrating with external APIs, third-party SDKs, or libraries - covers verification workflow before writing any integration code
Implements filterable, paginated list pages with URL as single source of truth (nuqs) and TanStack Query to avoid duplicate requests and support shareable links. Use when building list pages with filters, pagination, URL-synced state, or when fixing multiple requests on page change.
Use when working with Polymarket API - profiles, activities, events, markets endpoints
规范 Polymarket 的 Privy + Safe + Builder + CLOB 集成流程,覆盖新老用户分支、三次签名、授权批处理、安全边界与排障步骤。Use when implementing or debugging Privy embedded wallet, Safe deployment, builder relayer, remote signing, CLOB api credentials, token approvals, or builder attribution order flow.
指导 Privy 登录与钱包流程集成,覆盖 Safe 地址派生、Safe 部署、三次签名、CLOB API 凭据与授权。Use when working on Privy auth/wallet integration, Safe derivation/deployment, trading session initialization, or when user mentions Privy/三次签名/Polymarket Safe/CLOB.