lrh-doc-organize

Reorganize documentation files into a Diataxis-compliant hierarchy while preserving links.

1|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/xenotaur/logical_robotics_harness --skill lrh-doc-organize
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lrh-doc-organize
Source: https://github.com/xenotaur/logical_robotics_harness/tree/main/.claude/skills/lrh-doc-organize
Command: npx skills add https://github.com/xenotaur/logical_robotics_harness --skill lrh-doc-organize

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill resolves documentation rot and structural drift by automating the reorganization of files into a clean, Diataxis-compliant hierarchy without breaking existing links.

Core Features & Use Cases

  • Phased Refactoring: Implements documentation moves in small, reviewable, and safe increments.
  • Link Integrity: Automatically updates internal markdown links or creates redirect stubs to prevent broken references.
  • Diataxis Enforcement: Validates that documentation content matches its target quadrant (Tutorial, How-to, Reference, or Explanation).
  • Use Case: Use this to transform a cluttered, monolithic documentation folder into a professional, navigable structure after a major project milestone.

Quick Start

Run the lrh-doc-organize skill to begin the first phase of documentation reorganization based on the most recent audit.

Frequently Asked Questions about lrh-doc-organize

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

FAQPage Schema
How do I automate documentation refactoring into a Diataxis structure?

Documentation refactoring is automated by applying predefined audit artifacts to systematically reorganize files into Tutorial, How-to, Reference, or Explanation quadrants. The skill enforces structural compliance through strict constraint-based validation of file movements.

What is the best way to reorganize documentation without breaking markdown links?

Reorganizing documentation without breaking markdown links requires automated link integrity checks during file movements. The system updates internal markdown references or generates redirect stubs to prevent broken references across the repository.

How do I clean up a cluttered documentation folder after a major project milestone?

Cleaning up a cluttered documentation folder is handled through phased refactoring, which implements documentation file moves in small, reviewable, and safe increments to transform a monolithic structure into a navigable hierarchy.

Does documentation reorganization require an audit artifact before starting?

Documentation reorganization requires predefined audit artifacts before starting the first phase. These artifacts define the target Diataxis quadrant mapping and provide the strict constraints used to validate file movements.

How does the Diataxis framework validate documentation content during refactoring?

Diataxis framework validation checks that documentation content correctly matches its target quadrant during refactoring. It verifies whether a file fits the Tutorial, How-to, Reference, or Explanation category before approving the structural move.

Can I apply incremental documentation refactoring to a software project repository?

Incremental documentation refactoring can be applied to software project repositories requiring systematic cleanup. It processes documentation folder updates and README modifications in small, reviewable phases to ensure safe structural transitions.