init-agents-md
init-agents-md Skill
概述
此 skill 用于在项目根目录生成 AGENTS.md 入口文件和 docs/ 最小骨架,建立面向 agent 的文档治理体系。
核心设计原则来自 OpenAI Harness Engineering 实践:
- AGENTS.md 是目录,不是百科全书:~100 行的入口,指向 docs/ 中的深层真相
- 仓库是知识的系统性记录:Agent 看不到的东西对它等同于不存在
- 渐进式披露:从最小骨架开始,文档随项目复杂度按需创建
- INDEX.md 是导航层:每个目录必须有
INDEX.md,Agent 通过逐层读取索引检索文档,而非扫描目录树
使用方式
在项目中执行:
/init-agents-md
More from ai-feier/skills
lesson
Use when user mentions '/lesson', '记录经验', '铁律', or wants to capture lessons learned. Automatically extracts insights from conversation and writes them to project's MEMORY.md. Also triggers when agent makes mistakes or discovers important patterns.
11openspec-propose
Propose a new change with all artifacts generated in one step. Use when the user wants to quickly describe what they want to build and get a complete proposal with design, specs, and tasks ready for implementation.
2openspec-explore
Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements. Use when the user wants to think through something before or during a change.
2your-skill-name
Describe what this skill does and when Claude/OpenCode should use it. Be specific about trigger phrases and scenarios. Write it 'pushy' — err on the side of triggering too often rather than too little.
2openspec-apply-change
Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.
2openspec-archive-change
Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a change after implementation is complete.
2