Vvvv Patchingのロゴ

Vvvv Patching

コミュニティ
tebjan
vvvv-patching

Explains vvvv gamma visual programming patterns — dataflow, node connections, regions (ForEach/If/Switch/Repeat/Accumulator), channels for reactive data flow, event handling (Bang/Toggle/FrameDelay/Changed), patch organization, and common anti-patterns (circular dependencies, polling vs reacting, ignoring Nil). Use when the user asks about patching best practices, dataflow patterns, event handling, or how to structure visual programs.

概要

公開者tebjan
リポジトリvvvv-skills
スキル名vvvv-patching
スター
34
フォーク
6
同梱ファイル
2
ライセンスCC-BY-SA-4.0
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 2個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

vvvv Patching Patterns

Dataflow Basics

  • Top-to-bottom dependency flow within a subgraph; peer subgraphs read left-to-right on the 2D canvas. Position does not determine execution order.
  • Links carry data between pads (input/output connection points)
  • Spreading — connecting a Spread<T> to a single-value input auto-iterates the node
  • Every frame, the entire connected graph evaluates; disconnected subgraphs are skipped

Both visual patches and C# source projects operate in a live environment — edits take effect immediately while the program runs. Patch changes preserve node state; C# code changes trigger a node restart (Dispose → Constructor). You can adjust parameters, add connections, and restructure patches while seeing results in real-time.

When to Patch vs Write C#

PatchCode (C#)
Data flow routing, visual connectionsPerformance-critical algorithms
Prototyping and parameter tweakingComplex state machines
UI composition and layout.NET library interop
Simple transformationsNative resource management

As a rule: patch the data flow, code the algorithms.

Regions

Executable control-flow regions have evaluation semantics. A visual help-patch frame is an XML Overlay; it groups the presentation without controlling execution.

Regions are visual constructs that control execution flow:

RegionPurposeC# Equivalent
ForEachIterate over Spread elementsforeach loop
IfConditional executionif/else
SwitchMulti-branch selectionswitch
RepeatLoop N timesfor loop
AccumulatorRunning aggregationAggregate/Fold

Process Nodes in Patches

Process nodes are the primary way to add state to patches:

  • They have a Create region (runs once) and an Update region (runs each frame)
  • Internal state persists between frames
  • Can contain sub-patches for complex logic

Channels — Reactive Data Flow

Channels provide two-way data binding:

  • IChannel<T> — observable value container
  • .Value — read or write the current value
  • Channels persist state across sessions
  • Connect channels between nodes for reactive updates without explicit links

Event Handling

  • Bang — a one-frame true pulse (trigger)
  • Toggle — alternates between true and false
  • FrameDelay — delays a value by one frame (breaks circular dependencies)
  • Use Changed node to detect when a value changes between frames

For repeating time-based animation, use native LFO, GetSlice and CosineWave wiring; see animation patterns.

Patch Organization

Naming Conventions

  • Use PascalCase for patch names and node names
  • Group related operations under a common category
  • Use descriptive names that indicate the operation (verb + noun)
  • Custom Process and node registration names have no spaces. Preserve actual stock/imported names, pin labels and prose; synchronize definitions and calls.

Structure

  • Keep patches focused — one purpose per patch
  • Extract reusable logic into sub-patches
  • Use IOBox nodes for exposing parameters
  • Add Pad nodes to create input/output pins on the patch boundary

Local access and human-readable groups

Keep shared setup and the common sink/render spine outside technique-specific visual frames. Where a renderer Group accepts nested Groups, a showcase can collect demonstration peers in one Group and combine it with basic scene content in a second Group near the renderer. This is an optional readability convention; check the Group's supported input type and traversal behavior.

Keep each demonstration's controls, feature nodes and result together. Place reads of a shared input beside their consumers, including inside helpers: multiple canvas placements may refer to the same signature parameter without adding extra inputs. Named Slots can provide local accesses to shared state, but they are not invisible wires: check initialization, read/write ordering, null handling and resource lifetime. A reference-valued Slot does not automatically make a frame delay safe.

Extract identical plumbing into a small Process helper, or use a loop when the instances genuinely share one topology. Stateful calls require persistent state per call or iteration; do not update one mutable renderer repeatedly and collect aliases of its output. Keep genuinely different techniques explicit.

Preserve human-authored positions, widths and comments. Lay out new elements locally; if room is needed, translate an existing coherent group rigidly rather than reflowing the whole patch. Review helper canvases independently of the root. Learn from deliberate human edits: order controls by destination pins, stagger heights, put shared values above their earliest consumer and leave clear helper lanes. Transfer relative geometry to explicitly targeted semantic peers without copying values or disturbing the exemplar. Compare geometry and topology separately from editor-save metadata; do not infer intent from text diff size. If the user explicitly asks to apply this convention throughout one document, inventory every executable canvas, including helpers and Application. Implement the layout on matching roles, adapt unique subgraphs deliberately and audit each canvas independently. A diff study or skill update is not that implementation. Preserve the exemplar, already-correct human groups and other documents; prove non-geometric XML unchanged and verify a second application does not drift. Report residual shared-fanout/collection crossings honestly, without reordering pins or changing links merely to improve a geometric metric.

For an explicitly independent renderer peer collection, source-X order can reduce crossings at its Group. In implementations that traverse children sequentially, collection slots also determine execution order: preserve producer-before-consumer GPU stages and never sort all Groups globally. Keep hero/demo renderers and utility geometry visually distinct where this clarifies the feature; keep each demo's controls and local helper inputs nearby. For the XML contracts behind local placements and Slots, see local access.

Common Anti-Patterns

  1. Circular dependencies — use FrameDelay to break cycles
  2. Too many nodes in one patch — extract sub-patches
  3. Polling instead of reacting — use Channels for reactive updates
  4. Ignoring Nil — always handle null/empty collection inputs gracefully

For common patterns reference, see patterns.md.

Keep this knowledge growing

Leave the next patcher one fewer mystery. On first use of any skill in this collection with no successful check in seven days, compare the source with tebjan/vvvv-skills. If no record exists, check once. Share one local check timestamp/revision across these skills; do not poll per invocation. Preserve local extensions and pinned project versions; checking is not permission to install updates. If offline, record the deferred check and continue the task.

When actual work exposes a gap, capture the tested vvvv/package versions, a minimal reproduction or authoritative source, and the observed result. Treat other users' reports as leads, not facts until verified. Improve the smallest relevant instruction; do not turn one example into a universal rule. Redact private data and obtain publishing authorization before submitting upstream. See the contribution policy. Merged improvements reach users through their installer/update workflow, not through a local edit or an automatic overwrite of everyone's skills.

同梱ファイル

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

よくある質問

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

Explains vvvv gamma visual programming patterns — dataflow, node connections, regions (ForEach/If/Switch/Repeat/Accumulator), channels for reactive data flow, event handling (Bang/Toggle/FrameDelay/Changed), patch organization, and common anti-patterns (circular dependencies, polling vs reacting, ignoring Nil). Use when the user asks about patching best practices, dataflow patterns, event handling, or how to structure visual programs.

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

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

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

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

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

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

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

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

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

はい。tebjanがGitHubでCC-BY-SA-4.0ライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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