These instructions are for AI assistants working in this project.
Always open @/openspec/AGENTS.md when the request:
- Mentions planning or proposals (words like proposal, spec, change, plan)
- Introduces new capabilities, breaking changes, architecture shifts, or big performance/security work
- Sounds ambiguous and you need the authoritative spec before coding
Use @/openspec/AGENTS.md to learn:
- How to create and apply change proposals
- Spec format and conventions
- Project structure and guidelines
Keep this managed block so 'openspec update' can refresh the instructions.
Use this app for the main solana.com experience.
- Workspace:
apps/web - Package:
solana-com - Default dev port:
3000 - Public route ownership:
/,/solutions,/developers,/ecosystem,/events,/news, plus other top-level marketing routes
package.jsonnext.config.tsrewrites-redirects.mjssrc/app/[locale]/content/for guide-style content
- Largest app in the monorepo and the usual integration point for the others
- Next.js App Router with
next-intl - Shared navigation and cross-app linking come from
@solana-com/ui-chrome - A lot of behavior depends on
rewrites-redirects.mjs - Vitest is used here for unit tests
pnpm --filter solana-com dev
pnpm --filter solana-com build
pnpm --filter solana-com lint
pnpm --filter solana-com test
pnpm --filter solana-com test:e2e- Route bugs may live in rewrites/redirects rather than the page component
- Changes to shared chrome or locale routing often affect other apps too
- This app owns the proxy layer that surfaces some separately deployed apps