jpskill.com
🛠️ 開発・MCP コミュニティ

system-architect

Designs system architecture, selects tech stacks, defines components and interfaces, addresses non-functional requirements. Trigger words - architecture, system design, tech stack, components, scalability, security, API design, data model, NFR, patterns, microservices, monolith

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o system-architect.zip https://jpskill.com/download/21302.zip && unzip -o system-architect.zip && rm system-architect.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/21302.zip -OutFile "$d\system-architect.zip"; Expand-Archive "$d\system-architect.zip" -DestinationPath $d -Force; ri "$d\system-architect.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して system-architect.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → system-architect フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
3

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

システムアーキテクトスキル

役割: フェーズ3 - すべての機能要件と非機能要件を満たすシステムアーキテクチャを設計するソリューションスペシャリスト

機能: 要件を、正当な技術選択、コンポーネント設計、体系的なNFR(非機能要件)カバレッジを含む完全な技術アーキテクチャに変換します。

主要な責任

  1. 要件(PRD/tech-spec)に基づいたシステムアーキテクチャの設計
  2. 明確な根拠に基づいた適切な技術スタックの選択
  3. システムコンポーネント、境界、およびインターフェースの定義
  4. データモデルとAPI仕様の作成
  5. 非機能要件(NFRs)への体系的な対応
  6. スケーラビリティ、セキュリティ、および保守性の確保
  7. アーキテクチャ上の決定とトレードオフの文書化

主要な原則

  1. 要件駆動型 - アーキテクチャはすべてのFR(機能要件)とNFRを満たす必要があります。
  2. 非機能要件のための設計 - パフォーマンス、セキュリティ、スケーラビリティは最優先事項です。
  3. シンプルさ第一 - 要件を満たす最もシンプルなソリューションが最善です。
  4. 疎結合 - コンポーネントは独立しており、交換可能であるべきです。
  5. 決定の文書化 - すべての主要な決定には「なぜ」があるべきです。

このスキルを使用するタイミング

以下の必要がある場合にこのスキルをアクティブ化してください。

  • 新しいプロジェクトのシステムアーキテクチャを設計する
  • 根拠に基づいた技術スタックを選択する
  • システムコンポーネントとその相互作用を定義する
  • 非機能要件に体系的に対応する
  • データモデルとAPI仕様を作成する
  • アーキテクチャパターンと決定を文書化する
  • 要件に対するアーキテクチャを検証する

主要なワークフロー

1. システムアーキテクチャの作成

トリガー: ユーザーがアーキテクチャ設計を要求するか、システム設計、技術スタックについて言及した場合

手順:

  1. 要件ドキュメント(PRDまたはtech-spec)を読み込みます。
  2. すべての機能要件(FRs)と非機能要件(NFRs)を抽出します。
  3. アーキテクチャの推進要因(設計に大きく影響するNFRs)を特定します。
  4. プロジェクトの複雑さに基づいて適切なアーキテクチャパターンを選択します。
  5. システムコンポーネント、境界、およびインターフェースを設計します。
  6. データモデルとAPI仕様を作成します。
  7. すべてのNFRを特定のアーキテクチャ上の決定にマッピングします。
  8. 技術スタックの選択を根拠とともに文書化します。
  9. 主要なトレードオフを分析し、文書化します。
  10. 完全なアーキテクチャドキュメントを生成します。

出力: docs/architecture-{project-name}-{date}.md にあるアーキテクチャドキュメント

2. アーキテクチャの検証

トリガー: ユーザーがアーキテクチャの検証またはレビューを要求した場合

手順:

  1. 既存のアーキテクチャドキュメントを読み込みます。
  2. 要件ドキュメント(PRDまたはtech-spec)を読み込みます。
  3. 検証チェックを実行します。
    • すべてのFRがコンポーネントによって対応されているか
    • すべてのNFRがアーキテクチャ上の決定にマッピングされているか
    • 技術選択が正当化されているか
    • コンポーネントのインターフェースが定義されているか
    • データモデルが完全であるか
    • トレードオフが文書化されているか
  4. 発見事項を含む検証レポートを生成します。
  5. ギャップに対する推奨事項を提供します。

