
Agent Skill 用于按 agents.md 约定生成 AGENTS.md 文件 |Claude Code 兼容
概览
Netresearch AI 技能,用于根据 agents.md 规范生成和维护 AGENTS.md 文件。 一个由上下文文件编写,而非人类文件。人类可读性是副作用,而非目标。已被60,000+个开源项目采纳。参见2,500+个代码库的官方规范和最佳实践。 该技能实现了两个互补的标准: 1. - 该技能生成的文件格式。一个简单的 Markdown 约定,用于指导 AI 编码代理,支持 Claude Code、GitHub Copilot、Cursor 以及 60,000+ 个开源项目。 2. - 该技能如何被打包和分发。一种跨AI代理的可移植程序知识格式。 - ✅ Claude Code(拟人版)- ✅ Cursor- ✅ GitHub Copilot - ✅ 其他技能兼容的AI代理 - - ~30行,包含优先规则和全局默认 - - 自动子系统检测(后端、前端、内部、cmd/) - - 来自Makefile的命令,package.json、composer.json、go。
概述(AI 翻译)
Netresearch AI 技能,用于根据 agents.md 规范生成和维护 AGENTS.md 文件。
什么是 AGENTS.md? 为AI编码代理而非人类编写的上下文文件。人类可读性是副作用,而非目标。已被60,000+个开源项目采纳。查看2,500+个代码库的官方规范和最佳实践。
标准合规
该技能实现了两个互补的标准:
-
agents.md - 该技能生成的文件格式。一个简单的 Markdown 约定,用于指导 AI 编码代理,支持 Claude Code、GitHub Copilot、Cursor 以及 60,000+ 个开源项目。
-
代理技能——该技能如何打包和分发。一种适用于跨AI代理的程序性知识便携格式。
支持平台:
- ✅ 克劳德·科德(拟人)
- ✅ 光标
- ✅ GitHub Copilot
- ✅ 其他技能兼容的人工智能代理
特色
- 瘦根文件 - ~30行,包含优先规则和全局默认值
- Scoped 文件 - 自动子系统检测(后端/、前端/、内部/、命令/)
- 自动解压 - 来自Makefile、package.json、composer.json、go.mod 的命令
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
AGENTS.md Generator Skill
Netresearch AI skill for generating and maintaining AGENTS.md files following the agents.md specification.
What is AGENTS.md? A context file written for AI coding agents, not humans. Human readability is a side effect, not a goal. Adopted by 60,000+ open-source projects. See the official specification and best practices from 2,500+ repositories.
Standards Compliance
This skill implements two complementary standards:
-
agents.md - The file format this skill generates. A simple Markdown convention for guiding AI coding agents, supported by Claude Code, GitHub Copilot, Cursor, and 60,000+ open-source projects.
-
Agent Skills - How this skill is packaged and distributed. A portable format for procedural knowledge that works across AI agents.
Supported Platforms:
- ✅ Claude Code (Anthropic)
- ✅ Cursor
- ✅ GitHub Copilot
- ✅ Other skills-compatible AI agents
Features
- 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
Installation
Marketplace (Recommended)
Add the Netresearch marketplace once, then browse and install skills:
# Claude Code
/plugin marketplace add netresearch/claude-code-marketplace
/plugin install agent-rules@netresearch-claude-code-marketplace
Without a marketplace
Since Claude Code 2.1.157 a plugin directory under your personal skills directory loads on its own:
mkdir -p ~/.claude/skills
git clone https://github.com/netresearch/agent-rules-skill.git \
~/.claude/skills/agent-rules
It loads as agent-rules@skills-dir on the next session. Update with git -C ~/.claude/skills/agent-rules pull and start a new session; remove it by deleting the directory. This route has no claude plugin update.
npx (skills.sh)
Install with any Agent Skills-compatible agent:
npx skills add https://github.com/netresearch/agent-rules-skill --skill agent-rules
Download Release
Download the latest release and extract to your agent’s skills directory.
Git Clone
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add netresearch/agent-rules-skill