Rust Ai Native Sweepのロゴ

Rust Ai Native Sweep

組織
vibevm
rust-ai-native-sweep

Run the recurring AI-Native discipline sweep on this Rust project — floor gates first, then the health collector's ratchet items, weekly drift and judgment tiers. Use daily or several times a day on an active tree; any single item is a safe stop.

概要

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

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

AIスキル「Rust Ai Native Sweep」を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-sweep
  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-sweep .claude/skills/rust-ai-native-sweep
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

The discipline sweep (Rust stack) {#root}

@fact:RUNNING-THE-STANDING-SWEEP You are running the standing sweep from the Discipline's Sweep Playbook (spec://org.vibevm.ai-native/core-ai-native/04-SWEEP-PLAYBOOK — the shipped copy is at vibedeps/flow-core-ai-native/<version>/spec/04-SWEEP-PLAYBOOK.md; read it once per session if you have not). @status:impl/done

@fact:two-truths-lead The two truths: @status:impl/done

  • @fact:TRUTH-GATES-ARE-THE-FLOOR the gates are the floor, the sweep is the ceiling, @status:impl/done
  • @fact:TRUTH-GATE-IS-TRUTH and the gate is truth, the collector is a guide. @status:impl/done

@fact:NEVER-SWEEP-ON-A-RED-TREE Never sweep on a red tree. @status:impl/done

@fact:ACT-ON-COLLECTOR-FACTS Act on collector facts, never on memory. @status:impl/done

@fact:ALL-COMMANDS-ARE-THE-SHIPPED-TOOLCHAIN All commands below are the shipped toolchain. @status:impl/done

@fact:IF-NOT-ON-PATH-INSTALL-OR-RUN-IN-PLACE If rust-ai-native is not on PATH, either install it once — cargo install --path vibedeps/<stack-slot>/crates/rust-ai-native-cli — or run it in place: cargo run --manifest-path vibedeps/<stack-slot>/Cargo.toml -p rust-ai-native-cli --bin rust-ai-native -- <args>. @status:impl/done

@fact:PROJECT-MAY-KEEP-ITS-OWN-WRAPPER (A project may also keep its own wrapper, e.g. a dev repo's cargo xtask — same engine, either way.) @status:impl/done

Tier 0 — the hard floor (ALWAYS first) {#tier-zero}

sh
rust-ai-native floor

@fact:RED-FLOOR-ADMITS-ONLY-GREENING-WORK Red? The only legal work is making it green — fix, do not proceed. @status:impl/done

@fact:CHECK-THE-PRINTED-POLICY-ORIGIN-LINES Check the printed policy-origin lines: conform: NO conform.toml — topology default in force, nothing is gated means the project is not bootstrapped (rust-ai-native init), and a green on a defaulted policy is vacuous. @status:impl/done

Tier 1 — the ratchet (every run) {#tier-one}

sh
rust-ai-native health

@fact:READ-THE-HEALTH-SUMMARY Read the summary (the JSON at discipline/health/latest.json is the work-list; its git diff is the trend). @status:impl/done

@fact:take-cheapest-wins-lead Take one or two cheapest wins, in this order: @status:impl/done

  1. @fact:RATCHET-DANGER-BAND-FILES danger_band_files — split any file at the top of the [540,600) band before an edit trips the 600 budget. Idioms: tests-out to a sibling foo/tests.rs (#[cfg(test)] #[path] mod tests;) first, responsibility split second; every new module keeps the parent's scope! URI (GUIDE §14 has the gotchas). @status:impl/done
  2. @fact:RATCHET-PUB-DOCTEST-PROMOTION-CANDIDATES pub_doctest_promotion_candidates — a gated crate at 0 typed-gap enters gated_pub_doctest in conform.toml for free; run rust-ai-native conform check to confirm the collector's prediction. @status:impl/done
  3. @fact:RATCHET-PUB-DOCTEST-DRAIN-BACKLOG pub_doctest_drain_backlog — document the smallest-gap crate's types (the four doctest idioms, GUIDE §14), then promote it. @status:impl/done
  4. @fact:RATCHET-DEVIATION-DEBT deviation_debt — re-justify each #[spec(deviates)]: a deviation whose invariant is now encodable in a type is removed and restructured. @status:impl/done
  5. @fact:RATCHET-CENSUS-REGRESSIONS Census regressions (unwrap_domain / env_nonroot / unsafe_nonaudit / error_enums_missing_req non-zero on a gated crate) — drain immediately; restructure beats testify. On an ungated crate they are the adoption backlog: flip a crate into [rust] gated only after it drains to zero. @status:impl/done

Tier 2 — drift (weekly) {#tier-two}

  • @fact:DRIFT-TRIPWIRE rust-ai-native tripwire — re-disposition every touched-and-open debt entry; file new deficiencies into discipline/registry/debt.json, never leave them as prose. @status:impl/done
  • @fact:DRIFT-LEDGER-RENDER rust-ai-native ledger render --check — the human views (discipline/DEBT.md / INTENT.md) match their registries; stale → re-render and commit (a registry edit without a re-render is exactly the drift this catches). @status:impl/done
  • @fact:DRIFT-DOC-CODE Doc/code drift: WAL freshness (if the project keeps one — see 06-WAL-CONVENTION), architecture docs vs the real tree, roadmap staleness. File stale-doc debt. @status:impl/done
  • @fact:DRIFT-MARKER-CENSUS Marker census: rg -n 'TODO|FIXME|REVIEW|XXX|HACK' over the source roots — graduate load-bearing markers into the registries, delete trivial ones. @status:impl/done
  • @fact:DRIFT-GOLDEN-TRANSCRIPTS Golden transcripts (discipline/golden/): must fail loudly, re-captured deliberately (capture.sh), never auto-updated. @status:impl/done

Tier 3 — deep judgment (weekly) {#tier-three}

@fact:WALK-THE-WISH-RULES Walk the WISH rules over the week's diff (typed seams, cell isolation/oracles, uniformity, contract-first ordering, lying prose, closed-vocabulary naming — GUIDE §1–§10). @status:impl/done

@fact:CAMPAIGN-SIZED-BACKLOG-BECOMES-A-RAID If a Tier-1 backlog has grown campaign-sized, plan a raid instead: 03-RAID-PLAYBOOK + 05-CAMPAIGN-FORM. @status:impl/done

Closing a sweep {#closing-a-sweep}

@fact:TOPIC-GROUPED-COMMITS Topic-grouped commits, one logical unit each, citing the sweep item. @status:impl/done

@fact:COMMIT-THE-REFRESHED-HEALTH-JSON Commit the refreshed discipline/health/latest.json in the same run. @status:impl/done

@fact:RESUME-POINTER Resume pointer: with a WAL — bump its standing line at any milestone move; without — the closing commit message carries the summary (floor state, items taken, next candidate). @status:impl/done

@fact:NEVER-LEAVE-STATE-ONLY-IN-THE-CONVERSATION Never leave the sweep's state only in this conversation. @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 Sweep」では何ができますか?

Run the recurring AI-Native discipline sweep on this Rust project — floor gates first, then the health collector's ratchet items, weekly drift and judgment tiers. Use daily or several times a day on an active tree; any single item is a safe stop.

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

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

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

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-sweepを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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