AGENT SKILL
dev-env-setup
Bootstraps standardized development environment configuration
- License 许可
- MIT
- 最近更新
- 2026-06-04
- Stars
- ★ 47
- Forks
- 5
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.
★ 47
csv-summarizer
Print row and column counts for a CSV file
★ 47
context-loader
Synchronizes startup context across Claude instances, runs at launch.
★ 47