Use Lat's knowledge graph to ground each task before changing code. After EVERY task, before responding to the user: Lat.md is the project's structured knowledge graph for architecture, design decisions, behavior, and tests. The graph lives in lat.md/ as cross-linked Markdown describing what the project does and why. Use it to ground work in actual architecture, and keep it a focused snapshot of the current implemented state rather than a journal or changelog. Project-specific lat documentation belongs in lat.md/. Do…
2k2mo agoReviewMountCreate a free account to mount
Use pnpm for all package management commands (not npm or yarn). Exception: End-user install instructions should use npm (e.g. npx emulate, npm install emulate) since npm is universal. emulate is a zsh built-in command (it sets shell emulation mode). Running bare emulate in zsh invokes the shell built-in, not the npm binary. Always use npx emulate in user-facing CLI examples, docs, skills, help output, and post-command messages. The only exception is when emulate appears as a subprocess argument to another…
1.9k7mo agoReviewMountCreate a free account to mount
This version has breaking changes. APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in node_modules/next/dist/docs/ before writing any code. Heed deprecation notices. <!-- END:nextjs-agent-rules -->
1.9k7mo agoReviewMountCreate a free account to mount
Version 1.0.0 Vercel Engineering January 2026 Note: This document is mainly for agents and LLMs to follow when maintaining, generating, or refactoring React and Next.js codebases. Humans may also find…
1.7k9mo agoReviewMountCreate a free account to mount
This file is the source of truth for agent guidance in this repo. CLAUDE.md is symlinked here. The session's CDP port is auto-connected. To target a different session, run d3k agent-browser connect <port> first. After any code changes, always run: Fix errors before finishing. Do not bypass hooks with --no-verify. When changes are pushed to main:
1.6k8mo agoReviewMountCreate a free account to mount
This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in node_modules/next/dist/docs/ (resolved from this file's directory; in monorepos the next package may not be visible from the repo root) before writing any code. Heed deprecation notices. This block is written and re-added by next dev — verify at node_modules/next/dist/server/lib/generate-agent-files.js. Removing it from a diff only re-creates the uncommitted change; committing it with your work keeps the tree…
Cooling+0 new adopters in 4 weeks
104 projects use a version of this
1.6k8mo agoReviewMountCreate a free account to mount
This project uses pnpm as its package manager. Always use pnpm for all package operations: Never use npm or yarn for this project. When working on this project, always follow…
1.2k13mo agoReviewMountCreate a free account to mount
AI agents with real-time knowledge base access. Project-specific guides for AI-assisted customization. When the user asks to add a tool, source, bot adapter, or rename the project, follow the corresponding skill:
1.1k9mo agoReviewMountCreate a free account to mount
The skills previously in this repository now live in the Next.js repo: https://github.com/vercel/next.js/tree/canary/skills Install: npx skills add vercel/next.js See README.md for where each old skill went.
9855mo agoReviewMountCreate a free account to mount
Run pnpm type-check after every change to ensure there are no type errors. Use the shadcn CLI (npx shadcn@latest add <component>) to install UI components in apps/web. Never write shadcn components by hand. Never use native JS alert(), confirm(), or prompt(). Use custom UI components instead. All apps and examples with dev servers use portless to avoid hardcoded ports. Portless assigns random ports and exposes each app via .localhost URLs. Naming convention: When adding a new example that runs a…
9508mo agoReviewMountCreate a free account to mount
Changesets are created in their own dedicated PRs, separate from feature or bug-fix PRs. A feature PR should contain only the code changes. After it merges, open a follow-up PR that adds the changeset.
9479mo agoReviewMountCreate a free account to mount
Always check the latest version before installing a package. Before adding or updating any dependency, verify the current latest version on npm: Or check multiple packages at once: This ensures we don't install outdated versions that may have incompatible types or missing features. Use AI Gateway string format for models, not provider packages. Do NOT install or import from provider-specific packages like @ai-sdk/openai, @ai-sdk/anthropic, etc. Instead, use the AI Gateway string format: {provider}/{model} Default model: When examples need a model,…
83911mo agoReviewMountCreate a free account to mount
This is a Turborepo monorepo. The CLI application lives in packages/ai-cli/ and shared configuration packages live in packages/. Use bun for all package management and script execution: Before installing any…
8203mo agoReviewMountCreate a free account to mount
Durable personal AI assistant built with Eve and Nuxt. This project uses Eve with a Nuxt frontend (eve/nuxt module). Before writing agent code, read the relevant guide in node_modules/eve/docs/ — start with docs/README.md, which maps each task to its page. nuxt typecheck does not cover agent/, and eve build bundles without typechecking. pnpm typecheck runs both halves; keep it that way when adding agent code. The Eve agent calls Nuxt over HTTP: Authenticated with Authorization: Bearer <INTERNAL_API_SECRET>. See server/utils/internal-api.ts. The…
4743mo agoReviewMountCreate a free account to mount
before-and-after is an agent skill that attaches screenshots and recordings to GitHub PR descriptions. Browser work belongs to agent-browser; uploads belong to gh --attach. This repo owns skill/SKILL.md, one formatter…
3923mo agoReviewMountCreate a free account to mount
This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in node_modules/next/dist/docs/ before writing any code. Heed deprecation notices. <!-- END:nextjs-agent-rules -->
Cooling1 mention in 2 weeks
189 projects use a version of this
3637mo agoReviewMountCreate a free account to mount
Version 1.0.0 Vercel Engineering January 2026 Note: This document is mainly for agents and LLMs to follow when maintaining, generating, or refactoring React and Next.js codebases. Humans may also find…
26710mo agoReviewMountCreate a free account to mount
Structured diagnostic for libraries and frameworks to keep code agents in the loop. Never use em-dashes in your writing. Structured diagnostic SDK: typed, serializable Diagnostic objects with stable codes. defineDiagnostics() → callable handles per code; call to build/report a Diagnostic, throw the returned value to raise. packages/unplugin/ (@nostics/unplugin): build-time plugins, published separately. strip-transform.ts is the build-time AST transform that marks diagnostic code as pure and wraps with NODE_ENV guard for tree-shaking; dev-server-collector.ts is the Vite dev-server WS listener that forwards…
2362mo agoReviewMountCreate a free account to mount