Rust Ai Native Terraformのロゴ

Rust Ai Native Terraform

組織
vibevm
rust-ai-native-terraform

Adopt the AI-Native discipline on an existing (brownfield) Rust codebase — inventory-not-gate, the three registries, characterization goldens, then card raids crate by crate. Use once per codebase (or to resume a partial adoption); the recurring counterpart is /rust-ai-native-sweep.

概要

公開者vibevm
リポジトリvibevm
スキル名rust-ai-native-terraform
スター
285
フォーク
83
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vibevm/vibevm.git /tmp/vibevm
mkdir -p .claude/skills
cp -r /tmp/vibevm/vibevm/vibedeps/org.vibevm.fractality.delegation-rules/1.0.0/vibevm/vibedeps/org.vibevm.ai-native.rust-ai-native-lang/1.0.0/vibevm/vibespecs/skills/rust-ai-native-terraform .claude/skills/rust-ai-native-terraform
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Terraform a Rust codebase (brownfield adoption) {#root}

@fact:EXECUTING-THE-BROWNFIELD-PROTOCOL You are executing the BROWNFIELD protocol (spec://org.vibevm.ai-native/core-ai-native/mechanisms/BROWNFIELD-PROTOCOL-v0.1 — shipped copy under vibedeps/flow-core-ai-native/<version>/spec/mechanisms/; read it before the first phase, and skim 03-RAID-PLAYBOOK + 05-CAMPAIGN-FORM for the campaign machinery). @status:impl/done

@fact:founding-principles-lead The founding principles: @status:impl/done

  • @fact:PRINCIPLE-INVENTORY-NOT-GATE inventory, not gate (the only precondition is "the workspace compiles"); @status:impl/done
  • @fact:PRINCIPLE-ASPIRATION-MUST-BE-LABELED aspiration is legal only when labeled; @status:impl/done
  • @fact:PRINCIPLE-CONTRADICTION-IS-DATA contradiction is data; @status:impl/done
  • @fact:PRINCIPLE-CHARACTERIZATION-IS-THE-TRUTH-OF-RECORD characterization is the truth-of-record; @status:impl/done
  • @fact:PRINCIPLE-MONOTONE-UTILITY monotone utility. @status:impl/done

@fact:DO-NOT-BULLDOZE-AN-INHABITED-WORLD Do not bulldoze an inhabited world. @status:impl/done

@fact:TOOLCHAIN-INSTALL-OR-RUN-IN-PLACE Toolchain: rust-ai-native (install once: cargo install --path vibedeps/<stack-slot>/crates/rust-ai-native-cli, or run via cargo run --manifest-path vibedeps/<stack-slot>/Cargo.toml -p rust-ai-native-cli --bin rust-ai-native -- <args>). @status:impl/done

Phase −1 — inventory (record reality; change nothing) {#phase-inventory}

  1. @fact:INVENTORY-PRECONDITION Precondition: cargo build --workspace succeeds. (Red build → fix the build first; that is the one true gate.) @status:impl/done
  2. @fact:INVENTORY-INIT rust-ai-native init — policies + empty registries. Every crate starts exempt-with-a-reason; nothing is gated yet, and that is correct. @status:impl/done
  3. @fact:INVENTORY-TESTS-BASELINE Fill discipline/registry/tests-baseline.json with reality: run the suite once (cargo nextest run --workspace --no-fail-fast), record every failing test as failing-known with a since date and a debt id — do NOT fix them now (drive-by repairs destroy the accounting). @status:impl/done
  4. @fact:INVENTORY-HARVEST-INTENT Harvest intent into discipline/registry/intent.json: WAL "Next" / TASKS / ROADMAP items, <!-- REVIEW --> markers, load-bearing TODO/FIXME. The carry-over guarantee: at exit every harvested intention is done | rescoped | rejected(reason) — zero unaccounted. @status:impl/done
  5. @fact:INVENTORY-FILE-DEBT File debt into discipline/registry/debt.json: failing tests, known-unimplemented specs, contradictions found while reading — each with severity, evidence, disposition, and touch: tripwires on its watched paths. @status:impl/done
  6. @fact:INVENTORY-CHARACTERIZE Characterize currently-passing observable behavior (golden transcripts under discipline/golden/, normalized for volatile fields): these pin "don't break it" independently of whether tests or docs are trustworthy. A pinned bug is visible debt; an unpinned bug is a landmine. @status:impl/done
  7. @fact:INVENTORY-SPECMAP rust-ai-native specmap — mint the (initially small) index; commit the whole inventory as its own topic commits. @status:impl/done

Phase 0 — the first spec units {#phase-first-spec-units}

@fact:WRITE-THE-FIRST-SPEC-DOCUMENTS Write the project's first spec/ documents for the subsystems you will touch first: anchored headings ({#req-…}), kind lines (`req r1`). @status:impl/done

@fact:UNIMPLEMENTED-BY-PLAN-UNITS-ARE-MARKED-PLANNED Unimplemented-by-plan units are marked planned — zero coverage there is expected, not red. @status:impl/done

@fact:TAG-IMPLEMENTING-MODULES-AS-YOU-GO Tag the implementing modules (specmark::scope!("spec://<ns>/…")) as you go; rust-ai-native specmap after each batch keeps the index green. @status:impl/done

Phases 1…N — card raids, crate by crate {#card-raids}

@fact:raid-per-crate-in-dependency-order-lead Per the Raid Playbook skeleton (scope & freeze → card order → phases → batches → differential safety → exit criteria), and per crate in dependency order: @status:impl/done

  1. @fact:RAID-DRAIN-THE-CRATE Drain the crate: unwraps out of domain code (restructure beats testify), one thiserror enum per layer with REQ-citing messages, a doctest per public seam, cells with oracles where variance exists. rust-ai-native conform check --scope <crate> is the per-crate lens; rust-ai-native fast-loop --cell <crate> keeps the loop under budget. @status:impl/done
  2. @fact:RAID-FLIP Flip: add the crate to conform.toml's [rust] gated (remove its [[rust.exempt]] entry) — legal only at zero findings; a flip must never widen the baseline. @status:impl/done
  3. @fact:RAID-BEHAVIOR-CHANGES-CARRY-AN-ORACLE Behavior changes carry a differential oracle (card scaffold-d); golden transcripts must fail loudly when stale, never auto-update. @status:impl/done
  4. @fact:RAID-PHASE-CLOSES-WITH-THE-FLOOR-GREEN Each phase closes with the floor green (rust-ai-native floor) and its own topic commits, per the Campaign Form's phase-gate discipline. @status:impl/done

@fact:TRACK-THE-CAMPAIGN-PER-CAMPAIGN-FORM Track the campaign per 05-CAMPAIGN-FORM: a cold-executable PLAN, the BASELINE numbers you started from, PREDICTIONS, a LOG, and a closing REPORT. @status:impl/done

@fact:CAMPAIGN-RESUME-POINTER Resume pointer: with a WAL — the standing line at each phase boundary; without — the PLAN's status line + LOG tail (06-WAL-CONVENTION §4). @status:impl/done

Exit criteria {#exit-criteria}

@fact:EXIT-CRITERIA rust-ai-native floor green with every crate either gated or exempt-with-a-living-reason; the test-gate baseline shrunk truthfully (promotions, not silence); the carry-over guarantee met (every intent done | rescoped | rejected); the REPORT written. @status:impl/done

@fact:HELD-BY-THE-RECURRING-SWEEP From here the tree is held by the recurring sweep: /rust-ai-native-sweep. @status:impl/done

The generation-time assistant (before you edit, not instead of the floor) {#generation-time-assistant}

@fact:STACK-SHIPS-AN-AGENTIC-TYPE-ORACLE The stack ships an agentic type oracle. @status:impl/done

@fact:check-the-hypothetical-content-lead Before writing a nontrivial .rs edit, check the HYPOTHETICAL content instead of paying a red floor iteration: @status:impl/done

sh
vibe bin exec rust-ai-native-tcg -- validate src/cells/<cell>.rs \
    --content-from - --root .   # the edit on stdin; exit 1 = would fail

@fact:MCP-ALTERNATIVE or, when the vibevm MCP server is mounted, call tcg_validate with language: "rust" and the content argument (plus tcg_scope / tcg_complete / tcg_type for in-scope symbols, type-valid completions, and quick info). @status:impl/done

@fact:RESPONSES-CARRY-THE-SAME-CONFORM-FINDINGS Responses carry the SAME conform findings as the gate, flagged baselined or new, with guide-citing advice — a new finding in the answer means the floor WILL go red if you write that edit. @status:impl/done

@fact:ORACLE-PREREQUISITE Prerequisite: rust-analyzer on the machine (rustup component add rust-analyzer — a stack obligation). @status:impl/done

@fact:ORACLE-HONESTY Honesty: the oracle is rust-analyzer, not rustc; a clean answer shortens the distance to green, and the floor stays the truth (TCG-ORACLE-RUST §5). @status:impl/done

よくある質問

AIスキル「Rust Ai Native Terraform」では何ができますか?

Adopt the AI-Native discipline on an existing (brownfield) Rust codebase — inventory-not-gate, the three registries, characterization goldens, then card raids crate by crate. Use once per codebase (or to resume a partial adoption); the recurring counterpart is /rust-ai-native-sweep.

TypingMindでRust Ai Native Terraformを使うメリットは何ですか?

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

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

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/vibevm/vibevm/tree/main/vibevm/vibedeps/org.vibevm.fractality.delegation-rules/1.0.0/vibevm/vibedeps/org.vibevm.ai-native.rust-ai-native-lang/1.0.0/vibevm/vibespecs/skills/rust-ai-native-terraformを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Rust Ai Native Terraformを使えるAIモデルはどれですか?

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

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

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

AIスキル「Rust Ai Native Terraform」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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