Capsem 开发者快速入门
dev-start
Capsem 新开发者的快速入门指南。适用于“如何开始”或“首次设置”类问题;环境故障排查请改用 dev-setup。
- License 许可
- Apache-2.0
- 所属仓库
- google/capsem
- 最近更新
- 2026-11-14
- Stars
- ★ 186
- Forks
- 26
01 前言 Front Matter
- name
- dev-start
- description
- Quick start for new Capsem developers. Use for "how do I get started" or "first time setup"; for environment troubleshooting use dev-setup instead.
03 SKILL.md 正文
Developer Quick Start
Fastest path
git clone <repo> && cd capsem
./bootstrap.sh # interactive, prompts [Y/n] before each install
./bootstrap.sh --yes # non-interactive (CI / unattended setup)
just exec "echo hello" # verify VM boots (build-assets runs as part of bootstrap)
bootstrap.sh is the deliberately public repo-root bootstrap entrypoint.
What bootstrap.sh does
Three phases. Default answer at every prompt is Yes — press Enter to install, type n to skip.
- Hard prereqs (you must have):
bash,git,curl. Auto-installed:rustup(sh.rustup.rs),just(just.systems →~/.local/bin). - Dependencies: on Linux, distro-native build/Tauri packages,
cpio, verified Node 24, pnpm 10, Docker + Buildx, Bubblewrap, and immediate Docker/KVM access; on macOS,flock,colima+docker+docker-buildx, Tart, and sshpass through Homebrew. Both platforms installuv, locked Python/frontend dependencies, and then prove the runtime. - Doctor
--fix(build_system/scripts/doctor/doctor-common.sh --fix): installs Rust targets and the exact config-owned Cargo tools (cargo-nextest,cargo-llvm-cov,cargo-audit,b3sum,cargo-tauri, andcargo-sbom); builds VM assets and packs the initrd.
The VM asset rail materializes its digest-pinned OBOM tools inside its own architecture-matched helper; do not install a parallel global cdxgen.
--yes flag and non-tty input both auto-accept every prompt.
After bootstrap
All just recipes (run, test, dev, etc.) check for .dev-setup and auto-run doctor if missing. You can't accidentally skip setup.
Full documentation
- Detailed setup + troubleshooting: Development Guide or
/dev-setupskill - Just recipe reference:
/dev-just - Testing workflow:
/dev-testing
Container runtime
Docker (via Colima on macOS) with 12GB+ RAM (16GB recommended -- the Tauri install-test build OOMs below 12GB). On Linux, bootstrap installs and starts native Docker, repairs current-session Docker/KVM access, and verifies the Bubblewrap host-gate boundary. See /dev-setup for configuration.
04 同仓库更多 Skills
Capsem 虚拟机任务执行
use-capsem
通过 MCP 在 Capsem 虚拟机中运行任务。在智能体需要隔离执行、文件分析,或将报告返回到主机时使用。
营销网站内容维护
site-marketing
营销网站 capsem.org。在编辑文案、添加板块或更改网站主题时使用。
文档站基础设施维护
site-infra
文档站点 docs.capsem.org。用于面向用户的 Diátaxis 文档和 Astro Starlight 相关更改。
站点架构设计
site-architecture
暂无简介
版本发布流程
release-process
暂无简介
智能体技能创建与优化
meta-skill-creation
创建、改进和评估技能。在编写新技能、编辑现有技能或调整 description 以优化触发效果时使用。