一键导入
initial-setup
Sets up the development environment for GenVM repository. Use when setting up the repo for the first time or when dependencies need to be refreshed.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Sets up the development environment for GenVM repository. Use when setting up the repo for the first time or when dependencies need to be refreshed.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
GenVM commit message conventions. Use when writing a commit message, squashing/merging a PR, or amending history. Covers the `type(scope): summary <emoji>` format, the five types, the standard scope set, the gitmoji suffix, and mistakes to avoid (typos, vague "fix CI N").
Builds the GenVM project. Use after making code changes to compile Rust binaries.
Read this BEFORE trying to fix a GenVM build that fails on macOS. GenVM is NOT built natively on macOS — building from source on Darwin breaks the deterministic runner-artifact invariant. Use a remote Linux nix-builder instead. Triggers on any build/nix/runner/linker/ar failure on a Mac (Apple Silicon or Intel).
Add RST docstrings to public Python methods/classes. Use when asked to document Python code.
GenVM Rust test conventions and style. Use when writing, adding, or modifying Rust tests — inline `#[cfg(test)] mod tests`, integration tests under a crate's `tests/`, helpers, assertions, and how `ya-test-runner` discovers them.
Runs tests for the GenVM project. Use after making code changes to verify correctness.
| name | initial-setup |
| description | Sets up the development environment for GenVM repository. Use when setting up the repo for the first time or when dependencies need to be refreshed. |
To set up the GenVM development environment:
Enter the Nix flake environment:
nix develop .#full
Initialize git submodules:
git submodule update --init --recursive --depth 1
Source environment variables:
source env.sh
This adds tools/git-third-party to PATH and sources .env if it exists.
Update third-party dependencies:
./tools/git-third-party/git-third-party update --all
This updates wasmtime, wasm-tools, and applies GenVM-specific patches.
The repository will be ready for development with all dependencies properly configured.