| name | document-mastery |
| description | Patterns, templates, and Mermaid diagrams for creating world-class technical documentation and reports. Use for: (1) Creating new .md files, (2) Adding Mermaid diagrams, (3) Structuring reports and READMEs, (4) Applying GitHub-style alerts and premium visual standards, (5) Writing professional analysis reports. |
Document Mastery
This skill consolidates technical documentation standards and Mermaid diagram visualization to ensure high-impact delivery and technical consistency. Use this skill whenever producing written deliverables — reports, READMEs, studies, or any structured document.
1. Markdown Patterns (Premium Visuals)
Alerts (GitHub Style)
Use for highlighting critical information visually.
> [!NOTE]
> Additional context or neutral observations.
> [!TIP]
> Best practices and efficiency suggestions.
> [!IMPORTANT]
> Mandatory requirements or crucial steps.
> [!WARNING]
> Breaking changes or security warnings.
> [!CAUTION]
> Risks of data loss or critical failures.
Code Blocks and Links
- Code Blocks: Always specify the language and use the
language:path/to/file format if applicable.
- Relative Links: Always use relative links
./file.md for internal movement between documents.
2. Visualization with Mermaid
Use Mermaid diagrams to explain complex flows, architectures, and data pipelines.
Common Patterns:
- Sequence Diagram: For interaction flows between systems/actors.
- Graph (Flowchart): For architectures and logical processes.
- ER Diagram: For data modeling and database schemas.
Diagramming References:
For technical syntax details and complex examples, consult the reference documents:
3. Standard Document Structure
Every reference document or report must follow this hierarchy:
- Title (H1): Clear objective.
- Overview: Executive summary of content.
- Mermaid Diagram: Visual representation of the concept.
- Technical Detail: Tables, code, or specifications.
- Workflow: Step-by-step guide or user manual.
- Maintenance Note:
> [!NOTE] Last updated: YYYY-MM-DD.
4. Report Enrichment Checklist
When producing a final report or documentation:
[!TIP]
When creating Mermaid diagrams, avoid node overload. If the diagram gets too large, break it into subgraphs or multiple files.