From vosslab-skills
Trim `AGENTS.md` aggressively to a small pointer file (prefer ~15 lines, hard cap ~50) that points into `docs/*.md` with bare paths instead of restating rules. Use when `AGENTS.md` is bloated, philosophical, or duplicates style content already in `docs/*.md`. Does NOT touch `README.md` or files under `docs/` (use `readme-docs`, `arch-docs`, `setup-install-usage-docs`, or `docset-updater` for those).
How this skill is triggered — by the user, by Claude, or both
Slash command
/vosslab-skills:agents-md-fixerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Make `AGENTS.md` a tiny pointer file. It should mostly be bare path pointers
Make AGENTS.md a tiny pointer file. It should mostly be bare path pointers
into docs/*.md, not prose. The longer AGENTS.md grows, the worse AI coding
agents perform: they skim, prioritize poorly, and miss the load-bearing
rules. This skill audits AGENTS.md and returns an aggressively tightened
version, with the manager (the invoking agent) exercising judgment about
what is important for this repo versus frivolous.
AGENTS.md is written for AI agents, not humans. Do NOT use Markdown links
([text](path)); reference docs by bare path (docs/PYTHON_STYLE.md) so the
file stays plain for the agents that read it. Clickability on GitHub is a
human concern and is not a goal here.
Size guidance (line count is a rough proxy, not a contract; "line" means a non-blank text line in the rendered Markdown):
docs/*.md instead.AGENTS.md that links to the right
docs is better than a 40-line one that restates them.If a rule has a canonical home in docs/*.md, point to it by path, do not
restate. The docs/REPO_STYLE.md "AGENTS.md files" section describes the
philosophy.
Keep only items that are repo-specific and load-bearing:
docs/REPO_STYLE.md,
docs/PYTHON_STYLE.md,
docs/MARKDOWN_STYLE.md,
docs/PYTEST_STYLE.md, and
docs/CHANGELOG.md.git commit", branch policy, hook behavior).Flag and remove these patterns:
docs/REPO_STYLE.md, or delete if already covered there.docs/PYTHON_STYLE.md,
docs/MARKDOWN_STYLE.md, or docs/REPO_STYLE.md.docs/CHANGELOG.md or
docs/REPO_STYLE.md.For each line or section, answer in order. Stop at the first "yes" that demands action.
docs/*.md file? If yes, replace
with a link to that file.AGENTS.md.AGENTS.md and the docs/ index.wc -l AGENTS.md. Treat this as a smell test, not a
contract. If the file is already a tight pointer file (roughly under 15
non-blank lines) and every section already passes the rubric, report
"no action needed" and stop. Do not invent churn.keep, link-only, move-to-docs, or delete.move-to-docs items, identify the right docs/*.md target using
the recommended common docs list in docs/REPO_STYLE.md. If the target
doc does not exist yet, do not create it here. Note it as a follow-up
for docset-updater, setup-install-usage-docs, or arch-docs.AGENTS.md minimally: short headings, sentence case, bullet
lists with -, and bare doc paths (no Markdown links). AGENTS.md is
agent-facing; docs/MARKDOWN_STYLE.md link rules apply to human-facing
docs, not here.α if needed.-, one idea per bullet.docs/REPO_STYLE.md. Bad: [docs/REPO_STYLE.md](docs/REPO_STYLE.md).
AGENTS.md is read by AI agents, not browsed by humans, so clickability
is not a goal; a plain path keeps the file lean and unambiguous.AGENTS.md is small: prefer about 15 non-blank lines, hard cap
about 50. Smaller is always better. If you cannot get under 50, more
content belongs in docs/*.md.docs/*.md, not prose.docs/*.md content.AGENTS.md content.docs/ (so the skill can choose link targets
that actually exist).AGENTS.md patch with minimal edits, ready for review.moved: each chunk moved into docs/*.md, with the destination file.linked: each chunk replaced by a bare path pointer, with the target.deleted: each chunk deleted, with one sentence of justification.docs/*.md stubs that should exist, naming
the skill that owns each one (docset-updater, setup-install-usage-docs,
arch-docs, or readme-docs).docs/REPO_STYLE.md: "AGENTS.md files"
section sets the 100-150 line target and the "concise and operational"
rule.docs/MARKDOWN_STYLE.md: heading and
link conventions used in the rewrite.skills/readme-docs/SKILL.md: sibling
single-artifact standardizer with the same shape.Under delegate-manager-to-subagents, this skill is assigned to a fresh subagent with
one bounded task, the relevant repo rules, and one verification step. Do
not continue the same subagent across unrelated follow-up work; dispatch a
new subagent for each atomic task. See
docs/REPO_STYLE.md.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub vosslab/vosslab-skills --plugin vosslab-skills