スキル一覧に戻る
a-scolan

document-decision

by a-scolan

C4 Architecture-as-Code hands-on demo with refactored microservices and legacy monolith comparison

1🍴 0📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: document-decision description: Create Architecture Decision Records (ADRs) documenting WHY decisions were made. Uses standard ADR format (Status/Context/Decision/Consequences).

Document Architecture Decision

Use this skill when recording system design decisions for LikeC4-modeled architectures.

Purpose

Create Architecture Decision Records (ADRs) that explain WHY architectural choices were made in the system diagrams, not HOW the diagrams are built or maintained.

Scope

  • ✅ System design decisions (e.g., why Kong API Gateway vs HAProxy, why MongoDB vs PostgreSQL)
  • ✅ Container-level technology choices (e.g., why RabbitMQ for queuing, why MinIO for storage)
  • ✅ Component architecture patterns (e.g., why async processing, why microservices)
  • ✅ Deployment infrastructure choices (e.g., why 3-node replication, why specific VM sizing)
  • ❌ NOT repository structure, tooling, CI/CD setup, or LikeC4 modeling decisions

Format

  1. Filename: ADR/NNNN-decision-title.md (manually increment NNNN)
  2. Template: Use ADR/0000-template.md as reference
  3. Sections: Status, Context, Decision, Consequences (Positive/Negative/Neutral)

Example

# ADR-0001: API Gateway Selection - Kong vs HAProxy

## Status
Accepted

## Context
Legacy system used HAProxy as a simple load balancer. Microservices architecture requires:
- API-aware routing based on paths, headers, JWT claims
- Built-in authentication (JWT validation, OAuth2)
- Rate limiting and circuit breakers
- Plugin ecosystem for extensibility

## Decision
Upgrade from HAProxy to Kong API Gateway

## Consequences

### Positive
- Routes to multiple backend services with path-based rules
- JWT validation out-of-the-box, reducing custom auth code
- Production-grade rate limiting without custom implementation
- Extensible via Lua plugins

### Negative
- More complex configuration than HAProxy
- Requires learning Kong admin API and declarative config
- Higher resource footprint (but acceptable for use case)

Integration with LikeC4

  • Reference elements from diagrams: "The decision affects mySystem.apiGateway (Container_ReverseProxy)"
  • Link to views: "See deployment view: deployment_api_tier"
  • Tag related decisions: Use frontmatter or Notes section to link ADRs

スコア

総合スコア

45/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

0/5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です