Imported from AndreyBerezyanskiy/nn-calculator (
AGENTS.md). Install upstream withnpx skills add AndreyBerezyanskiy/nn-calculator. Copyright stays with the author.
NN Capital Calculator Instructions
Project Goal
Build a clean financial calculator web app for NN Capital.
Stack
- Next.js
- TypeScript
- Tailwind CSS
- App Router
Rules For Codex
- Before editing Next.js-specific files, check local Next.js docs in
node_modules/next/dist/docs/. - Do not overwrite user changes.
- Prefer simple, readable code.
- Keep business logic separate from UI when possible.
- Use responsive layouts.
- Run
npm run lintafter code changes. - Not over engeenering code. As simple as possilbe code should be!
Project Structure
- Pages and routes:
src/app - Components:
src/components - Calculation logic:
src/lib - Types:
src/types