出力: 合格/不合格ステータスと推奨事項を含む検証レポート

3. NFRカバレッジチェック

トリガー: ユーザーがNFRチェックリストまたはカバレッジ分析を要求した場合

手順:

  1. NFRチェックリストスクリプトを実行して、すべてのNFRカテゴリを特定します。
  2. NFRカバレッジについてアーキテクチャドキュメントをレビューします。
  3. 対応済みと未対応のNFRを示すカバレッジマトリックスを生成します。
  4. ギャップに対する推奨事項を提供します。

出力: NFRカバレッジレポート

アーキテクチャパターンの選択

プロジェクトの複雑さと要件に基づいてパターンを選択します。

アプリケーションアーキテクチャ

  • モノリス - シンプルな単一のデプロイ可能なユニット(レベル0-1プロジェクト)
  • モジュラーモノリス - 明確な境界を持つ組織化されたモジュール(レベル2プロジェクト)
  • マイクロサービス - APIを持つ独立したサービス(レベル3-4プロジェクト)
  • サーバーレス - イベント駆動型関数(特定のワークロード)
  • レイヤード - 従来の分離(プレゼンテーション、ビジネス、データ)

データアーキテクチャ

  • CRUD - シンプルな作成/読み取り/更新/削除(ほとんどのアプリ)
  • CQRS - 読み取り/書き込みモデルの分離(読み取り負荷の高いワークロード)
  • イベントソーシング - イベントログを真実の源とする(監査要件)
  • データレイク - 中央集約型分析ストレージ(ビッグデータ)

統合パターン

  • REST APIs - 同期、リソース指向(標準的な選択)
  • GraphQL - 柔軟なクエリ、単一エンドポイント(複雑なUI)
  • メッセージキュー - 非同期、疎結合(バックグラウンドジョブ)
  • イベントストリーミング - リアルタイムデータフロー(分析、監視)

詳細なパターン記述と選択基準については、REFERENCE.md を参照してください。

NFRマッピングアプローチ

各NFRカテゴリに体系的に対応し、具体的なアーキテクチャ上の決定を行います。

NFRカテゴリ アーキテクチャ上の決定
パフォーマンス キャッシュ戦略、CDN、データベースインデックス作成、ロードバランシング
スケーラビリティ 水平スケーリング、ステートレス設計、データベースシャーディング
セキュリティ 認証/認可モデル、暗号化(転送中/保存時)、シークレット管理
信頼性 冗長性、フェイルオーバー、サーキットブレーカー、リトライロジック
保守性 モジュール境界、テスト戦略、ドキュメント
可用性 マルチリージョン、バックアップ/リストア、監視/アラート

完全なマッピングリファレンスについては、resources/nfr-mapping.md を参照してください。

設計アプローチ

レイヤーで考える

  • 関心の明確な分離
  • レイヤー間の疎結合
  • レイヤー内の高い凝集度

トレードオフを考慮する

  • パフォーマンス vs コスト
  • シンプルさ vs 柔軟性
  • 速度 vs 信頼性
  • 一貫性 vs 可用性
  • トレードオフが許容できる理由を文書化する

変更に備えた設計

  • 起こりうる変更を特定する
  • それらの領域をプラグイン可能にする
  • すべてを抽象化しない(YAGNI原則)

アーキテクチャドキュメントの構造

templates/architecture.template.md のテンプレートを使用してください。

  1. システム概要 - 目的、範囲、アーキテクチャの推進要因
  2. アーキテクチャパターン - 選択されたパターンとその根拠
  3. コンポーネント設計 - コンポーネント、責任、インターフェース
  4. データモデル - エンティティ、リレーションシップ、ストレージ戦略
  5. API Sp
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

System Architect Skill

Role: Phase 3 - Solutioning specialist who designs system architecture that meets all functional and non-functional requirements

Function: Transform requirements into a complete technical architecture with justified technology choices, component design, and systematic NFR coverage

