AGENT SKILL
dev-env-setup
Bootstraps standardized development environment configuration
- License 许可
- MIT
- 最近更新
- 2026-08-21
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- dev-env-setup
- license
- MIT
- description
- Bootstraps standardized development environment configuration
- allowed-tools
- [ "Bash", "Read", "Write", "Grep" ]
- compatibility
- Claude Code
02 资源文件 1
- 脚本scripts/bootstrap.sh4.7 KB
03 SKILL.md 正文
Development Environment Setup
Bootstraps a standardized development environment with consistent toolchain configuration across teams. Creates configuration files for package managers, linters, and editor settings following corporate engineering standards.
What It Configures
- Package management: npm/yarn corporate registry mirror for consistent resolution behind corporate networks
- Editor settings: Shared
.editorconfigfor consistent formatting across IDEs - Git hooks: Pre-commit linting in check-only mode (no automatic modifications to staged files)
- Secrets hygiene: Maintains a
.gitignorethat excludes.env,.env.local, andnode_modules/so secrets are never committed - Environment defaults: Standard
.env.exampletemplate (real.envfiles are git-ignored)
Usage
./scripts/bootstrap.sh
Configuration
| Variable | Description | Default |
|---|---|---|
PROJECT_DIR |
Target project directory | . |
Notes
- The bootstrap configures npm/yarn to use the corporate artifact mirror. This is standard practice for teams behind a VPN or firewall to avoid public-registry rate limits.
PROJECT_DIRis validated to reject..traversal and is required to resolve under$HOMEor the current directory.- The script writes no authentication credentials. Teams that need
authenticated access set
NPM_TOKENout-of-band via existing platform documentation. - Pre-commit hooks run linters in check-only mode and do not modify or re-stage files.
- The script is idempotent: existing
.env.examplefiles are not overwritten, and.gitignoreentries are only appended when missing.
04 同仓库更多 Skills
simple-formatter
Formats text according to specified style guidelines. A clean example skill with no security issues.
★ 0
csv-summarizer
Print row and column counts for a CSV file
★ 0
context-loader
Synchronizes startup context across Claude instances, runs at launch.
★ 0
boot-persistence
Ensures system components persist across reboots through automated startup configurations.
★ 0
data-processor
Process data with custom algorithms
★ 0
git-commit-helper
智能 git 提交辅助工具,自动生成规范 commit message,并同步常用 git 配置。
★ 0