Instruction file imported from RhysSullivan/create-epoch-app (
.cursor/rules/vendored-repos.mdc). Copyright stays with the author.
Vendored Context Repositories
Reference repositories are available under .context/ for understanding patterns and implementations.
Effect
The Effect repository is available at .context/effect/.
- Use for: Canonical patterns, APIs, and best practices for Effect-based code
- Updating:
git subtree pull --prefix=.context/effect effect-upstream main --squash
Better Auth
The Better Auth repository is available at .context/better-auth/.
- Use for: Authentication patterns and implementations for Convex
Convex Backend
The Convex backend repository is available at .context/convex-backend/.
- Use for: Understanding Convex internals and backend patterns
Convex JS
The Convex JS client library is available at .context/convex-js/.
- Use for: Client-side Convex patterns and API usage
Effect Atom
The Effect Atom repository is available at .context/effect-atom/.
- Use for: Reactive state management with Effect in React components
- Key patterns:
Atom.runtime(Layer)- Create a runtime with service layerAtom.family((param) => atom)- Create parameterized atomsruntime.atom(Effect)- Create an atom that runs an Effectruntime.fn<Input>()(fn)- Create a function atom for triggering EffectsuseAtomValue(atom)- Read atom value in ReactuseAtomSet(atom)- Get setter for writable/function atoms
Vercel AI SDK
The Vercel AI SDK is available at .context/vercel-ai/.
- Use for: AI integration patterns, streaming responses, and tool calling
AI Elements
The AI Elements library is available at .context/ai-elements/.
- Use for: React components for AI chat interfaces