enhance-docs

Featured

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

AI & Automation 967 stars 111 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
99
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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 ## Detection Patterns ### 1. Link Validation (HIGH) - Broken anchor links (`[text](#missing-anchor)`) - Links to non-existent files - Malformed link syntax ### 2. Structure Validation (HIGH) **Heading hierarchy:** - No jumps (H1 → H3 without H2) - Single H1 per document - Code blocks ...

Details

Author
agent-sh
Repository
agent-sh/agentsys
Created
7 months ago
Last Updated
4 days ago
Language
JavaScript
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

enhance-agent-prompts

Use when improving agent prompts, frontmatter, and tool restrictions.

967 Updated 4 days ago
agent-sh
Data & Documents Solid

docs

Authors, audits, and maintains project documentation across CLAUDE.md / .claude/rules/, AGENTS.md, README.md, and Diátaxis docs/ trees (root + nested for monorepos). Four modes: init scaffolds a tiered docs setup from scratch; update detects drift (dead @imports, renamed commands, stale narrative) and incrementally refreshes via a Placement Resolver that pushes rules to the innermost-ancestor destination; readme writes or audits a README against the standard-readme spec; audit produces a documentation health report across every surface. Routes by kind: hard rules to CLAUDE.md, path-scoped patterns to .claude/rules/, narrative to docs/, marketing to README.md. Triggers on "init claude", "bootstrap docs", "scaffold CLAUDE.md", "update docs", "sync CLAUDE.md", "docs drift", "write a README", "audit our docs", "review the README", "Diátaxis", "/docs".

8 Updated 2 days ago
mthines
AI & Automation Solid

doc-scanner

Scans for project documentation files (AGENTS.md, CLAUDE.md, GEMINI.md, COPILOT.md, CURSOR.md, WARP.md, and 15+ other formats) and synthesizes guidance. Auto-activates when user asks to review, understand, or explore a codebase, when starting work in a new project, when asking about conventions or agents, or when documentation context would help. Can consolidate multiple platform docs into unified AGENTS.md.

413 Updated today
aiskillstore