Reorganizes markdown documents into well-structured, consistent format while preserving content and improving readability. Use when Claude needs to: (1) Fix heading hierarchy issues (skipped levels, multiple h1s), (2) Generate or update table of contents, (3) Standardize formatting (lists, code blocks, emphasis, links), (4) Improve grammar and spelling, (5) Add missing standard sections (installation, usage, etc.), (6) Remove redundant or duplicate content, (7) Restructure technical docs, READMEs, or long-form content for better organization and flow.
Install with Tessl CLI
npx tessl i github:ArabelaTso/Skills-4-SE --skill markdown-document-structurer88
Does it follow best practices?
If you maintain this skill, you can automatically optimize it using the tessl CLI to improve its score:
npx tessl skill review --optimize ./path/to/skillValidation for skill structure
Reorganize and improve markdown documents while preserving content integrity.
Automated analysis:
python scripts/analyze_structure.py <markdown_file>Manual analysis:
Check for:
Heading Hierarchy:
Table of Contents:
Formatting Consistency:
Content Issues:
Determine:
Follow this order:
Step 1: Fix Heading Hierarchy
Step 2: Reorganize Sections
Step 3: Generate/Update TOC
Step 4: Standardize Formatting
- for unordered lists**bold** and *italic* consistentlyStep 5: Improve Content
Check:
Standard structure:
Required sections:
See document-patterns.md for detailed README patterns.
Standard structure:
Required sections:
Standard structure:
For tutorials specifically:
#) for title- for unordered lists**bold** for strong emphasis*italic* for emphasis[text](url)See markdown-best-practices.md for complete formatting guidelines.
Always preserve:
Safe to modify:
Never:
Before:
## Installation
npm install package
## Installing the Package
Run npm install package
## Setup
Install with npm install packageAfter:
## Installation
Install the package using npm:
```bash
npm install package## Adding Missing Sections
### Detection
Check document type and identify missing standard sections:
- README: Installation, Usage, License
- Technical docs: Prerequisites, Examples, Troubleshooting
- Tutorials: Prerequisites, Verification steps, Next steps
### Adding Sections
1. Determine appropriate location in document flow
2. Add section with appropriate heading level
3. Include placeholder content or note that section needs completion
4. Inform user about added sections
### Example
```markdown
## Installation
*Installation instructions to be added*
## Usage
*Usage examples to be added*## Table of Contents## Table of Contents
- [Section 1](#section-1)
- [Section 2](#section-2)
- [Subsection 2.1](#subsection-21)
- [Subsection 2.2](#subsection-22)
- [Section 3](#section-3)#api-reference-guideAfter restructuring, provide:
Summary of changes:
Restructured document:
Notes:
0f00a4f
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.