·agent-md-refactor
</>

agent-md-refactor

softaworks/agent-toolkit

重构臃肿的 AGENTS.md、CLAUDE.md 或类似的代理指令文件,以遵循渐进公开原则。将整体文件拆分为有组织的、链接的文档。

2.0K安装·82热度·@softaworks

安装

$npx skills add https://github.com/softaworks/agent-toolkit --skill agent-md-refactor

SKILL.md

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 或类似的代理指令文件,以遵循渐进公开原则。将整体文件拆分为有组织的、链接的文档。 来源:softaworks/agent-toolkit。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/softaworks/agent-toolkit --skill agent-md-refactor
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 agent-md-refactor?

重构臃肿的 AGENTS.md、CLAUDE.md 或类似的代理指令文件,以遵循渐进公开原则。将整体文件拆分为有组织的、链接的文档。 来源:softaworks/agent-toolkit。

如何安装 agent-md-refactor?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/softaworks/agent-toolkit --skill agent-md-refactor 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/softaworks/agent-toolkit