Menu

1 / 5

CLAUDE.md Examples From 28 Shipped Next.js and NestJS Apps (2026)

DEV Community: nextjs·Aniq UI·about 7 hours ago
#ODMXAM0T
#devtonextjs#devto#dev#region#claude
Reading 0:00
15s threshold

Originally published on the Aniq UI blog .

The CLAUDE.md examples worth copying are short and specific: the exact commands, ports and conventions of one real project, well under 200 lines, with nothing Claude could learn by opening the folders. File trees and dependency lists cost context in every session and teach Claude nothing new.

This page gives four claude md examples written from the code of the 28 Next.js and NestJS apps we ship: a root file, a Next.js app, a NestJS API and an AGENTS.md for Codex and Cursor. Each line comes with its reason, and a free skill at the end drafts and checks these files from your code.

The short version

Put a short CLAUDE.md at the repository root and one in each app folder. App files load only when Claude works in that folder.

Write what the code does not show at a glance: exact scripts, ports, how the apps connect, conventions with a file to copy, quiet traps.

Stay under 200 lines per file.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.