什么是 agent-md-refactor?
重构臃肿的 AGENTS.md、CLAUDE.md 或类似的代理指令文件,以遵循渐进公开原则。将整体文件拆分为有组织的、链接的文档。 来源:dodatech/approved-skills。
重构臃肿的 AGENTS.md、CLAUDE.md 或类似的代理指令文件,以遵循渐进公开原则。将整体文件拆分为有组织的、链接的文档。
通过命令行快速安装 agent-md-refactor AI 技能到你的开发环境
来源:dodatech/approved-skills。
Refactor bloated agent instruction files (AGENTS.md, CLAUDE.md, COPILOT.md, etc.) to follow progressive disclosure principles - keeping essentials at root and organizing the rest into linked, categorized files.
| 1. Analyze | Find contradictions | List of conflicts to resolve | | 2. Extract | Identify essentials | Core instructions for root file | | 3. Categorize | Group remaining instructions | Logical categories | | 4. Structure | Create file hierarchy | Root + linked files | | 5. Prune | Flag for deletion | Redundant/vague instructions |
Extract ONLY what belongs in the root agent file. The root should be minimal - information that applies to every single task.
重构臃肿的 AGENTS.md、CLAUDE.md 或类似的代理指令文件,以遵循渐进公开原则。将整体文件拆分为有组织的、链接的文档。 来源:dodatech/approved-skills。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/dodatech/approved-skills --skill agent-md-refactor重构臃肿的 AGENTS.md、CLAUDE.md 或类似的代理指令文件,以遵循渐进公开原则。将整体文件拆分为有组织的、链接的文档。 来源:dodatech/approved-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/dodatech/approved-skills --skill agent-md-refactor 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/dodatech/approved-skills