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 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 vibevm 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Rust Ai Native Terraform AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

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

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Rust Ai Native Terraform。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Rust Ai Native Terraform 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 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

常见问题

Rust Ai Native Terraform AI 技能有什么作用?

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,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Rust Ai Native Terraform?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Rust Ai Native Terraform 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Rust Ai Native Terraform 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Rust Ai Native Terraform AI 技能免费吗?

vibevm 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