restructure-docs

Analyze and reorganize Markdown documentation by splitting, merging, and moving files.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Aivking/RUNCN --skill restructure-docs-aivking
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: restructure-docs
Source: https://github.com/Aivking/RUNCN/tree/main/.claude/skills/restructure-docs
Command: npx skills add https://github.com/Aivking/RUNCN --skill restructure-docs-aivking

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the reorganization of documentation, enhancing the separation of concerns and improving the efficiency of AI agents.

Core Features & Use Cases

  • Analyze Current Structure: Inspects the organization of all .md files within a docs/ directory.
  • Identify Issues: Checks for mixed concerns, duplication, orphaned sections, poor discoverability, and undersized files.
  • Design the Plan: Proposes a plan for restructuring including splitting, merging, moving, or renaming documents.
  • Execute: Executes the proposed restructuring actions on the documentation.
  • Verify: Confirms the restructuring was successful with no loss of content or broken links.
  • Report: Notifies the user of the actions taken, including file modifications, creations, deletions, and any issues.

Quick Start

To start restructured docs skill, use the command: /restructure-docs

Frequently Asked Questions about restructure-docs

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

FAQPage Schema
How do I automate restructuring project documentation to improve AI agent efficiency?▼

Automating documentation restructuring analyzes .md files to detect mixed concerns, duplication, and orphaned sections, then proposes and executes a plan to split, merge, or move content for clearer separation of concerns and improved AI agent efficiency.

What is the best way to separate concerns in mixed-concern markdown files?▼

Separating concerns in mixed-concern files involves analyzing your docs directory to identify overlapping topics, then automatically splitting the documents into distinct, well-structured files to enhance content discoverability.

How do I identify and fix orphaned sections and poor discoverability in my docs?▼

Identifying orphaned sections and poor discoverability requires inspecting the organization of all .md files, proposing a restructuring plan to relocate content, and executing the moves while verifying no broken links are left behind.

Can I automatically merge undersized markdown documents in my docs directory?▼

You can merge undersized markdown documents by running an automated analysis that detects small files, proposes a consolidation plan, and executes the merge while verifying content integrity and reporting all modifications.

Does the documentation restructuring process verify content integrity after moving files?▼

The documentation restructuring process verifies success by confirming no loss of content or broken links occurred during the splitting, merging, or renaming actions, and reports all file modifications or issues.