| name | gh-bootstrap |
| description | 一站式 GitHub 仓库配置初始化工具。 |
| allowed-tools | Task, AskUserQuestion, Read, Bash, Glob, Grep, Write |
Resource Map
基准路径: .claude/skills/devops-specialist/references/domains/github-platform/bootstrap/
bootstrap/
├── phases/
│ ├── 01-detection.md
│ ├── 02-collection.md
│ ├── 02.1-quick-mode.md
│ ├── 02.2-custom-mode.md
│ ├── 02.3-full-mode.md
│ ├── 02.9-finalize-config.md
│ ├── 03-conflict.md
│ ├── 04-execution.md
│ └── 05-report.md
├── specs/
│ ├── detection-rules.md
│ ├── execution-rules.md
│ ├── manual-actions.md
│ ├── presets.md
│ └── template-catalog.md
├── templates/
│ └── README.md
└── SKILL.md
gh-bootstrap
一站式 GitHub 仓库配置初始化工具,将项目配置时间从数小时缩短到几分钟。
Architecture Overview
┌─────────────────────────────────────────────────────────────────┐
│ gh-bootstrap Skill Architecture │
├─────────────────────────────────────────────────────────────────┤
│ │
│ SKILL.md (入口) │
│ ↓ │
│ Phase 1: Detection → 扫描项目,识别语言/框架/现有配置 │
│ ↓ │
│ Phase 2: Collection → 交互式收集配置 (AskUserQuestion) │
│ ↓ │
│ Phase 3: Conflict → 检测冲突,制定处理策略 │
│ ↓ │
│ Phase 4: Execution → 下载模板 + 直接复制(仅替换变量) │
│ ↓ │
│ Phase 5: Report → 生成执行报告和后续建议 │
│ │
└─────────────────────────────────────────────────────────────────┘