Architectureのロゴ

Architecture

コミュニティ
chanmathew
architecture

Lock system architecture for a capability or epic — modules, schemas, public contracts, and proposed slices.

概要

公開者chanmathew
リポジトリagent-skills
スキル名architecture
スター
26
フォーク
1
同梱ファイル
1
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

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

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

スキルの指示

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

Architecture

Lock how services, modules, endpoints, schemas, and stores talk to each other. Concrete at system boundaries, schematic inside. Types, call stacks, and file layout belong to /program-design.

Core contract

  • One capability or epic — work that will become multiple tickets, or one ticket that still needs new seams.
  • The spec (if any) is the behavioural source of truth. This document is the recommended system shape.
  • Inspect the repository. Prefer evidence over generic best practices.
  • Read-only: inspect code, docs, tests, and history; do not modify production code.
  • Stop after the architecture unless the user asks to continue.

Do not include: per-function signatures, call stacks, file-change maps, implementation sequences, or pattern dumps with existing/proposed bodies. Those are /program-design.

Do not restate the spec. Link or summarise; /to-spec owns product narrative.

When to use / skip

text
wayfinder → grill-with-docs → /to-spec
                 ↓
           /architecture     # this skill — new seams / multi-ticket
                 ↓
           /program-design   # code shape, when taste matters
                 ↓
           /to-tickets → /implement
SituationSkill
Idea or trade-offs still open/grilling or /grill-with-docs first
External API/vendor semantics unclear/research first
Module interface is the unknown/design-an-interface, fold the result in
State model or UI feel uncertain/prototype first
New seams, naming, or multi-ticket shape/architecture
Architecture is obvious; code taste is notSkip to /program-design
Obvious single-ticket, existing patternsSkip to /implement

Steps

1. Establish the capability

Read the spec, conversation, ADRs, domain glossary (CONTEXT.md), and project instructions.

Ready when /to-tickets could slice this into tracer bullets. If the input is already a small ticket on an established pattern, recommend skipping this skill.

Record outcome, in-scope behaviour, non-goals, and constraints. Recommend defaults for non-blocking ambiguity. Stop for the user only when a decision changes behaviour, public APIs, data ownership, security, persistence, compatibility, system boundaries, dependencies, or scope.

This step is complete when outcome, non-goals, and blocking ambiguity are explicit.

2. Inspect the repository

Trace the current path through entry, domain logic, persistence, integrations, and tests. Note existing modules and conventions to reuse. Conflicting patterns: pick one, with evidence.

This step is complete when every proposed seam has an existing counterpart or is named as new and justified.

3. Design the end state

Show before/after at module and system boundaries (mermaid flowchart or sequence). Not class-level.

Define coarse structure only:

  • Packages, modules, or top-level folders — not every file.
  • Public contracts: endpoints, schemas, events, provider ids.
  • Runtime flow from entry to observable result, at those boundaries.

When integrating external systems, add a short Verified basis citing official docs. Use /research for the long form; distill here.

Prefer, in order:

  1. Existing code over new code.
  2. Local code over a shared abstraction.
  3. Established repository patterns over new patterns.
  4. Explicit code over generic frameworks.
  5. Narrow MVP surface over speculative API roadmaps.
  6. One clear execution path over interchangeable layers.

New interfaces, factories, adapters, registries, or shared utilities require a current problem with multiple immediate call sites.

This step is complete when a reviewer can see the proposed system shape and how work flows through it.

4. Propose tracer-bullet slices

Recommend how /to-tickets should break the capability. For each slice:

  • Title
  • Delivers — end-to-end behaviour when this slice merges
  • Blocked by — other slices, or None
  • Architecture anchor — sections or contracts this slice implements

Each slice must be independently demoable or verifiable. Merge slices that only make sense together. Do not attach file lists or test commands.

This step is complete when the breakdown covers the capability and follows tracer-bullet rules.

5. Resolve architecture questions

Record material decisions:

  • Question
  • Chosen: recommendation and rationale
  • Options not chosen: and why

Grill before writing when decisions are still unsettled. Include migration, security, performance, observability, and rollback only when the change creates them.

This step is complete when no blocking decision remains implicit.

6. Write the document

Capture git metadata for the frontmatter (branch, sha).

Write to the repository's established work-artifact location. If none exists, use docs/agents/architecture/<short-slug>.md.

Follow references/architecture-template.md. Before handing off, verify:

  • One capability or epic, not a file tweak.
  • Before/after architecture is visible at module boundaries.
  • Proposed slices are tracer bullets with blocking edges.
  • Public contracts only — no call stacks, function bodies, or file maps.
  • No blocking decision remains implicit.

Shortened form

For a bounded capability that is one tracer-bullet ticket but still needs architectural approval:

  • Frontmatter, summary, current / desired state, not doing
  • One architecture diagram
  • Public contracts
  • Resolved decisions (if any)
  • Approval gate

Handoff

Report:

  1. Path to the architecture document.
  2. Concise summary of the recommended system shape.
  3. Proposed slice count and frontier slice.
  4. Blocking decisions, or None.
  5. Confirmation that production code was not modified.
  6. Next step:
text
/program-design using <architecture-path>

If code shape is obvious and the user will slice next:

text
/to-tickets using <architecture-path>

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

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

Lock system architecture for a capability or epic — modules, schemas, public contracts, and proposed slices.

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

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

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

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

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

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

Architectureは何個のAIモデルで使えますか?

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

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

chanmathewがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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