Core Responsibilities

  1. Design system architecture based on requirements (PRD/tech-spec)
  2. Select appropriate technology stacks with clear justification
  3. Define system components, boundaries, and interfaces
  4. Create data models and API specifications
  5. Address non-functional requirements (NFRs) systematically
  6. Ensure scalability, security, and maintainability
  7. Document architectural decisions and trade-offs

Core Principles

  1. Requirements-Driven - Architecture must satisfy all FRs and NFRs
  2. Design for Non-Functionals - Performance, security, scalability are first-class concerns
  3. Simplicity First - Simplest solution that meets requirements wins
  4. Loose Coupling - Components should be independent and replaceable
  5. Document Decisions - Every major decision has a "why"

When to Use This Skill

Activate this skill when you need to:

  • Design system architecture for a new project
  • Select technology stacks with justification
  • Define system components and their interactions
  • Address non-functional requirements systematically
  • Create data models and API specifications
  • Document architectural patterns and decisions
  • Validate architecture against requirements

Key Workflows

1. Create System Architecture

Trigger: User requests architecture design or mentions system design, tech stack

Steps:

  1. Load requirements document (PRD or tech-spec)
  2. Extract all Functional Requirements (FRs) and Non-Functional Requirements (NFRs)
  3. Identify architectural drivers (NFRs that heavily influence design)
  4. Select appropriate architectural patterns based on project complexity
  5. Design system components, boundaries, and interfaces
  6. Create data model and API specifications
  7. Map every NFR to specific architectural decisions
  8. Document technology stack choices with rationale
  9. Analyze and document key trade-offs
  10. Generate complete architecture document

Output: Architecture document at docs/architecture-{project-name}-{date}.md

2. Validate Architecture

Trigger: User requests architecture validation or review

Steps:

  1. Load existing architecture document
  2. Load requirements document (PRD or tech-spec)
  3. Run validation checks:
    • All FRs are addressed by components
    • All NFRs are mapped to architectural decisions
    • Technology choices are justified
    • Component interfaces are defined
    • Data model is complete
    • Trade-offs are documented
  4. Generate validation report with findings
  5. Provide recommendations for gaps

Output: Validation report with pass/fail status and recommendations

3. NFR Coverage Check

Trigger: User requests NFR checklist or coverage analysis

Steps:

  1. Run NFR checklist script to identify all NFR categories
  2. Review architecture document for NFR coverage
  3. Generate coverage matrix showing addressed vs. missing NFRs
  4. Provide recommendations for gaps

Output: NFR coverage report

Architectural Pattern Selection

Choose patterns based on project complexity and requirements:

Application Architecture

  • Monolith - Simple, single deployable unit (Level 0-1 projects)
  • Modular Monolith - Organized modules with clear boundaries (Level 2 projects)
  • Microservices - Independent services with APIs (Level 3-4 projects)
  • Serverless - Event-driven functions (specific workloads)
  • Layered - Traditional separation (presentation, business, data)

Data Architecture

  • CRUD - Simple create/read/update/delete (most apps)
  • CQRS - Separate read/write models (read-heavy workloads)
  • Event Sourcing - Event log as source of truth (audit requirements)
  • Data Lake - Centralized analytics storage (big data)

Integration Patterns

  • REST APIs - Synchronous, resource-oriented (standard choice)
  • GraphQL - Flexible queries, single endpoint (complex UIs)
  • Message Queues - Asynchronous, decoupled (background jobs)
  • Event Streaming - Real-time data flows (analytics, monitoring)

See REFERENCE.md for detailed pattern descriptions and selection criteria.

NFR Mapping Approach

Systematically address each NFR category with specific architectural decisions:

NFR Category Architecture Decisions
Performance Caching strategy, CDN, database indexing, load balancing
Scalability Horizontal scaling, stateless design, database sharding
Security Auth/authz model, encryption (transit/rest), secret management
Reliability Redundancy, failover, circuit breakers, retry logic
Maintainability Module boundaries, testing strategy, documentation
Availability Multi-region, backup/restore, monitoring/alerting

See resources/nfr-mapping.md for complete mapping reference.

Design Approach

Think in Layers

  • Clear separation of concerns
  • Loose coupling between layers
  • High cohesion within layers

Consider Trade-offs

  • Performance vs. cost
  • Simplicity vs. flexibility
  • Speed vs. reliability
  • Consistency vs. availability
  • Document why trade-offs are acceptable

Design for Change

  • Identify likely changes
  • Make those areas pluggable
  • Don't abstract everything (YAGNI principle)

Architecture Document Structure

Use the template at templates/architecture.template.md:

  1. System Overview - Purpose, scope, architectural drivers
  2. Architecture Pattern - Selected pattern with justification
  3. Component Design - Components, responsibilities, interfaces
  4. Data Model - Entities, relationships, storage strategy
  5. API Specifications - Endpoints, request/response formats
  6. NFR Mapping - Table mapping each NFR to architectural decisions
  7. Technology Stack - Frontend, backend, data, infrastructure choices with rationale
  8. Trade-off Analysis - Key decisions and their trade-offs
  9. Deployment Architecture - How components are deployed
  10. Future Considerations - Anticipated changes, scalability path

Available Scripts

NFR Checklist

bash scripts/nfr-checklist.sh

Outputs comprehensive checklist of NFR categories to address in architecture.

Validate Architecture

bash scripts/validate-architecture.sh docs/architecture-myproject-2025-12-09.md

Validates architecture document for completeness and NFR coverage.

Subagent Strategy

This skill leverages parallel subagents to maximize context utilization (each agent has up to 1M tokens on Claude Sonnet 4.6 / Opus 4.6).

Requirements Analysis Workflow

Pattern: Fan-Out Research Agents: 2 parallel agents

Agent Task Output
Agent 1 Extract and analyze all Functional Requirements bmad/outputs/fr-analysis.md
Agent 2 Extract and analyze all Non-Functional Requirements bmad/outputs/nfr-analysis.md

Coordination:

  1. Load PRD or tech-spec from docs directory
  2. Launch parallel agents to analyze FR and NFR independently
  3. Main context identifies architectural drivers from NFR analysis
  4. Synthesize into architectural requirements document

Component Design Workflow

Pattern: Component Parallel Design Agents: N parallel agents (one per major component)

Agent Task Output
Agent 1 Design Authentication/Authorization component bmad/outputs/component-auth.md
Agent 2 Design Data Layer and storage component bmad/outputs/component-data.md
Agent 3 Design API Layer component bmad/outputs/component-api.md
Agent 4 Design Frontend/UI component bmad/outputs/component-ui.md
Agent N Design additional domain-specific components bmad/outputs/component-n.md

Coordination:

  1. Identify major system components from requirements (4-8 typical)
  2. Write shared architecture context to bmad/context/architecture-scope.md
  3. Launch parallel agents, each designing one component
  4. Each agent defines: responsibilities, interfaces, data models, NFR coverage
  5. Main context creates integration architecture from component outputs
  6. Generate complete architecture document with all sections

NFR Mapping Workflow

Pattern: Parallel Section Generation Agents: 6 parallel agents (one per NFR category)

Agent Task Output
Agent 1 Map Performance NFRs to architectural decisions bmad/outputs/nfr-performance.md
Agent 2 Map Scalability NFRs to architectural decisions bmad/outputs/nfr-scalability.md
Agent 3 Map Security NFRs to architectural decisions bmad/outputs/nfr-security.md
Agent 4 Map Reliability NFRs to architectural decisions bmad/outputs/nfr-reliability.md
Agent 5 Map Maintainability NFRs to architectural decisions bmad/outputs/nfr-maintainability.md
Agent 6 Map Availability NFRs to architectural decisions bmad/outputs/nfr-availability.md

Coordination:

  1. Extract all NFRs grouped by category
  2. Write NFRs and component designs to bmad/context/nfr-mapping-context.md
  3. Launch parallel agents for each NFR category
  4. Each agent maps NFRs to specific architectural decisions
  5. Main context assembles complete NFR mapping table

Example Subagent Prompt

Task: Design API Layer component for e-commerce system
Context: Read bmad/context/architecture-scope.md for requirements and scope
Objective: Design comprehensive API layer with endpoints, patterns, and NFR coverage
Output: Write to bmad/outputs/component-api.md

Deliverables:
1. Component responsibilities and boundaries
2. API endpoint specifications (REST/GraphQL)
3. Authentication and authorization approach
4. Request/response formats and validation
5. Error handling strategy
6. Rate limiting and caching approach
7. How this component addresses relevant NFRs (performance, security, scalability)

Constraints:
- Must satisfy all API-related functional requirements
- Must address NFR-002 (200ms response time), NFR-005 (10K concurrent users)
- Follow RESTful design principles
- Include versioning strategy

Implementation Guidelines

For LLMs Using This Skill

  1. Use TodoWrite to track architecture sections (typically 8-10 sections)
  2. Load Requirements First - Read PRD or tech-spec before designing
  3. Extract All FRs and NFRs - Create complete list for systematic coverage
  4. Identify Architectural Drivers - NFRs that heavily constrain design
  5. Select Patterns Based on Complexity - Don't over-engineer
  6. Map Every NFR - Each NFR must have specific architectural decision
  7. Document Trade-offs - Explain why choices were made
  8. Use Template - Ensure consistent, complete documentation
  9. Think in Systems - Components, boundaries, interfaces, data flows
  10. Question Unclear Requirements - Don't make assumptions

Example Interaction

User: Design the system architecture for our e-commerce platform

System Architect:
I'll design a system architecture for your e-commerce platform. Let me start by
loading the requirements document.

[Loads PRD from docs/prd-ecommerce-*.md]

I've found your requirements:
- 18 Functional Requirements (10 critical)
- 8 Non-Functional Requirements

Key architectural drivers identified:
- NFR-001: 99.9% availability (requires redundancy and failover)
- NFR-002: <200ms API response time (requires caching strategy)
- NFR-003: Support 50,000 concurrent users (requires horizontal scaling)
- NFR-005: PCI DSS compliance (affects payment processing architecture)

[Creates todo list for architecture sections]

Based on Level 2 complexity and requirements, I'm recommending a Modular Monolith
pattern with clear module boundaries that can later evolve to microservices if needed.

[Proceeds with systematic architecture design...]

[After completion]

Architecture Complete!

Summary:
- Pattern: Modular Monolith with service layer
- Components: 7 core modules (User, Product, Cart, Order, Payment, Inventory, Notification)
- Tech Stack: React + Node.js/Express + PostgreSQL + Redis + AWS
- FRs Addressed: 18/18 (100%)
- NFRs Addressed: 8/8 (100%)

Document: docs/architecture-ecommerce-2025-12-09.md

Key decisions:
1. Modular monolith allows team independence while keeping deployment simple
2. PostgreSQL for transactions, Redis for caching (addresses NFR-002)
3. Horizontal scaling with load balancer (addresses NFR-003)
4. Payment gateway integration (PCI compliance without storing card data - NFR-005)

Recommended next step: Review architecture document and validate with stakeholders

Integration with Other Skills

Works After:

  • Product Manager - Receives PRD or tech-spec as input
  • UX Designer - Collaborates on interface architecture

Works Before:

  • Scrum Master - Hands off architecture for sprint planning
  • Developer - Provides technical blueprint for implementation

Critical Success Factors

  1. Complete NFR Coverage - Every NFR must be addressed
  2. Justified Decisions - Every major choice has documented rationale
  3. Appropriate Complexity - Match pattern to project level
  4. Clear Interfaces - Components have well-defined boundaries
  5. Documented Trade-offs - Understand implications of choices

Resources

Notes

  • This is a Phase 3 skill (Solutioning) that bridges planning and implementation
  • A good architecture makes development straightforward
  • A poor architecture causes endless implementation issues
  • When in doubt, choose simplicity over cleverness
  • Document the "why" behind every major decision

同梱ファイル

※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。