Frameworkのロゴ

Framework

組織
ai-driven-dev
framework

インストール記録と、プロジェクトに対して行われるすべての処理を担当します。対象はsrc/contexts/framework/配下のマニフェスト集約、およびそれを基盤とするsetup/install/restore/uninstall/doctorのオーケストレーションです。`translate`と`distribution`にアクセスできる唯一のコンテキストです。`tools`には`telemetry`からもアクセスできます。マニフェストに関わるユースケース、setup/doctor/sync/uninstallのフロー、新しいトップレベルのCLIオーケストレーション、または外部バイナリを実行するランチャー(kanban型)を追加する場合に使います。ツール独自のプロファイルや機能クラスには使わないでください。その場合は`tools`を使います。翻訳パイプラインには使わないでください。その場合は`translate`を使います。コンテンツの取得元には使わないでください。その場合は`distribution`を使います。

Add to TypingMind

概要

公開者ai-driven-dev
リポジトリframework
スキル名framework
スター
515
フォーク
54
同梱ファイル
2
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 2個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Framework

framework is what is posed on a project and the record of it: the manifest that tracks every installed file, and every flow that reads or changes that record — setup, doctor, sync (restore), uninstall, plugin install/update/remove, and the global chain orchestrators. It is the one context the dependency chain lets reach every other context but telemetry (framework → translate → tools → kernel, plus framework → distribution), because assembling what goes on disk is exactly the job that needs all three.

What goes in

ConceptLocation
The manifest aggregate and its membersdomain/manifest.ts, domain/manifest/ (tool-entry, tracked-files, merge-files, native-registrations)
A plugin's declared statedomain/plugins/ (installed-plugin, source-resolver, requested-version-policy)
The diagnosis shapedomain/doctor.ts
Setup orchestration statedomain/setup-flow.ts
A port only framework needsdomain/ports/ (manifest-repository, plugin-distribution-reader, user-source-references)
A top-level flow's orchestratorapplication/ root, or a feature subdirectory (clean/, doctor/, flows/, framework/, global/, install/, plugin/, restore/, setup/, uninstall/)
Logic needed by ≥2 top-level use-casesapplication/shared/ — never called from a command
The manifest-repository and plugin-distribution-reader adaptersinfrastructure/

How

  • A use-case class ends in UseCase, has a single async execute(options): Promise<Result>, never catches its own errors except the three carve-outs (global aggregate-error loops, cache/network fallback, typed-throw translation) — see the use-case and orchestration rules in .claude/rules/00-architecture/.
  • A use case that installs framework files saves the manifest and updates .gitignore through PostInstallPipelineUseCase. A use case that only changes the manifest (plugin add/remove, marketplace sync, restore) saves it directly. See references/post-install-pipeline.md.
  • Before writing any framework file: check fs.fileExists(path) && !manifest.isFileTracked(path). If both are true, skip the write, warn, and never add it to the manifest — never overwrite a user-owned file. See references/manifest.md.
  • A global chain orchestrator (*-all-use-case.ts) iterates every scope and must finish even if one fails: wrap one iteration in try/catch, push a typed entry to an errors[] array, and return it in the result — never let one tool's failure abort the whole run.
  • A capability-guard sub-use-case (install-agents-use-case.ts and its siblings) checks "name" in caps before dispatching to a narrowed sub-use-case in install/ — see references/post-install-pipeline.md, section "Capability sub-use-cases". These five files reach directly into tools' capability classes rather than through a declared public module; that reach is a tracked, shrinking exception in context-boundary.arch.test.ts, not a pattern to add to.
  • A launcher spawns its target, never imports it. The decision and its cost are in aidd_docs/memory/architecture.md.

Public surface

Nothing outside contexts/framework/ may import a module this context has not declared public. framework is also the context most other contexts should never see: nothing in tools, translate, or distribution may import from framework at all — the arrow only runs the other way. Check tests/architecture/context-graph.arch.test.ts before adding an edge; check context-boundary.arch.test.ts's PUBLIC_MODULES before assuming a module framework itself exposes is reachable from presentation or runtime.

How it's tested

  • tests/contexts/framework/ mirrors src/contexts/framework/ — domain models are unit-tier, use-cases against in-memory ports (tests/helpers/ports/) are unit or integration depending on whether they touch a real temp filesystem.
  • tests/e2e/ exercises full CLI invocations through runCli(); tests/golden/ snapshots a built framework tree end to end — see the test skill for tier and golden-snapshot rules.
  • A manifest version-guard change needs a fixture manifest at the boundary version, asserting the exact refusal message names the fix.

同梱ファイル

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

よくある質問

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

インストール記録と、プロジェクトに対して行われるすべての処理を担当します。対象はsrc/contexts/framework/配下のマニフェスト集約、およびそれを基盤とするsetup/install/restore/uninstall/doctorのオーケストレーションです。`translate`と`distribution`にアクセスできる唯一のコンテキストです。`tools`には`telemetry`からもアクセスできます。マニフェストに関わるユースケース、setup/doctor/sync/uninstallのフロー、新しいトップレベルのCLIオーケストレーション、または外部バイナリを実行するランチャー(kanban型)を追加する場合に使います。ツール独自のプロファイルや機能クラスには使わないでください。その場合は`tools`を使います。翻訳パイプラインには使わないでください。その場合は`translate`を使います。コンテンツの取得元には使わないでください。その場合は`distribution`を使います。

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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