Dev Environment Setup & Verification
SkillDev toolsSet up and verify the megane development environment. Use at session start or when build tools are missing.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Dev Environment Setup & Verification skill
What this skill tells your AI
The instructions your AI receives, as published by megane-labs/megane in .agents/skills/dev-setup/SKILL.md and read by ahel’s review.
Step 1: Check required tools
Run these checks and install if missing:
which wasm-pack— if not found:cargo install wasm-packwhich maturin— if not found:pip install maturinwhich uv— should be available at /root/.local/bin/uvnode --version— should be v22+cargo --version— should be available
Step 2: Check node_modules
If node_modules/ does not exist, run npm install.
Step 3: Check WASM build
If crates/megane-wasm/pkg/ does not exist, run npm run build:wasm.
This step is REQUIRED before npm run dev or npm run build will work.
Step 4: Check Python environment
- Run
uv sync --extra devto ensure Python deps are installed - If Python tests are needed, also run
maturin develop --releaseto build the native extension
Step 5: Verify
- Run
npm testto confirm TypeScript tests pass - Run
cargo test -p megane-coreto confirm Rust tests pass
Common Failures
- "wasm-pack: command not found" →
cargo install wasm-pack - "maturin: command not found" →
pip install maturin - Vite dev server fails with missing WASM → run
npm run build:wasmfirst - Python import errors → run
maturin develop --release - Node module not found → run
npm install
VSCode E2E hosts (code-server)
Only needed to run the vscode / widget-vscode Playwright projects.
scripts/install-code-server.sh installs code-server + the Jupyter extensions +
the megane VSIX. In a sandboxed / proxied environment the default installer
downloads a binary from GitHub and gets HTTP 403; force the npm build path
instead:
sudo apt-get install -y libkrb5-dev # kerberos native build needs GSSAPI headers
MEGANE_CODE_SERVER_USE_NPM=1 bash scripts/install-code-server.sh
The npm route builds code-server into <repo>/.code-server (gitignored) and
needs libkrb5-dev (else node-gyp fails on gssapi/gssapi.h) and rg on PATH
(else @vscode/ripgrep's GitHub download fails). See the e2e-coverage skill
for the full runbook and the MEGANE_CODE_SERVER_BIN invocation.
Signals
- GitHub stars
- 22
- Forks
- 2
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
dev-setup- Source
- github.com/megane-labs/megane