restructure-docs

Restructure markdown documentation by splitting, merging, moving, or renaming files.

35|27|Updated Jul 6, 2024
One-click install
npx skills add https://github.com/refined-prun/refined-prun --skill restructure-docs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: restructure-docs
Source: https://github.com/refined-prun/refined-prun/tree/main/.claude/skills/restructure-docs
Command: npx skills add https://github.com/refined-prun/refined-prun --skill restructure-docs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you untangle documentation that has become hard to navigate, making it easier to separate mixed topics, reduce duplication, and improve how quickly an AI agent can find the right information.

Core Features & Use Cases

  • Section Analysis: Reviews markdown files to map headings, topics, and file structure.
  • Restructuring Plan: Identifies when content should be split, merged, moved, or renamed.
  • Content-Preserving Moves: Reorganizes documentation without rewriting the underlying text.
  • Index and Reference Updates: Keeps documentation indexes and cross-references aligned after changes.
  • Use Case: A team has several overlapping docs with repeated guidance and mixed concerns, and this Skill reorganizes them into cleaner, more discoverable files.

Quick Start

Ask the assistant to analyze the current documentation and propose a restructuring plan for better separation of concerns.

Frequently Asked Questions about restructure-docs

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

FAQPage Schema
How do I restructure markdown documentation to reduce content duplication?

To restructure markdown documentation and reduce duplication, the Skill analyzes existing files to map headings and topics, then proposes a plan to split, merge, move, or rename content for clearer separation of concerns.

What is the best way to reorganize docs for AI retrieval?

The best way to reorganize docs for AI retrieval is to apply content-preserving moves that improve discoverability, ensuring information is separated by concern without rewriting the underlying text.

Can I split and merge markdown files without rewriting the original text?

Yes, you can split and merge markdown files without rewriting text. The Skill performs content-preserving moves, reorganizing documentation structure while keeping the original content intact.

How do I fix broken cross-references after moving documentation files?

To fix broken cross-references after moving documentation files, the Skill automatically updates documentation indexes and cross-references to align with the new file structure, verifying complete file coverage.

When do I need to restructure documentation for separation of concerns?

You need to restructure documentation for separation of concerns when your repository has multiple markdown files with overlapping guidance and mixed topics, making the information architecture hard to navigate.

Does this documentation restructuring approach require a plan approval step?

Yes, the documentation restructuring approach requires a plan approval step. It identifies when content should be split, merged, moved, or renamed, and requires your approval before executing the reorganization plan.