Skip to main content

documentation-standards

Standards for technical documentation, C4 architecture models, and Mermaid diagrams following Hack23 guidelines

Source facts

Repository
Hack23/riksdagsmonitor
Last source activity
April 16, 2026 at 09:31
Detected SKILL.md language
English
Stars
13
Forks
3

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
documentation-standards
description
Standards for technical documentation, C4 architecture models, and Mermaid diagrams following Hack23 guidelines
license
Apache-2.0
# Documentation Standards Skill ## 🔴 AI FIRST Quality Principle > **Apply the AI FIRST principle: never accept first-pass quality. Minimum 2 iterations. Read all output, improve every section. No shortcuts.** ## Purpose Ensure consistent, high-quality technical documentation following C4 architecture model and Hack23 standards. ## Document Structure Template ```markdown # Title - [Purpose] **Document Version:** X.X **Last Updated:** YYYY-MM-DD **Classification:** [Public/Internal] **Owner:** Hack23 AB (Org.nr 5595347807) ## Executive Summary [High-level overview] ## 1. Main Content [Sections with diagrams] ## Related Documentation [Links to related docs] --- **Document Control:** - **Repository:** [URL] - **Path:** /DOCUMENT.md - **Format:** Markdown with Mermaid - **Next Review:** YYYY-MM-DD ``` ## C4 Architecture Model ### Level 1: System Context ```mermaid graph TB User[Users] System[System] External[External System] User --> System System --> External ``` ### Level 2: Container ```mermaid graph TB subgraph "System" App[Application] DB[Database] end User --> App App --> DB ``` ### Level 3: Component ```mermaid graph TB subgraph "Application" Controller[Controller] Service[Service] Repository[Repository] end ``` ## Mermaid Diagram Best Practices 1. Use clear, descriptive labels 2. Consistent styling with subgraphs 3. Appropriate diagram types 4. Color coding for clarity 5. Legend when needed ## Remember - **Clarity First**: Easy to understand - **Consistency**: Follow standards - **Visual**: Use diagrams - **Completeness**: All required docs - **Maintenance**: Regular reviews ## References - [C4 Model](https://c4model.com/) - [Mermaid](https://mermaid.js.org/)
View on GitHub