Skip to content
Skills Library
Programming · Automation

bestdevenv-dev

/bestdevenv-dev

BestDevEnv 部署开发环境——按开发者角色(profiles.tsv:java-web/python/go/cpp/ml-trainer/fullstack)或语言栈(node/python/rust/go/java/flutter/ai/cpp:安装+国内镜像+缓存重定向)、vibecoding 工具(claude-code/codex/gemini/opencode/zcode/arkcli)、VS Code 离线安装与语言扩展档案、JetBrains 需求推导时使用。触发:装语言、装 agent 工具、装 IDE、按角色配环境、扩展档案。

Repository
BestDevEnv ↗
Licence
MIT
Last repository change
13.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 13.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

BestDevEnv 部署开发环境——按开发者角色(profiles.tsv:java-web/python/go/cpp/ml-trainer/fullstack)或语言栈(node/python/rust/go/java/flutter/ai/cpp:安装+国内镜像+缓存重定向)、vibecoding 工具(claude-code/codex/gemini/opencode/zcode/arkcli)、VS Code 离线安装与语言扩展档案、JetBrains 需求推导时使用。触发:装语言、装 agent 工具、装 IDE、按角色配环境、扩展档案。

Original author description

BestDevEnv 部署开发环境——按开发者角色(profiles.tsv:java-web/python/go/cpp/ml-trainer/fullstack)或语言栈(node/python/rust/go/java/flutter/ai/cpp:安装+国内镜像+缓存重定向)、vibecoding 工具(claude-code/codex/gemini/opencode/zcode/arkcli)、VS Code 离线安装与语言扩展档案、JetBrains 需求推导时使用。触发:装语言、装 agent 工具、装 IDE、按角色配环境、扩展档案。

How it works

  1. 先确认再装(硬协议)
  2. 语言栈(按需选装,幂等)
  3. vibecoding 工具与 IDE
  4. 验收
Original SKILL.md headings · 54 lines, 294 words
SKILL.md preview
---
name: bestdevenv-dev
version: 0.0.2
description: BestDevEnv 部署开发环境——按开发者角色(profiles.tsv:java-web/python/go/cpp/ml-trainer/fullstack)或语言栈(node/python/rust/go/java/flutter/ai/cpp:安装+国内镜像+缓存重定向)、vibecoding 工具(claude-code/codex/gemini/opencode/zcode/arkcli)、VS Code 离线安装与语言扩展档案、JetBrains 需求推导时使用。触发:装语言、装 agent 工具、装 IDE、按角色配环境、扩展档案。
---

# 部署开发环境(M3 语言栈 + M4 工具 + M6 IDE)

单一职责:装语言/工具/IDE 并落镜像与重定向。每个脚本幂等,内部分四步:安装 → 镜像 → 重定向 → 校验。

## 先确认再装(硬协议)

执行任何安装前,必须先向用户列出可选清单并确认,**不得按默认静默安装**:

- **开发者角色**(首选;`modules/lang/profiles.tsv` 数据驱动):java-web / python / go / cpp / ml-trainer / fullstack——角色展开为栈集合并集,`./init.sh --profile ml-trainer` 或交互首问
- **语言栈**(八选 N,合法集以 `modules/lang/` 脚本为准):node / python / rust / go / java / flutter / ai / cpp
- **vibecoding 工具**(合法集以 `modules/agent/runtimes.tsv` 注册表为准):claude-code / codex / gemini-cli / opencode / zcode / arkcli / copilot / antigravity / trae / qoder / hermes

用户确认后才执行;确认结果经 `BDE_LANGS`/`BDE_TOOLS` 显式传参落位。两个例外场景不必二次确认:
init.sh 全量管道(自带交互询问与校验)、用户在本次会话已明确给出清单。

## 语言栈(按需选装,幂等)

```bash
source "$HOME/.config/devspace/env.sh"
BDE="$COMMON/code/BestDevEnv"
bash "$BDE/modules/lang/node.sh"      # 或 python/rust/go/java/flutter/ai.sh
```

