Agent skill · Documentation

enhance-docs

Use when improving documentation structure, accuracy, and RAG readiness.

agent-sh404★ · +29/wk · 2 repos on radarProfile →
claude-codecodexcursorMIT
Install
npx skills add agent-sh/agentsys --skill enhance-docs --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 7 KB
Bundled scripts: none
Version: 5.1.0
Path: .kiro/skills/enhance-docs/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 923
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# enhance-docs Analyze documentation for readability, structure, and RAG optimization. ## Parse Arguments ```javascript const args = '$ARGUMENTS'.split(' ').filter(Boolean); const targetPath = args.find(a => !a.startsWith('--')) || '.'; const fix = args.includes('--fix'); const aiMode = args.includes('--ai'); ``` ## Documentation Locations | Type | Location | Purpose | |------|----------|---------| | User docs | `docs/*.md`, `README.md` | Human-readable guides | | Agent docs | `agent-docs/*.md` | AI reference material | | Project memory | `CLAUDE.md`, `AGENTS.md` | AI context/instructions | ## Optimization Modes ### AI-Only Mode (`--ai`) For agent-docs and RAG-optimized documentation: - Aggressive token reduction - Dense information packing - Self-contained sections for retrieval - Optimal chunking boundaries ### Both Mode (`--both`, default) For user-facing documentation: - Balance readability with AI-friendliness - Clear structure for both humans and retrievers ## Workflow 1. **Discover** - Find all .md files 2. **Parse** - Extract structure and content 3. **Check** - Run pattern checks based on mode 4. **Report** - Generate markdown output 5. **Fix** - Apply auto-fixes if --fix

What's inside
Steps it walks through
  1. Parse Arguments
  2. Documentation Locations
  3. Optimization Modes
  4. AI-Only Mode (--ai)
  5. Both Mode (--both, default)
  6. Workflow
  7. Detection Patterns
  8. 1. Link Validation (HIGH)
  9. 2. Structure Validation (HIGH)
  10. 3. Token Efficiency (HIGH - AI Mode)
  11. 4. RAG Optimization (MEDIUM - AI Mode)
  12. 5. Information Density (MEDIUM - AI Mode)
  13. 6. Cross-Reference Quality (MEDIUM)
  14. 7. Balance Suggestions (MEDIUM - Both Mode)
More from agentsys
All skills →
About this skill
What does the enhance-docs skill do?

Use when improving documentation structure, accuracy, and RAG readiness.

How do I install it?

Run `npx skills add agent-sh/agentsys --skill enhance-docs --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From agent-sh/agentsys, a repository with 923 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going