agent-j
AGENTS.md1 starsChanged 7 months agoMITView on GitHub
This project uses Next.js 16+ with MANDATORY MCP integration.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,117 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository27 other files it gives its agents.
- .agents/skills/vercel-react-best-practices/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- api-and-interface-designSkill
- browser-testing-with-devtoolsSkill
- ci-cd-and-automationSkill
- code-review-and-qualitySkill
- code-simplificationSkill
- context-engineeringSkill
- debugging-and-error-recoverySkill
- deprecation-and-migrationSkill
- documentation-and-adrsSkill
- doubt-driven-developmentSkill
- frontend-ui-engineeringSkill
- git-workflow-and-versioningSkill
- idea-refineSkill
- incremental-implementationSkill
- markdown-to-epub-converterSkill
- performance-optimizationSkill
- planning-and-task-breakdownSkill
- security-and-hardeningSkill
- shipping-and-launchSkill
- source-driven-developmentSkill
- spec-driven-developmentSkill
- test-driven-developmentSkill
- using-agent-skillsSkill
- vercel-react-best-practicesSkill
- web-design-guidelinesSkill
The file
We split this AGENTS.md into the rules it gives an agent
10 rules. About 0 are common, 1 is distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 7
Initialize First: ALWAYS call next-devtools.init({ project_path: "." }) at the start of every session.
- Very specific: line 8
Docs-First: NEVER guess Next.js APIs. Use next-devtools.nextjs_docs for ALL queries.
- Very specific: line 9
Runtime Diagnostics: Use next-devtools.nextjs_index and nextjs_call to inspect the running app before making changes.
- Distinctive: line 34
Project Showcases: Use a structured layout for project entries including: Title, Tech Stack (icons preferred), Description, and GitHub/Live …
- Very specific: line 38
Performance: Ensure high Lighthouse scores by optimizing images and leveraging Next.js Font optimization.
- Very specific: line 42
Server Components: Default to RSC. Use 'use client' only for interactive UI (e.g., mobile nav toggle, contact form, or theme switcher).
- Very specific: line 43
shadcn/ui: Use bun x shadcn@latest add [component] for all base UI elements.
- Very specific: line 44
Icons: Use lucide-react for general icons and simple svg components for brand-specific tech logos.
- Very specific: line 49
Bun Priority: Always use bun (e.g., bun dev, bun add, bun run format) for terminal commands.
- Very specific: line 50
MCP Verification: Use browser_eval to verify UI changes in a real browser context.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- BEGIN:nextjs-agent-rules -->Next.js 16+ Development Protocol
This project uses Next.js 16+ with MANDATORY MCP integration.
- Initialize First: ALWAYS call
next-devtools.init({ project_path: "." })at the start of every session. - Docs-First: NEVER guess Next.js APIs. Use
next-devtools.nextjs_docsfor ALL queries. Readnextjs-docs://llms-indexfirst. - Runtime Diagnostics: Use
next-devtools.nextjs_indexandnextjs_callto inspect the running app before making changes. - Async APIs: Be strictly compliant with async
params,searchParams,cookies(), andheaders(). - Cache Components: This project is prepared for Cache Components. Use
"use cache"where appropriate.
<!-- END:nextjs-agent-rules -->Project Context: Software Engineer Portfolio
Overview
- This project is a Personal Portfolio Showcase for a Software Engineer.
- Goal: Highlight technical expertise, project history, and professional identity with a clean, high-performance UI.
Core Tech Stack
- Framework: Next.js 16+ (App Router)
- Runtime/Package Manager: Bun (Use
bunfor all commands) - Styling: Tailwind CSS
- UI Components: shadcn/ui
- State Management: React Server Components (RSC) by default.
- Language: TypeScript (Strict mode)
Portfolio-Specific Guidelines
- Visual Style: Minimalist, modern, and developer-centric. Use subtle animations (e.g., Framer Motion) for page transitions.
- Project Showcases: Use a structured layout for project entries including: Title, Tech Stack (icons preferred), Description, and GitHub/Live Demo links.
- Content Management:
- Static blog content:
content/blog/*.md - Portfolio data:
app/projects/data.tsandapp/blog/data.ts
- Static blog content:
- Performance: Ensure high Lighthouse scores by optimizing images and leveraging Next.js Font optimization. Use
nextjs_callwithget_diagnosticsto verify performance.
Coding Standards
- Server Components: Default to RSC. Use
'use client'only for interactive UI (e.g., mobile nav toggle, contact form, or theme switcher). - shadcn/ui: Use
bun x shadcn@latest add [component]for all base UI elements. - Icons: Use
lucide-reactfor general icons and simplesvgcomponents for brand-specific tech logos. - Data Flow: Strictly follow the unidirectional flow:
Models/Types -> Data/Repositories -> UI Components.
Execution Rules
- Bun Priority: Always use
bun(e.g.,bun dev,bun add,bun run format) for terminal commands. - MCP Verification: Use
browser_evalto verify UI changes in a real browser context. - Accessibility: Prioritize A11y. Use
browser_evalto run accessibility audits if needed.
Quality Gate (MANDATORY before every commit)
- Single Command Check:
bun run harness(Runs Lint, Types, and Build checks).
Git Conventions
- Format:
<type>(<scope>): <description>(e.g.,feat(ui): add navbar with shadcn) - Vibe Check: Lowercase description, imperative mood, no period at the end.
- Atomic Commits: One logical change per commit.
- Branching:
master(production),feat/*(development),fix/*(hotfixes).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