| 语言 | 版本管理器 | 缓存/依赖落点 |
|---|---|---|
| node | mise(nvm 兼容期) | store/cache → Common/cache/linux;实体 → DevEnv/deps |
| python | uv | venv → DevEnv/virtualenvs;cache → Common/cache/linux |
| rust | rustup(rsproxy) | CARGO_HOME=DevEnv/cargo;target → Local/build |
| go | 官方 tarball(goproxy.cn) | GOPATH=DevEnv/go |
| java | 语义包 java-21(适配器别名,apt=openjdk-21-jdk) | GRADLE_USER_HOME=Local/cache/gradle + gradle-properties 正本 |
| flutter | DevEnv/flutter(flutter-io.cn) | PUB_CACHE=DevEnv/pub-cache |
| cpp | 语义包 build-base + cmake/ninja/gdb/ccache/clangd | CCACHE_DIR=Local/cache/ccache |
| ai | Miniconda(tuna → DevEnv/services/miniconda3;.condarc 正本:envs/pkgs → DevEnv/deps/conda)+ CUDA 体检 | HF_HOME/MODELSCOPE_CACHE → Common/data/models |

## vibecoding 工具与 IDE

```bash
BDE_TOOLS="claude-code,codex,zcode" bash "$BDE/modules/agent/tools.sh"   # 幂等,已装只登记;合法集见 runtimes.tsv
devenv gen                                 # 再生 AGENTS.md + SKILL 正本(= bash "$BDE/modules/agent/agents-md.sh")
bash "$BDE/modules/agent/runtime.sh"      # Runtime 统一接线(记忆/Skill/MCP/会话,按 runtimes.tsv)
bash "$BDE/modules/ide/ide.sh" --no-jetbrains   # VS Code 离线 deb + 扩展档案(BDE_LANGS);--no-jetbrains 跳过 JetBrains 推导
```

- **BDE_TOOLS/BDE_LANGS 均为逗号分隔 CSV**——空格分隔会被拼成一个非法名字(2026-11-12 实测)
- opencode 实体契约位 = ① `$DEV/apps/agent/.opencode/bin`(env.sh PATH 预置):installer 默认落 `~/.opencode/bin`,tools.sh 安装/发现时自动归位 ①;已装判 `command -v` 与契约位双查
- 扩展档案在 `$COMMON/config/ide/vscode/{base,<语言>}.txt`——新装扩展未入档案时 ide.sh 会提示补录
- GUI 类工具(trae/antigravity/qoder)走人工安装,脚本只登记
- **装服务/软件/工具后**:配置文件用 `devenv cfg adopt <name> <路径>` 收编进 `$COMMON/config/services/`(版本化 + `devenv cfg apply` 落位 + doctor 巡检漂移);Runtime 类工具另走 runtimes.tsv 登记 + `devenv runtime wire`

## 验收

`devenv report` 版本表出现所装工具;缓存路径探测指向 Common/DevEnv(非默认 `~/.cache`);共享盘 JS 项目可正常 `npm install`(依赖实体在本机盘 ①)。

Versions

The database has no other skills named bestdevenv-dev.

Database snapshot: 13.11.2026 · package version a16eeb2b04b0 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100bestdevenv
    BestDevEnv 开发环境总调度——用户提出环境类需求但不属于单一子域、或需要先探明本机现状再编排多步工作时使用:探环境(devenv doctor)→拆需求→按依赖顺序调度 bestdevenv-* 子 Skill→devenv doctor 验收。单一明确子域(如仅清缓存)直接用对应子 Skill,不经本 Skill。
  • 100bestdevenv-workflow
    BestDevEnv 共享盘仓库日常工作流——code-open/close 占用仓库、code-nm JS 依赖实体外置、code-out 构建产物外置、三档放置判断时使用。触发:打开/关闭仓库、占用冲突、node_modules symlink 报错、产物分离、文件该放哪。
  • 100buildit
    (forwward) Guides fullstack feature development with clean code patterns across any stack — TypeScript, Python, Go, Ruby, Java, Rust, and more. Detects the project's stack before advising. Triggers on implementing features, writing code, shipping UI + API + DB changes, or any…
  • 100c-cpp-dev
    Use when writing, reviewing, or refactoring C/C++ code, especially on 32-bit ARM embedded targets. NOT for formatting-only changes, simple file reads, non-embedded C/C++ (desktop/server), or C#/Java despite the 'C' in the name.
  • 100jetbrains-vmoptions
    Diagnose and tune JetBrains IDE VM options against the IDE's actual boot runtime, including bundled or custom JetBrains Runtime (JBR) 17, 21, and 25. Use whenever a user asks about JetBrains IDE performance, freezes, startup or indexing speed, memory pressure, garbage…
  • 90catalyst-sdk
    Catalyst SDKs — initialization patterns, service access, and method reference for Node.js, Web (browser), Python, Java, Android, iOS, and Flutter. Trigger on 'SDK', 'zcatalyst-sdk-node', 'Node.js SDK', 'Web SDK', 'Python SDK', 'Java SDK', 'Android SDK', 'iOS SDK', 'Flutter SDK', or 'initialize SDK'.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.