Sign in
Explore
Prompts · RulesEveryday codingWeb & UIContext & memoryFrontend frameworksReviewed

AGENTS.md

Guidance for agents working on this Next.js site: use npm run dev, not npm run build, during agent sessions; keep lockfiles in sync; prefer TypeScript.

Kind
Rules
Works with
Codex, Cursor, GitHub Copilot, Gemini / Antigravity, Windsurf / Devin, Any agent
Languages
TypeScript / JavaScript
Source
AGENTS.md @ d001185d792e
Path
AGENTS.md
Jobs
Guardrails, Context management
Topics
Context & memory, Frontend frameworks

Credit

Made by
agentsmd
Original
github.com/agentsmd/agents.md/blob/d001185d792eb6402a58e4cbef…
License
MIT

Listed by Skill Manifest; not made by us.

InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
Adds
  • Text to merge into your CLAUDE.md or AGENTS.md (no new files)
Runs scripts
None found
Uses the network
None found
Needs secrets
None found
Source revision
d001185d792e
Licence
MIT
Last activity
10 Sep 2026
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

# AGENTS Guidelines for This Repository

This repository contains a Next.js application located in the root of this repository. When
working on the project interactively with an agent (e.g. the Codex CLI) please follow
the guidelines below so that the development experience – in particular Hot Module
Replacement (HMR) – continues to work smoothly.

## 1. Use the Development Server, **not** `npm run build`

* **Always use `npm run dev` (or `pnpm dev`, `yarn dev`, etc.)** while iterating on the
  application.  This starts Next.js in development mode with hot-reload enabled.
* **Do _not_ run `npm run build` inside the agent session.**  Running the production
  build command switches the `.next` folder to production assets which disables hot
  reload and can leave the development server in an inconsistent state.  If a
  production build is required, do it outside of the interactive agent workflow.

## 2. Keep Dependencies in Sync

If you add or update dependencies remember to:

1. Update the appropriate lockfile (`package-lock.json`, `pnpm-lock.yaml`, `yarn.lock`).
2. Re-start the development server so that Next.js picks up the changes.

## 3. Coding Conventions
…