← スキル一覧に戻る

create-sequence-view
by a-scolan
C4 Architecture-as-Code hands-on demo with refactored microservices and legacy monolith comparison
⭐ 1🍴 0📅 2026年1月23日
SKILL.md
name: create-sequence-view description: Create sequence views showing temporal flows and user interactions. Uses plain arrows with descriptive labels (no relationship kinds).
Create Dynamic Sequence View
Use this skill when documenting use case flows and interactions.
Core Requirement: Always Include Initiating Actors
Dynamic views MUST explicitly show the actor(s) that initiate the flow for context:
- Start every sequence with the external actor (user, external system, scheduler)
- Show which user action triggers which internal flows
- Make causality explicit: "Who does what? When? Why?"
- This answers: "What triggers this behavior? Who is involved?"
Organization & Purpose
Place sequence/dynamic views in the 'Use Cases' subfolder to show temporal flows - how the system behaves during important operations.
Types of use cases to document:
- User workflows: Upload → validation → processing → storage (happy path)
- Validation & error flows: Input validation, exception handling, retries
- Async patterns: Message queues, background jobs, notifications
- Data flows: Data movement through system (retrieval, transformation, storage)
- Disaster recovery: Failover, replication, recovery procedures
- Integration patterns: External system interactions, polling, webhooks
views 'Use Cases' {
dynamic view upload_flow { ... }
dynamic view retrieval_flow { ... }
dynamic view backup_replication { ... }
dynamic view error_handling { ... }
}
Requirements
- Use
dynamic viewwith descriptive ID - Include initiating actor - ALWAYS start with external actor (user, system, scheduler)
- No relationship kinds: Use plain
->not-[kind]-> - Step labels: Add descriptive text for each interaction explaining WHAT happens
- Temporal order: Steps execute top-to-bottom showing sequence
- Folder organization: Group all use cases in
views 'Use Cases'subfolder - Title format: "Use Cases / [WorkflowName]" (e.g., "Use Cases / Upload")
Example
views 'Use Cases' {
dynamic view sequence_upload {
title 'Use Cases / Document Upload Flow'
user -> mySystem.webapp 'Opens upload form'
mySystem.webapp -> mySystem.api 'POST /upload'
mySystem.api -> mySystem.storage 'Store file'
mySystem.api -> mySystem.queue 'Queue processing job'
mySystem.queue -> mySystem.worker 'Execute job'
mySystem.worker -> mySystem.database 'Update metadata'
}
スコア
総合スコア
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
レビュー
💬
レビュー機能は近日公開予定です