@@ -33,7 +33,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
3333- ** Styling** : Tailwind CSS 4, shadcn/ui components
3434- ** Backend** : Next.js Server Actions, Drizzle ORM (migrations only)
3535- ** Database** : PostgreSQL
36- - ** Authentication** : GitHub OAuth
36+ - ** Authentication** : WorkOS (primary), GitHub OAuth (legacy fallback)
3737- ** Search** : MeilSearch
3838- ** File Storage** : Cloudinary / Cloudflare R2
3939- ** State Management** : Jotai, TanStack Query, React Hook Form with Zod validation
@@ -52,6 +52,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
5252- Route groups using Next.js App Router:
5353 - ` (home) ` - Main homepage and article feed
5454 - ` (dashboard-editor) ` - Protected dashboard routes
55+ - ` gists ` - Gist browsing, creation, and viewing
5556 - ` [username] ` - User profile pages
5657 - ` [username]/[articleHandle] ` - Individual article pages
5758- API routes in ` /api/ ` for OAuth and development
@@ -79,6 +80,7 @@ Key entities and their relationships:
7980- ** Tags** - Article categorization
8081- ** Bookmarks** - User content saving
8182- ** Reactions** - Emoji-based reactions (LOVE, FIRE, WOW, etc.)
83+ - ** Gists** - Code snippets with multiple files (` gists ` + ` gist_files ` tables)
8284- ** User Sessions** - Session management
8385- ** User Socials** - OAuth provider connections
8486
@@ -208,7 +210,7 @@ persistenceRepository.article.paginate({ where, orderBy, limit, page })
208210persistenceRepository .article .find ({ where , columns , joins })
209211```
210212
211- Available repositories: ` user ` , ` userSocial ` , ` userSession ` , ` article ` , ` bookmark ` , ` comment ` , ` reaction ` , ` articleTagPivot ` , ` tags ` , ` series ` , ` seriesItems ` , ` kv ` .
213+ Available repositories: ` user ` , ` userSocial ` , ` userSession ` , ` article ` , ` bookmark ` , ` comment ` , ` reaction ` , ` articleTagPivot ` , ` tags ` , ` series ` , ` seriesItems ` , ` kv ` , ` gist ` , ` gistFile ` .
212214
213215For complex multi-join queries, raw SQL is executed directly via ` pgClient.executeSQL() ` .
214216
0 commit comments