--- name: doc-formatter description: Format documentation with emojis, status bars, and versioning matrix. Use when creating or updating README files, documentation, specs, or any markdown files. --- # Documentation Formatter Ensures all documentation has consistent formatting with emojis, status indicators, and version tracking. ## Required Elements ### 1. Emojis for Section Headers Use these emojis consistently: | Section | Emoji | |---------|-------| | Overview/About | ๐Ÿ“‹ | | Features | โœจ | | Installation | ๐Ÿ“ฆ | | Quick Start | ๐Ÿš€ | | Usage | ๐Ÿ’ก | | Configuration | โš™๏ธ | | API/Reference | ๐Ÿ“š | | Examples | ๐Ÿ“ | | Testing | ๐Ÿงช | | Deployment | ๐ŸŒ | | Contributing | ๐Ÿค | | Changelog | ๐Ÿ“œ | | License | ๐Ÿ“„ | | Warning/Caution | โš ๏ธ | | Important | โ— | | Tip/Note | ๐Ÿ’ก | | Success | โœ… | | Error/Fail | โŒ | | In Progress | ๐Ÿ”„ | | Deprecated | โ›” | ### 2. Status Bars (Shields.io Badges) Include at the top of every README: ```markdown ![Status](https://img.shields.io/badge/Status-Active-success) ![Version](https://img.shields.io/badge/Version-1.0.0-blue) ![Last Updated](https://img.shields.io/badge/Last%20Updated-Dec%202025-orange) ``` #### Status Options - `Active` (green/success) - `Maintenance` (yellow/warning) - `Deprecated` (red/critical) - `Beta` (blue/informational) - `Alpha` (purple) ### 3. Versioning Matrix Include a compatibility/version matrix table: ```markdown ## ๐Ÿ“Š Version Matrix | Version | Status | Release Date | Node | Python | Notes | |---------|--------|--------------|------|--------|-------| | 3.0.0 | โœ… Current | Dec 2025 | 18+ | 3.9+ | Major refactor | | 2.1.0 | ๐Ÿ”„ Maintained | Nov 2025 | 16+ | 3.8+ | Security fixes only | | 1.x.x | โ›” Deprecated | Oct 2024 | 14+ | 3.7+ | No longer supported | ``` Adapt columns based on project type (languages, frameworks, APIs, etc.) ## Template ```markdown
# ๐Ÿ“‹ Project Name Brief description here. ![Status](https://img.shields.io/badge/Status-Active-success) ![Version](https://img.shields.io/badge/Version-1.0.0-blue) ![Last Updated](https://img.shields.io/badge/Last%20Updated-Dec%202025-orange)
--- ## โœจ Features - Feature 1 - Feature 2 ## ๐Ÿš€ Quick Start 1. Step one 2. Step two ## ๐Ÿ“Š Version Matrix | Version | Status | Release Date | Notes | |---------|--------|--------------|-------| | 1.0.0 | โœ… Current | Dec 2025 | Initial release | ## โš™๏ธ Configuration Configuration details... ## ๐Ÿ“š API Reference API documentation... ## ๐Ÿงช Testing How to run tests... ## ๐Ÿค Contributing Contribution guidelines... ## ๐Ÿ“œ Changelog See [CHANGELOG.md](CHANGELOG.md) ## ๐Ÿ“„ License License information... --- *Last Updated: December 2025* ``` ## Formatting Rules 1. **Every major section** gets an emoji prefix 2. **Status badges** go at the top, centered 3. **Version matrix** required for any project with releases 4. **Tables** should use emoji status indicators (โœ… โŒ ๐Ÿ”„ โ›”) 5. **Code blocks** should specify language for syntax highlighting 6. **Links** should be descriptive, not "click here" ## When to Apply Apply this formatting when: - Creating new README.md files - Updating existing documentation - Writing spec documents - Creating CHANGELOG files - Any markdown file in the project