Agent Rules
Generate and maintain AGENTS.md, copilot-instructions.md, and other agent rule files. Extracts CI rules, architecture boundaries, ADRs, and GitHub rulesets. Supports Go, PHP, TYPO3, Symfony, Python, TypeScript, and skill repos.
Install
Pick whichever fits your project — they all reach the same skill.
-
Claude Code via this marketplace /plugin install agent-rules@netresearch-claude-code-marketplace -
npx any Agent Skills CLI npx skills add https://github.com/netresearch/agent-rules-skill --skill agent-rulesUniversal Agent Skills CLI from
skills.sh— works across Claude Code, Cursor, GitHub Copilot, Codex, Gemini CLI and 30+ more agents. -
composer require PHP project, as a package composer require netresearch/agent-rules-skillRequires
netresearch/composer-agent-skill-plugin— resolves Agent Skills as Composer dependencies in PHP projects, auto-discovers skills, generates AGENTS.md. -
composer skills:add PHP project, direct source composer skills:add github:netresearch/agent-rules-skillProvided by
netresearch/composer-agent-skill-plugin— pins skill repos directly without going through Packagist, locks them incomposer.skills.lock.
What you can do with it
- Thin Root Files - ~30 lines with precedence rules and global defaults
- Scoped Files - Automatic subsystem detection (backend/, frontend/, internal/, cmd/)
- Auto-Extraction - Commands from Makefile, package.json, composer.json, go.mod
- Multi-Language - Templates for Go, PHP, TypeScript, Python, and hybrid projects
- Idempotent Updates - Preserve existing structure while refreshing content
- Managed Headers - Mark files as agent-maintained with timestamps
What it expects in your project
- Add the Netresearch marketplace once, then browse and install skills: