Backend Architecture Orchestratorのロゴ

Backend Architecture Orchestrator

コミュニティ
LuckyOneTwoThree
backend-architecture-orchestrator

バックエンドアーキテクチャの設計、アーキテクチャパターンの選定、またはアーキテクチャレビューを行うときに使います。バックエンドアーキテクチャの司令塔として、backend-architecture-spec(設計)とbackend-architecture-impl(実装)の全工程を統括し、妥当で拡張性と品質に優れたアーキテクチャを実現します。コード生成の前に、設計成果物を人がレビューすることを徹底します。キーワード:バックエンドアーキテクチャ、アーキテクチャパターン、サービス設計、アーキテクチャレビュー、技術アーキテクチャ、マイクロサービス、システムアーキテクチャ、コード生成。

概要

公開者LuckyOneTwoThree
リポジトリvibe-skill
スキル名backend-architecture-orchestrator
スター
34
フォーク
8
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    LuckyOneTwoThreeがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Backend Architecture Orchestrator」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/LuckyOneTwoThree/vibe-skill/tree/main/.codex/skills/backend-architecture-orchestrator
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LuckyOneTwoThree/vibe-skill.git /tmp/vibe-skill
mkdir -p .claude/skills
cp -r /tmp/vibe-skill/.codex/skills/backend-architecture-orchestrator .claude/skills/backend-architecture-orchestrator
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでBackend Architecture Orchestratorを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にBackend Architecture Orchestratorを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Backend Architecture Orchestratorは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Backend Architecture Orchestrator

Code Write Boundary

Follow Engineering Boundary Protocol or the equivalent relative path from this skill.

  1. Scan first: identify framework, package manager, module layout, ORM, migration tool, validation library, auth middleware, and test conventions before implementation.
  2. Target scope: declare exact files/directories to create or modify; generated code must stay inside the target module unless integration files are explicitly required.
  3. No overwrite: preserve existing business logic, routes, models, migrations, configs, and tests unless the user explicitly asks for replacement.
  4. Consistency checks: verify OpenAPI, controller/service signatures, DTO/schema validation, ER model, migrations, repositories, and auth rules are aligned.
  5. Migration safety: generated migrations must be additive by default; destructive data changes require explicit human confirmation.
  6. Implementation report: list created/modified files, skipped files, checks run, failed checks, and residual risks.

Core Principles

Architecture serves business, simple solutions first, evolve as needed. Design first, review then implement.

  1. Pattern First: Determine architecture pattern first, then design services
  2. Domain-Driven: Service boundaries determined by business domains
  3. Review Loop: If review doesn't pass, go back and fix
  4. Evolutionary: Start simple, evolve as needed
  5. Design Review: Design outputs must be reviewed and confirmed by humans before entering code implementation

Orchestration Protocol

Protocol source: orchestrator-protocol.md (for maintainers tracking only, this file has the complete protocol inlined and can be used independently)

You are an orchestrator, responsible for dispatching sub-Skills by stage, not proxy-executing sub-Skill logic. Strictly follow the protocol below:

Invocation Rules

  1. Explicit Invocation: Use the Skill tool to invoke sub-Skills, passing input data and receiving output results
  2. No Proxy Execution: Do not read sub-Skill SKILL.md to substitute execution, do not self-infer sub-Skill internal logic
  3. Contract-Driven: Only focus on sub-Skill input contracts, output contracts, and validation conditions, not internal implementation
  4. State Transfer: Pass current stage output as next stage input, transfer data via file paths
  5. Validate Before Proceeding: Only advance to next stage after current stage output validation passes
  6. Stage Summary (Mandatory): After all Pipeline stages complete, must immediately execute the post_pipeline defined stage summary action to generate summary document. This is not optional; if stage summary is not generated, orchestrator execution is considered incomplete.
  7. Cross-Sub-Skill Validation: When consistency constraints exist between outputs of multiple sub-Skills, the orchestrator may perform cross-validation between stages (reading multiple outputs to compare consistency). This is the orchestrator's coordination responsibility, not proxy-executing sub-Skill logic. Cross-validation rules are explicitly defined in the orchestrator SKILL.md.

Context Management

  • After each sub-Skill invocation completes, only retain output file paths and key conclusion summaries
  • Detailed outputs written to output/{domain-path}/{skill-name}/ directory
  • If context approaches limits, prioritize retaining current stage content and pending stage sub-Skill names

Stage Gate Standards

The orchestrator's stage gates only validate the following 3 categories of conditions, not sub-Skill internal fields:

Gate TypeValidation ContentExample
Output ExistenceOutput files generated and non-empty"backend-architecture-spec output files generated"
Top-level Structure IntegrityJSON top-level required fields exist"prd.json contains features/pages/entities"
Human Decision ConfirmationKey decision points have human confirmation"Design review human confirmation passed"

General Exception Handling

Exception TypeHandling Strategy
Stage summary generation failedGenerate partial summary based on completed sub-Skill outputs, mark missing items as "data missing", do not block orchestrator completion
Key decision point lacks human confirmationPause orchestration, output pending confirmation list, wait for human confirmation before continuing
Upstream data missingMark missing data items, fill with reasonable assumptions (mark confidence <=0.3), continue execution and highlight in output
All upstream data missingMark "all data missing" status, output minimal template, set overall confidence to 0.3, force human confirmation whether to continue

Pipeline Definition

yaml
pipeline: backend-architecture-orchestrator
version: 5.0

post_pipeline:
  - action: stage-summary
    output: output/phase-reports/backend/backend-architecture-orchestrator.md

stages:
  - id: phase-1
    name: "Backend Architecture Design Specification"
    skills:
      - backend-architecture-spec
    gate:
      condition: "backend-architecture-spec output files generated and non-empty + human review passed"
      fail_action: "P0 issues must be fixed before passing"

  - id: phase-2
    name: "Backend Architecture Code Implementation"
    depends_on: [phase-1]
    skills:
      - backend-architecture-impl
    gate:
      condition: "backend-architecture-impl output files generated and non-empty + human confirmation passed"
      fail_action: "Missing items supplemented then re-validated"

Stage Execution Plan

Stage 1: Backend Architecture Design Specification
Invoke backend-architecture-spec
Skill: backend-architecture-spec
Input:
  PRD: output/pm-design/design-prd/prd.md
  PRD Structured Data: output/pm-design/design-prd/prd.json
  Business Scale: User provided
  Technical Constraints: User provided (optional)
Output: output/backend-architecture/backend-architecture-spec/
Key Outputs:
  - architecture_decision.json -- Architecture plan + topology diagram
  - service_design.json -- Service division + bounded contexts
  - service_data_ownership.json -- Service data ownership (for data-architecture-spec consumption)
  - tech_stack_decision.json -- Tech stack decision (for all impl Skills unified consumption)
  - adr.json -- Architecture Decision Records
  - review_report.json -- Review issue list
  - tech_debt_register.json -- Tech debt register
Validation: Architecture pattern + ADR + service design + service data ownership + tech stack decision complete, P0 issues=0
Mode: AI->Human
Internal Steps:
  1. Architecture pattern evaluation and selection: Monolithic/Microservices/Serverless, generate topology diagram
  2. Architecture Decision Records: Generate ADR for each decision
  3. Service design: DDD bounded contexts + service division + communication scheme + service data ownership
  4. Backend review: Performance/security/maintainability/scalability review
  5. Tech debt registration: Identify and register technical debt

Design Review Gate: Architecture pattern + service design + review report + tech debt register complete + P0 issues=0 -> Human reviews design output -> After review passes, enter code implementation

Stage 2: Backend Architecture Code Implementation
Invoke backend-architecture-impl
Skill: backend-architecture-impl
Input:
  Architecture Plan: output/backend-architecture/backend-architecture-spec/architecture_decision.json
  Service Design: output/backend-architecture/backend-architecture-spec/service_design.json
  ADR: output/backend-architecture/backend-architecture-spec/adr.json
  Review Report: output/backend-architecture/backend-architecture-spec/review_report.json (optional)
  Tech Debt Register: output/backend-architecture/backend-architecture-spec/tech_debt_register.json (optional)
  Tech Stack Decision: output/backend-architecture/backend-architecture-spec/tech_stack_decision.json (optional)
  API Contract: output/backend-api-design/api-design-spec/openapi.yaml
  Data Model: output/backend-data-architecture/data-architecture-spec/er_model.json
  Cache Strategy: output/backend-data-architecture/data-architecture-spec/cache_strategy.json (optional)
  project_dir: User provided
  tech_stack: User provided (optional, used when tech_stack_decision.json not available)
Output: output/backend-architecture/backend-architecture-impl/ + code written to {project_dir}/
Validation: Project can start, /health returns 200, architecture decisions 100% reflected in code, unified alignment check passed, code self-review P0=0
Mode: AI->Human
Internal Steps:
  1. Project entry and configuration generation: app.ts + config (integrating api-design-impl routes + data-architecture-impl database/cache)
  2. Service layer and communication layer generation: services + clients
  3. Infrastructure code generation: errors + logger + health
  4. Containerization and CI/CD generation: Docker + CI + package.json
  5. Architecture alignment check and code self-review: app.ts integration + Service alignment + multi-environment config + Docker buildable + CI complete + unified alignment check
  6. Architecture test code generation: Health check + contract tests + build verification tests

Stage Summary (post_pipeline)

After all sub-Skills complete, must generate stage summary document, written to output/phase-reports/backend/backend-architecture-orchestrator.md, containing the following 6 structures (none can be empty):

  1. Execution Overview: Orchestrator name and version, execution time, sub-Skill execution status (success/failure/degraded)
  2. Key Findings: Core output summary for each sub-Skill (1-3 items), cross-sub-Skill insights
  3. Decision Records: Human decision points and decision results, AI automatic decisions and basis
  4. Output Inventory: All output file paths and content summaries, output quality assessment (whether validation passed)
  5. Risks and TODOs: Items that failed validation, items executed with degradation, recommended follow-up items
  6. Downstream Handoff: Which downstream orchestrators can consume this orchestrator's outputs, recommended next orchestrator
ParameterValue
Sub-Skill output pathoutput/backend-architecture/
Summary output pathoutput/phase-reports/backend/backend-architecture-orchestrator.md
Approval record pathoutput/approvals/{orchestrator-name}/{stage-id}.approval.json

Downstream handoff: primary: data-architecture-orchestrator (After architecture plan is determined, enter data architecture design) alternatives: - target: release-orchestrator reason: After architecture implementation completes, enter quality acceptance and release condition: Only executing architecture module + no data layer and API layer needed - target: ui-orchestrator reason: After backend is ready, start UI frontend development and integration condition: Frontend not yet developed + need backend API support special_cases: - target: backend-architecture-spec reason: Only need architecture design evaluation, no code implementation needed condition: Only need to evaluate architecture pattern and service design, no full orchestration flow needed

Stage Gates

GateConditionFailure Handling
Backend architecture design completebackend-architecture-spec output files generated and non-empty + human review passedP0 issues must be fixed before passing
Backend architecture code implementation completebackend-architecture-impl output files generated and non-empty + human confirmation passedMissing items supplemented then re-validated
Stage summary generatedoutput/phase-reports/backend/backend-architecture-orchestrator.md generated and all 6 structures non-emptySupplement missing structure items then regenerate

Human Decision Points

Decision PointTrigger ConditionDecision Content
Architecture pattern selectionDuring backend-architecture-spec executionMonolithic/Microservices/Serverless, human final confirmation
Service division granularityDuring backend-architecture-spec executionToo fine increases complexity, too coarse loses flexibility
Tech stack confirmationDuring backend-architecture-spec executionConfirm unified tech stack decision, affects all subsequent implementation
Service data ownership confirmationDuring backend-architecture-spec executionConfirm data entities owned by each service, affects data architecture design
Evolution paceDuring backend-architecture-spec executionWhen to evolve from monolithic to microservices, human decision
P1 issue handlingDuring backend-architecture-spec executionFix or accept as technical debt
Design review confirmationAfter backend-architecture-spec completesReview whether architecture design meets requirements, confirm before entering code implementation
Architecture readiness confirmationAfter backend-architecture-impl review passesCode implementation complete, human confirms architecture is ready for development

Exception Handling

Exception TypeHandling Strategy
PRD missingCannot design architecture, output is empty
Business scale not specifiedDefault medium scale (10K users, QPS 100, 10GB data, team of 5), mark "scale pending confirmation"
Architecture pattern disputeProvide monolithic + microservices dual-plan comparison, human decision
Service circular dependencyAuto-detect and alert, must eliminate before entering review
Review P0 issuesMust fix before passing design review
Design review not passedAdjust design based on human feedback, re-review
Code self-review P0 issuesAuto-fix then re-review, block output if unfixable
Stage summary generation failedGenerate partial summary based on completed sub-Skill outputs, mark missing items as "data missing", do not block orchestrator completion

Standalone Usage Input Acquisition Strategy

Standalone Trigger Scenario Identification

When this orchestrator is invoked directly (not through backend-orchestrator orchestration), it is considered a standalone trigger scenario. Typical trigger methods:

  • User directly requests "design backend architecture" or "select architecture pattern"
  • Triggered as an independent skill by external systems
  • Upstream orchestrator not executed, but user only needs backend architecture design capability

Required Input Acquisition Strategy

Required InputPriority: Read from output/Fallback: Get from user conversationLast Resort: AI knowledge base inference
PRD (prd.md)Read output/pm-design/design-prd/prd.mdAsk user for PRD document or verbal requirementsInfer requirements document from user description (low confidence, mark "PRD is AI-inferred")
PRD Structured Data (prd.json)Read output/pm-design/design-prd/prd.jsonAsk user for structured requirementsExtract structured data from PRD document (low confidence)
Business Scale—Ask user for business scale (user count, QPS, data volume, team size)Default medium scale: 10K users, QPS 100, 10GB data, team of 5 (low confidence, mark "scale pending confirmation")
project_dir—Ask user for project directory pathCannot infer, user must provide
tech_stack—Ask user for tech stackDefault common tech stack (low confidence, mark "tech stack pending confirmation")

Upstream Orchestrator Auto-Backtracking

When critical required inputs are missing, suggest user execute upstream orchestrators in the following priority:

Missing InputSuggested Upstream OrchestratorDescription
PRD + PRD Structured Datapm-design related orchestratorPRD is the business basis for architecture design, missing will result in architecture pattern selection and service division without business foundation

Backtracking suggestion output format:

Critical input missing detected, suggest executing upstream orchestrator first:
1. [Priority] pm-design related orchestrator -> Produces PRD
Continue with AI-inferred values? (Inferred values confidence <=0.3, outputs require additional human review)

Standalone Usage Gate

When triggered standalone, must pass the following additional checks before executing Pipeline:

Gate ItemCheck ContentFailure Handling
PRD existenceprd.md or equivalent requirements document availableBlock execution, suggest user execute pm-design orchestrator or provide PRD
Business scale clarityBusiness scale parameters obtainedDegraded execution, use default medium scale, mark "scale pending confirmation"
project_dir validityUser provided valid project directory pathBlock execution, user must provide valid project_dir
Input confidence assessmentAll required input acquisition methods determined, overall confidence >=0.5When confidence <0.5, force human confirmation whether to continue execution

Gate execution order: PRD existence -> project_dir validity -> Business scale clarity -> Input confidence assessment

よくある質問

AIスキル「Backend Architecture Orchestrator」では何ができますか?

バックエンドアーキテクチャの設計、アーキテクチャパターンの選定、またはアーキテクチャレビューを行うときに使います。バックエンドアーキテクチャの司令塔として、backend-architecture-spec(設計)とbackend-architecture-impl(実装)の全工程を統括し、妥当で拡張性と品質に優れたアーキテクチャを実現します。コード生成の前に、設計成果物を人がレビューすることを徹底します。キーワード:バックエンドアーキテクチャ、アーキテクチャパターン、サービス設計、アーキテクチャレビュー、技術アーキテクチャ、マイクロサービス、システムアーキテクチャ、コード生成。

TypingMindでBackend Architecture Orchestratorを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Backend Architecture Orchestratorはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにBackend Architecture Orchestratorをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/LuckyOneTwoThree/vibe-skill/tree/main/.codex/skills/backend-architecture-orchestratorを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Backend Architecture Orchestratorを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Backend Architecture Orchestratorで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもBackend Architecture Orchestratorを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Backend Architecture Orchestrator」は無料ですか?

はい。LuckyOneTwoThreeがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