@devground/agents-md
v1.0.1
Published
AI agent development rules — AGENTS.md + symlinks for Claude, Cursor, Copilot, Gemini
Maintainers
Readme
@devground/agents-md
AI agent development rules as AGENTS.md — the universal format recognized by Claude Code, Cursor, GitHub Copilot, and Gemini CLI.
Install
npx @devground/agents-mdOr as a dependency:
pnpm add -D @devground/agents-md
npx devground-agentsWhat it does
- Copies
AGENTS.mdto your project root with 10 development rules - Creates symlinks so every AI coding agent reads the same rules:
CLAUDE.md→AGENTS.md.cursorrules→AGENTS.md.github/copilot-instructions.md→AGENTS.md.gemini/styleguide.md→AGENTS.md
Rules Included
- TDD Strict — Red, Green, Refactor. Tests first, always.
- Conventional Commits —
feat:,fix:,test:,docs:,refactor:,chore: - Continuous Documentation — Code comments, JSDoc, commit messages, docs/
- Testing Pyramid — Many unit tests, few E2E tests
- Zero Dead Code — Delete, never comment out
- Consistent Error Handling — Try-catch in routes, descriptive errors in services
- ADR — Architecture Decision Records in
docs/ADR/ - Directory READMEs — README.md in complex directories
- Semantic Tokens — No hardcoded colors in UI components
cn()Helper — Mandatory for CSS class merging
Prompt universal para cualquier agente
El paquete incluye PROMPT.md — un prompt listo para copiar y pegar como system prompt o custom instructions en cualquier agente de IA (ChatGPT, Claude, Gemini, etc.).
# Ver el prompt
cat node_modules/@devground/agents-md/PROMPT.mdUtil cuando trabajas con agentes que no leen archivos del proyecto (como ChatGPT en la web).
Customization
After running the setup, edit AGENTS.md directly. The symlinks ensure all agents pick up your changes automatically.
Windows Support
On Windows without symlink permissions, the setup falls back to copying the file instead of symlinking.
