install
source · Clone the upstream repo
git clone https://github.com/ComeOnOliver/skillshub
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ComeOnOliver/skillshub "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/netresearch/agent-rules-skill/agent-rules" ~/.claude/skills/comeonoliver-skillshub-agent-rules && rm -rf "$T"
manifest:
skills/netresearch/agent-rules-skill/agent-rules/SKILL.mdsource content
AGENTS.md Generator Skill
Overview
Generate and maintain AGENTS.md files following the agents.md convention. AGENTS.md is FOR AGENTS, not humans.
When to Use
- Creating a new project and establishing baseline AGENTS.md
- Standardizing existing projects with consistent agent documentation
- Ensuring multi-repo consistency across repositories
- Checking if AGENTS.md files are current with recent code changes
- Onboarding AI agents to an unfamiliar codebase
Quick Reference
| Script | Purpose |
|---|---|
| Generate AGENTS.md files |
| Validate structure compliance |
| Check if files are outdated vs git commits |
| Verify documented files/commands match codebase |
| Verify documented commands execute |
| Detect language, version, build tools |
| Identify directories needing scoped files |
| Extract commands from build configs |
See
references/scripts-guide.md for full options and validation checklist.
Core Principles
- Structured over Prose -- tables and maps parse faster than paragraphs
- Verified Commands -- commands that don't work waste 500+ tokens debugging
- Pointer Principle -- point to files, don't duplicate content
- Golden Samples -- one example file beats pages of explanation
- Audit Before Generating -- discover existing docs and pain points before running scripts
Language Choice
Default to English. Exception: match your code's naming language to prevent agents mixing languages.
Prerequisites
| Requirement | Version | Notes |
|---|---|---|
| Bash | 4.3+ | Nameref variables (). macOS: |
| jq | 1.5+ | JSON processing |
| git | 2.0+ | For git history analysis |
References
Detailed documentation in
references/:
| File | Contents |
|---|---|
| Verification steps, name matching, command verification, design principles |
| Script options, post-generation validation checklist |
| Claude Code shim, Codex stacking, Copilot integration |
| Root/scoped sections, auto-generate vs manual curation |
| Analysis of 21 real-world AGENTS.md files |
| Coverage guidance for PHP/TYPO3, Go, TypeScript |
| Complete examples (coding-agent-cli, ldap-selfservice, simple-ldap-go, t3x-rte-ckeditor-image) |
Asset Templates
Root templates in
assets/: root-thin.md (~30 lines, default), root-verbose.md (~100 lines).
Scoped templates in
assets/scoped/: backend-go.md, backend-php.md, typo3.md, oro.md, cli.md, frontend-typescript.md.
Supported Project Types
| Language | Project Types |
|---|---|
| Go | Libraries, web apps (Fiber/Echo/Gin), CLI (Cobra/urfave) |
| PHP | Composer packages, Laravel/Symfony |
| PHP/TYPO3 | TYPO3 extensions (auto-detected via ) |
| PHP/Oro | OroCommerce, OroPlatform, OroCRM bundles |
| TypeScript | React, Next.js, Vue, Node.js |
| Python | pip, poetry, Django, Flask, FastAPI |
| Hybrid | Multi-language projects (auto-creates scoped files per stack) |