AI SummaryA focused best-practices guide for the SojuStack monorepo (NestJS + Drizzle + Better Auth + TanStack Start) that helps developers maintain idiomatic, type-safe code across full-stack features. Essential for teams working in this specific tech stack.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to install the "sojustack-best-practices" skill in my project. Please run this command in my terminal: # Install skill into the correct directory mkdir -p .claude/skills/sojustack-best-practices && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/sojustack-best-practices/SKILL.md "https://raw.githubusercontent.com/Rykuno/SojuStack/main/.agents/skills/sojustack-best-practices/SKILL.md" Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.
Description
Best-practice guidance for the SojuStack monorepo (NestJS + Drizzle + Better Auth + TanStack Start). Use when editing files in apps/api or apps/web, designing routes, query/form patterns, auth/transaction flows, or implementing cross-stack features.
SojuStack Best Practices
Use this skill to keep changes idiomatic and safe in this repository.
Repository Map
• Backend: apps/api/ (NestJS + Drizzle ORM + Better Auth) • Frontend: apps/web/ (TanStack Start + TanStack Query + TanStack Form + ShadCN/Base UI) • Shared config: packages/typescript-config/
Universal Rules
• Keep scope tight to the user request; avoid opportunistic refactors. • Maintain strict typing; avoid any and unsafe casts. • Match naming and folder conventions already used in the touched area. • Prefer small reusable helpers over duplicate logic. • If behavior changes, update/add tests for the impacted area.
Routing (TanStack Start)
• Keep route modules focused; move reusable logic to hooks or components.
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster