开发者环境设置指南Skill onboarding

本技能提供跨平台开发者环境设置的详细指南,覆盖Windows、macOS、Linux和WSL,包括包管理、运行时环境、终端配置、代码编辑器、AI工具、容器化、数据库工具等,帮助开发者快速搭建和优化开发环境,适用于新机器设置、团队入职和工具配置。关键词:开发者环境设置、跨平台指南、开发工具安装、配置优化、环境搭建、入职培训、Windows、macOS、Linux、WSL、包管理、AI工具、容器化。

DevOps 0 次安装 0 次浏览 更新于 3/11/2026

name: onboarding description: Windows、macOS、Linux和WSL的开发者环境设置指南。用于设置开发机器、安装工具、配置环境或遵循平台特定的设置指南。覆盖包管理、shell/终端、代码编辑器、AI工具、容器化、数据库等。 allowed-tools: Read, Glob, Grep, Bash

开发者入职

所有主要平台的完整开发者环境设置指南。

概述

本技能提供逐步入职文档,用于设置:

  • 包管理器(winget、Homebrew、apt、pacman)
  • 运行时环境(用于Node.js的NVM)
  • Shell与终端(PowerShell、Zsh、Bash自定义)
  • 代码编辑器(VS Code、JetBrains、Neovim)
  • AI工具(Claude Code、Cursor、LM Studio、Gemini CLI)
  • 容器化(Docker设置)
  • 云平台(Azure CLI)
  • 数据库工具(DBeaver、Azure Data Studio)
  • 安全工具(GPG、SSH、Windows Sandbox)
  • 生产力工具(Figma、各种实用程序)

何时使用此技能

使用此技能时:

  • 设置新开发机器
  • 为团队入职新开发者
  • 查找平台特定的安装说明
  • 跨Windows、macOS、Linux或WSL配置开发者工具
  • 寻找环境设置的最佳实践
  • 排查开发者工具安装问题

按平台快速开始

Windows

主要指南:references/windows-onboarding.md

遵循有序步骤,覆盖WSL、包管理、Git(通过git技能)、运行时环境、shell配置和开发工具。

macOS

主要指南:references/macos-onboarding.md

遵循有序步骤,覆盖Homebrew、Git(通过git技能)、运行时环境、shell配置和开发工具。

Linux

主要指南:references/linux-onboarding.md

遵循有序步骤,覆盖包管理、Git(通过git技能)、运行时环境、shell配置和开发工具。

主题索引

主题 Windows macOS Linux WSL
包管理 Windows macOS Linux -
WSL设置 Windows - - -
Linux基础 - - Linux WSL
运行时环境 Windows macOS Linux -
PowerShell Windows macOS Linux -
Shell自定义 Windows macOS Linux -
替代Shell Windows macOS Linux -
代码编辑器 Windows macOS Linux -
AI工具 Windows macOS Linux -
Docker Windows macOS Linux -
API工具 Windows macOS Linux WSL
网页浏览器 Windows macOS Linux -
Azure CLI Windows macOS Linux -
数据库工具 Windows macOS Linux -
生产力 Windows macOS Linux -
Figma Windows macOS Linux -
安全工具 Windows macOS Linux -
Windows沙盒 Windows - - -
系统实用程序 Windows macOS Linux -
其他 Windows macOS Linux -

跨平台内容

Git和版本控制

Git文档已整合到专用的Claude Code技能中以便更好维护:

  • git:setup 技能:Git安装和基本配置
  • git:line-endings 技能:跨平台行尾配置
  • git:gui-tools 技能:Git GUI客户端推荐
  • git:git-config 技能:全面的Git配置
  • git:gpg-signing 技能:提交签名设置

直接调用这些技能以获取Git相关指导。

平台检测

帮助用户时,通过以下方式检测平台:

  • Windows$env:OS 包含 “Windows”,PowerShell,winget
  • macOSuname -s 返回 “Darwin”,brew
  • Linuxuname -s 返回 “Linux”,apt/dnf/pacman
  • WSL:Linux内核 + /mnt/c/ 路径

参考加载指南

所有参考都基于检测到的平台有条件加载

  1. 加载 references/{platform}-onboarding.md 作为平台入口点
  2. 根据需要从 references/{topic}/ 加载主题特定参考
  3. 与git技能交叉引用以设置版本控制

令牌效率:入口点 + 2-3个主题参考是典型加载(约200-400行)


最后更新: 2025年12月1日

版本历史

  • v1.0.0 (2025年12月26日):初始发布