Graph Engineeringのロゴ

Graph Engineering

コミュニティ
bydtesla1609
graph-engineering

複雑なワークフローを、明確な役割、成果物、引き継ぎパケット、検証ゲート、範囲を限定したフィードバックループ、ルートコントローラーによる調整を備えた、型付きの作業グラフとして設計、リファクタリング、実行、監査します。複数段階のパイプラインで、安全な並列処理、再開可能性、根拠に基づく完了、または汎用的なオーケストレーションとドメインルールの分離が必要な場合に使います。ドメインデータがグラフとして保存されているだけの場合や、単純な1ステップのタスクには使わないでください。

Add to TypingMind

概要

公開者bydtesla1609
リポジトリgraph-engineering
スキル名graph-engineering
スター
61
フォーク
0
同梱ファイル
12
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 12個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bydtesla1609/graph-engineering.git \
  .claude/skills/graph-engineering
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Graph Engineering

Model the work itself as a graph. Keep the domain knowledge graph, database graph, or dependency data separate from this orchestration graph.

Read references/graph-contract.md before defining or changing a graph specification. It contains both the stable unconditional v1 contract and the evidence-gated v2 conditional-routing contract. Read references/adapters.md when migrating an existing workflow or introducing a domain adapter.

Evolve the graph without bypassing it

Read references/evolution.md before importing a method from another skill, promoting an incident fix into the generic layer, or changing the graph contract. Treat external systems as evidence sources for graph evolution, not as authorities that can bypass the current validator, domain adapter, or root gate.

  1. Pin the evidence source and state its permitted and excluded access.
  2. Contrast matched contexts and express every candidate as condition, action, recovery, and verification.
  3. Admit the candidate as General, Scoped, or Exclude; place only General rules in the core and route Scoped rules to an adapter or example.
  4. Validate the change set with scripts/validate_graph_change.py <change-set.json> before compilation.
  5. Re-run graph validation, domain audits, compatibility tests, and rollback checks after compilation.

Use examples/skillalchemy-change-set.json as the bridge-format example. The example records the upstream version; it is not permission to execute or install upstream code.

Discover before redesigning

Identify the current entry point, commands, authoritative inputs, generated outputs, mutation boundaries, completion markers, audit reports, retry behavior, and recovery checkpoints. Preserve existing domain invariants until an explicit change is justified.

Draw the current execution graph before proposing a target graph. A node is a unit of work with one accountable role and declared read/write sets. An edge is a typed dependency and a deliberately limited handoff packet, not a vague statement that two steps are related.

Define the graph contract

Give every node a stable ID, kind, role, command or virtual-gate marker, read set, and write set. Give every edge a source, target, packet type, allowed fields, and any independence requirement. Designate exactly one virtual root gate owned by root_controller.

Use a directed acyclic graph for one execution pass. Represent iteration as an explicit feedback edge with a condition and finite max_iterations; never hide an unbounded retry inside a node. Make terminal outcomes typed and auditable, including bounded negative results when the domain permits them.

Use graph-engineering/v1 for fixed dependency graphs. Use graph-engineering/v2 only when an ordinary branch genuinely depends on a declared packet value; express the predicate structurally, declare accepted source statuses, and set an explicit join policy wherever multiple edges enter one node. Validate v2 selected-path evidence with scripts/validate_workflow_graph.py <spec.json> --run <run.json>.

Run scripts/validate_workflow_graph.py <spec.json> after editing any graph. Treat overlapping writes in one potential parallel wave, unreachable nodes, cycles, missing contracts, or fake independence as design errors. Conditional exclusivity does not by itself prove that overlapping writes are safe.

Separate orchestration from domain judgment

The generic layer owns topology, dependency scheduling, typed packets, write-conflict checks, checkpoint identity, failure propagation, and root-gate arbitration. A domain adapter owns commands, evidence standards, semantic validation, terminal states, and external-action permissions.

Do not replace a repository's authoritative importer, validator, or evidence rules with generic graph machinery. Wrap the existing implementation at stable seams and migrate one phase at a time.

Preserve real role boundaries

A role label is not evidence of independence. Use separate agents, processes, reviewers, or independently produced artifacts when the workflow actually requires independent judgment and the task authorizes that execution model. Otherwise run the graph with isolated packets and report that actor-level independence was not established.

Only pass fields declared on the incoming edge. Validators should consume persisted artifacts or bounded packets, not the builder's hidden reasoning. The root controller receives results, resolves conflicts, and decides whether the completion marker may be published; it does not silently rewrite specialist evidence.

Execute and close the loop

Schedule topological waves. Parallelize only nodes in the same wave whose declared writes do not overlap and whose runtime behavior is safe. Stop the graph on a failed hard gate and preserve its last successful checkpoint.

For every run, record the graph ID and version, node outcomes, artifact identities or hashes, failed checks, feedback decisions, and the terminal outcome. Completion means the root gate has verified the domain adapter's acceptance contract, not merely that all commands exited.

When refactoring an existing workflow, prove equivalence with focused tests and before/after hashes for protected products. Keep a rollback path until the new graph runner has passed the same domain audits as the former sequence.

同梱ファイル

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

よくある質問

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

複雑なワークフローを、明確な役割、成果物、引き継ぎパケット、検証ゲート、範囲を限定したフィードバックループ、ルートコントローラーによる調整を備えた、型付きの作業グラフとして設計、リファクタリング、実行、監査します。複数段階のパイプラインで、安全な並列処理、再開可能性、根拠に基づく完了、または汎用的なオーケストレーションとドメインルールの分離が必要な場合に使います。ドメインデータがグラフとして保存されているだけの場合や、単純な1ステップのタスクには使わないでください。

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

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

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

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

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

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

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

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

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

bydtesla1609がGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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