Skip to main content

c4-architecture-documentation

C4 architecture model for documenting static HTML/CSS websites with MCP server integrations

소스 정보

저장소
Hack23/riksdagsmonitor
최근 소스 활동
2026년 4월 16일 09:31
감지된 SKILL.md 언어
영어
스타
12
포크
4

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
c4-architecture-documentation
description
C4 architecture model for documenting static HTML/CSS websites with MCP server integrations
license
Apache-2.0
# C4 Architecture Documentation ## 🔴 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 Document Riksdagsmonitor architecture using C4 model (Context, Container, Component, Code). ## C4 Model Levels ### Level 1: Context Diagram Shows system in environment with users and external systems. ```mermaid C4Context title System Context - Riksdagsmonitor Person(citizen, "Citizen", "Seeks political transparency") System(riksdag, "Riksdagsmonitor", "Static HTML/CSS website for Swedish Parliament monitoring") System_Ext(github_pages, "GitHub Pages", "Static site hosting with CDN") System_Ext(riksdag_api, "Riksdag-Regering MCP", "Swedish political data API (32 tools)") System_Ext(cia, "CIA Platform", "Political intelligence backend") Rel(citizen, riksdag, "Views political data", "HTTPS") Rel(riksdag, github_pages, "Hosted on", "HTTPS, TLS 1.3") Rel(riksdag, riksdag_api, "Fetches data via", "HTTP MCP") Rel(riksdag, cia, "Links to", "HTTPS") ``` ### Level 2: Container Diagram Shows high-level technology choices. ```mermaid C4Container title Container Diagram - Riksdagsmonitor Person(citizen, "Citizen") Container(web, "Web Application", "HTML5/CSS3", "Static website with 14 languages") Container(mcp, "MCP Servers", "Node.js", "riksdag-regering, filesystem, memory, git") Container(gh_actions, "GitHub Actions", "CI/CD", "Quality checks, deployment") ContainerDb(git_repo, "Git Repository", "GitHub", "Version control, content storage") System_Ext(github_pages, "GitHub Pages") System_Ext(riksdag_api, "Riksdagen API") Rel(citizen, web, "Views", "HTTPS") Rel(web, github_pages, "Hosted on") Rel(mcp, riksdag_api, "Fetches data") Rel(gh_actions, git_repo, "Deploys from") Rel(gh_actions, github_pages, "Publishes to") ``` ### Level 3: Component Diagram Shows internal structure. ## Documentation Structure **ARCHITECTURE.md Template:** ```markdown # Architecture ## Executive Summary ## System Context (C4 Level 1) ## Container View (C4 Level 2) ## Component View (C4 Level 3) ## Technology Stack ## Security Architecture ## Deployment Pipeline ## References ``` ## References - **C4 Model**: https://c4model.com - **ARCHITECTURE.md**: Complete C4 models - **Mermaid Docs**: https://mermaid.js.org/
GitHub에서 보기