adaptive-docs-extract

Refactor bloated AGENTS.md and CLAUDE.md content into a three-layer adaptive docs system.

25|4|Updated Sep 5, 2010
One-click install
npx skills add https://github.com/divad12/dotfiles --skill adaptive-docs-extract
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: adaptive-docs-extract
Source: https://github.com/divad12/dotfiles/tree/main/.claude/skills/adaptive-docs-extract
Command: npx skills add https://github.com/divad12/dotfiles --skill adaptive-docs-extract

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Refactor bloated AGENTS.md and CLAUDE.md root instructions into a concise three-layer adaptive docs system (root guide, on-demand docs in docs/ai, and nested guardrails), reducing duplication and improving discovery.

Core Features & Use Cases

  • Identify candidate topics from root documentation and categorize them for extraction.
  • Create docs/ai files and update reference tables to centralize guidance.
  • Propose nested AGENTS.md guardrails for high-risk directories and workflows.
  • Coordinate extraction with an interactive planning flow via AskUserQuestion and maintain a clean, agent-agnostic root.

Quick Start

Run the adaptive-docs-extract process to scan AGENTS.md/CLAUDE.md, propose topics for docs/ai, and generate guardrails and reference entries.

Frequently Asked Questions about adaptive-docs-extract

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I refactor bloated AGENTS.md and CLAUDE.md root instructions into modular documentation?

Refactor bloated AGENTS.md and CLAUDE.md root instructions by extracting topics into a three-layer adaptive docs system with on-demand docs/ai files and nested guardrails to reduce duplication and improve discovery.

What is a three-layer adaptive docs system for AI project documentation?

A three-layer adaptive docs system structures project guidance into a concise root guide, on-demand documentation files in docs/ai, and nested AGENTS.md guardrails for high-risk directories to improve clarity and reuse.

How do I extract topics from root documentation into docs/ai files?

Extract topics from root documentation by scanning AGENTS.md or CLAUDE.md for candidate subjects, categorizing them, generating docs/ai files with required YAML frontmatter, and updating reference tables to centralize guidance.

Does the adaptive docs extraction process support interactive planning and custom resources?

Yes, the adaptive docs extraction process coordinates steps through interactive AskUserQuestion prompts, supports optional resources like scripts and references, and proposes nested guardrails for high-risk workflows.

When should I use nested AGENTS.md guardrails instead of root instructions?

Use nested AGENTS.md guardrails when managing high-risk directories and complex workflows that require specific constraints, keeping the root AGENTS.md or CLAUDE.md file clean, concise, and agent-agnostic.