agentsmd-optimize

仓库创建 2025年12月9日最近提交 9 天前SkillHot 收录 20 天前
▸ 精选理由

自动识别反模式并生成可应用的修复,适合维护 agent 指令集。

▸ 风险提示

会修改本地文档文件,建议先审阅再应用

这个 Skill 做什么

审计并按高价值模式自动优化 CLAUDE.md / AGENTS.md 并可应用修复。

对 CLAUDE.md / AGENTS.md 做深入审计并按高价值模式打分,标出反模式后把你批准的修复直接应用到文件里。适合在拿到审计报告后,想要文档实际变好并减少手动修改的人。特色是优先级化的修复清单和能自动落地改动,省时又务实。

▸ 展开 SKILL.md 英文原文

Audit AND optimize a CLAUDE.md / AGENTS.md instruction file — score it against the five high-leverage patterns, flag anti-patterns, then apply approved fixes in place. Use when the user says 优化 CLAUDE.md / 优化 AGENTS.md / optimize my agent doc / 帮我改 claudemd, or after an audit when they want the fixes applied (not just reported).

Skill 开发管理文档优化agent 指南自动修复通用
239
Stars
23
Forks
40
仓库内 Skill
+7
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/majiayu000/spellbook/main/skills/agentsmd-optimize/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/majiayu000/spellbook/main/skills/agentsmd-optimize/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# AGENTS.md / CLAUDE.md Optimize

## Overview

`agentsmd-audit` reports and stops. This skill goes one step further: it audits, proposes a prioritized fix list, and **applies the fixes the user approves** directly to the file. Use it when the user wants the doc improved, not just graded.

The quality bar is the same five patterns + four anti-patterns from `agentsmd-audit`. This skill adds the editing discipline: which files are safe to touch, which regions are off-limits, and how to confirm before writing.

## Operating Contract

Audit first, edit second. This skill modifies high-context files (`CLAUDE.md`, `AGENTS.md`, hooks, settings) — treat every write as gated.

Direct actions:
- Run re
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有