r-portas
- 6 skills
- 0 followers
- 1 day ago last updated
- ▌ Bootstrap · r-portas bundleInstalls and fully integrates packages and libraries into a project — including config files, helper modules, and scaffolded templates. Use when the user asks to install, set up, configure, add, or bootstrap a specific package: drizzle, date-fns, oxlint, oxfmt or similar. Prefer this over a generic npm install whenever the package has an opinionated setup or requires boilerplate files.
- ▌ Unit Testing · r-portas bundleRoy's conventions for writing tests — Bun test runner, mocking with Bun's built-in mock API, and React component testing with React Testing Library and HappyDOM. Consult whenever writing, editing, or reviewing any test file (*.test.ts, *.test.tsx), or when asked about mocking, test structure, or testing setup.
- ▌ React Style Guide · r-portasRoy's React conventions for shadcn/ui and Tailwind — component and file naming, props typing, region blocks, `cn()` class composition, conditional JSX, and TSDoc. Consult whenever writing, editing, or reviewing React components or JSX.
- ▌ Preferred NPM Packages · r-portasRoy's preferred NPM package choices and technology stack. Consult this skill whenever choosing dependencies, scaffolding a new project, suggesting libraries, or making any technology decisions — even if the user hasn't explicitly asked which package to use. Always prefer these packages over alternatives unless there's a compelling technical reason not to, and flag when you're deviating from them.
- ▌ Typescript Style Guide · r-portasRoy's TypeScript conventions — interface vs type, type-only imports, TSDoc, file naming, and region blocks. Consult whenever writing, editing, or reviewing any TypeScript or TSX file.
- ▌ Tanstack Start Project Structure · r-portasFile layout and code-organization conventions for Roy's TanStack Start projects — where files live under `src/`, the `.functions.ts` / `.server.ts` / `.schema.ts` split for business logic, route and loader structure, and how the client/server boundary is enforced. Consult when creating any file under `src/`, adding or editing a route or loader, writing or modifying a `createServerFn` server function, or deciding where a piece of logic should live.