Development

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.

Latest release v3.10.0

Install

Pick whichever fits your project — they all reach the same skill.

  1. Claude Code via this marketplace
    /plugin install agent-rules@netresearch-claude-code-marketplace
  2. npx any Agent Skills CLI
    npx skills add https://github.com/netresearch/agent-rules-skill --skill agent-rules

    Universal Agent Skills CLI from skills.sh — works across Claude Code, Cursor, GitHub Copilot, Codex, Gemini CLI and 30+ more agents.

  3. composer require PHP project, as a package
    composer require netresearch/agent-rules-skill

    Requires netresearch/composer-agent-skill-plugin — resolves Agent Skills as Composer dependencies in PHP projects, auto-discovers skills, generates AGENTS.md.

  4. composer skills:add PHP project, direct source
    composer skills:add github:netresearch/agent-rules-skill

    Provided by netresearch/composer-agent-skill-plugin — pins skill repos directly without going through Packagist, locks them in composer.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

Tags

  • development
  • productivity