AI coding agent instructions for docs
Official documentation for Nano Collective projects. Find guides, API references, and examples to help you build with our tools.
Project Type: Next.js Web Application Primary Language: TypeScript (99% of codebase)
Key Frameworks & Libraries:
- Next.js (16.1.3) - web
- React (19.2.3) - web
Project Structure:
app/- Application codecomponents/- React/UI componentslib/- Library codepublic/- Public assetsapp/[project]/- Project filescomponents/home/- Project filescomponents/ui/- Project filesapp/[project]/docs/- Documentationapp/[project]/docs/[version]/- Project filesapp/[project]/docs/[version]/[[...slug]]/- Project files
Configuration:
package.json- Node.js dependencies and scriptspnpm-lock.yaml- Configuration file
Documentation:
LICENSE.mdREADME.mdapp/[project]/docs/[version]/[[...slug]]/not-found.tsx
Build:
npm run buildDevelopment:
npm run devStart:
npm run startLint:
npm run lint- Use camelCase for variables and functions
- Use PascalCase for classes and components
- Prefer const/let over var
- Use async/await over callbacks when possible
- Use functional components with hooks
- Follow React naming conventions for components
Test Files:
components/ui/aspect-ratio.tsx
Important Considerations:
- Check package.json for available scripts before running commands
- Be aware of Node.js version requirements
- Consider impact on bundle size when adding dependencies
- Be aware of SSR/SSG implications when making changes
- Check routing structure before adding new pages
- Follow React hooks best practices
- Consider component reusability when creating new components
- Project has 107 files across 15 directories
- Check build configuration files before making structural changes
This AGENTS.md file was generated by Nanocoder. Update it as your project evolves.