Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -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.