From c3c13b76a8b06ac662650fc5a82a5068a62a4aeb Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 7 Apr 2026 15:27:10 +0000 Subject: [PATCH] Add AGENTS.md with Cursor Cloud specific instructions --- AGENTS.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 AGENTS.md diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..c6011b7 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,23 @@ +# AGENTS.md + +## Cursor Cloud specific instructions + +This is a **Nuxt 4 static blog** ("Basically Brogramming") with no external services or databases required for local development. + +### Quick reference + +| Task | Command | +|------|---------| +| Install deps | `npm install` | +| Dev server | `npm run dev` (port 3000) | +| Lint | `npm run lint` (runs both `lint:js` and `lint:style`) | +| Static build | `npm run generate` (output in `.output/public`) | + +### Non-obvious notes + +- **Node >= 22 required** (`engines` field in `package.json`). The VM has v22 pre-installed via nvm. +- `@nuxt/content` v3 uses an embedded `better-sqlite3` database at dev/build time — no external DB needed. +- The app runs with `ssr: false` (client-side SPA). `nuxt generate` produces static HTML in `.output/public`. +- ESLint emits a `MODULE_TYPELESS_PACKAGE_JSON` warning because `package.json` lacks `"type": "module"`. This is cosmetic and does not affect lint results. +- Husky pre-commit hook runs `npx lint-staged` (ESLint + Stylelint on staged `.js`, `.vue`, `.css` files). +- There are no automated tests in this codebase.