# Agent Skills — 1chooo.com

Cursor Agent Skills used to develop 1chooo.com with AI. Each skill encodes conventions for a specific area of the codebase.

## Skills

- [project foundation](https://1chooo.com/llm/skills/1chooo-project): Stack, route groups, where to put code, import conventions, and design system for 1chooo.com.
- [next.js app router](https://1chooo.com/llm/skills/nextjs-app-router): Server/Client boundaries, async params, proxy.ts auth guards, data fetching patterns, and workspace shell conventions.
- [api routes](https://1chooo.com/llm/skills/api-routes): REST handler conventions — requireUser(), Zod safeParse, Supabase service client, and standardized response shapes.
- [types & constants](https://1chooo.com/llm/skills/types-and-constants): types/ for TypeScript types, lib/ for domain constants — strict separation enforced throughout the codebase.
- [auth & supabase](https://1chooo.com/llm/skills/utils-auth-supabase): Supabase client matrix, auth helper functions, cookie options, CORS setup, and the dual sign-in pattern.
- [mdx content](https://1chooo.com/llm/skills/mdx-content): Article sections, JS-object frontmatter, scaffolding commands, demo registration, and LLM routes.
- [article components](https://1chooo.com/llm/skills/article-components): Two-column interactive demo shell, button styles, right-panel blocks, color palette, and file organization for components/articles/.
- [shared ui primitives](https://1chooo.com/llm/skills/components-ui): Radix import style, Dialog API, ConfirmDialog, Sonner placement, and Chart conventions for components/ui/.
- [services ui](https://1chooo.com/llm/skills/services-ui): Lowercase copy, monospace buttons, form inputs, workspace shells, sign-in redirects, and client fetch patterns for authenticated mini-apps.
- [confirm dialogs & toasts](https://1chooo.com/llm/skills/services-confirm-toasts): ConfirmDialog for destructive actions, Sonner toasts for create/delete feedback — never window.confirm() in services.
- [admin ui](https://1chooo.com/llm/skills/admin-ui): Plain button tab switchers, square corners, no Radix Tabs — consistent active/inactive states for the admin dashboard.
