用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ForceInjection/domain-driven-design-skills --skill gh-bootstrap命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Conduct deep academic research for philosophy, neuroscience, cognitive science, and theoretical computer science (computability, complexity, AI theory, logic). Use when user asks to: research academic topics, find scholarly papers, conduct literature reviews, analyze citations, synthesize research findings, explore philosophical arguments, investigate consciousness/cognition, study computability/decidability/Turing machines, or analyze academic debates. Triggers on: 'research papers', 'literature review', 'academic sources', 'scholarly articles', 'philosophy of mind', 'computability theory', 'neuroscience studies', 'find papers on', 'what does the research say'.
Create clear action plans with steps, success criteria, and risk awareness. Use before implementing features, making changes, starting projects, or anytime you need a roadmap to success. Triggers on "plan this", "how should we approach", "what's the strategy", "steps to complete", or when facing complex multi-step work.
Add keyboard navigation to a feature using CommandRegistryService. Use when implementing keyboard shortcuts, vim-style navigation, or hotkeys for a page or component.
正在显示 SKILL.md
基于 SOC 职业分类
| name | gh-bootstrap |
| description | 一站式 GitHub 仓库配置初始化工具。 |
| allowed-tools | Task, AskUserQuestion, Read, Bash, Glob, Grep, Write |
一站式 GitHub 仓库配置初始化工具,将项目配置时间从数小时缩短到几分钟。
┌─────────────────────────────────────────────────────────────────┐
│ gh-bootstrap Skill Architecture │
├─────────────────────────────────────────────────────────────────┤
│ │
│ SKILL.md (入口) │
│ ↓ │
│ Phase 1: Detection → 扫描项目,识别语言/框架/现有配置 │
│ ↓ │
│ Phase 2: Collection → 交互式收集配置 (AskUserQuestion) │
│ ↓ │
│ Phase 3: Conflict → 检测冲突,制定处理策略 │
│ ↓ │
│ Phase 4: Execution → 下载模板 + 直接复制(仅替换变量) │
│ ↓ │
│ Phase 5: Report → 生成执行报告和后续建议 │
│ │
└─────────────────────────────────────────────────────────────────┘
phases/(逻辑) + specs/(配置) + templates/(视图)⚠️ 禁止自行编写配置文件!必须遵循以下规则:
在开头调用问答式表单,询问用户的沟通语言(决定了与你沟通),询问用户编写后续模板使用的语言(Issue模板之类) 若用户确认了使用中文 or Chinese 你必须在后续的所有模板的编写都尽量以中文友好
Read specs/template-catalog.md → git clone 模板仓库 → Read 模板文件 → 直接复制 + 变量替换 → Write 输出
specs/template-catalog.md 获取精确的文件路径映射template-catalog.md 中下载对应的推荐仓库{{projectName}}、{{description}}、{{author}} 等){{owner}}、{{repo}}、badges URL 等)node-version、python-version 等)为检测到的版本${{ secrets.* }}、${{ github.* }} 表达式(这些是 GitHub Actions 语法)@v4模板中的变量占位符必须全部替换,不能留空! 这些变量在 Phase 2 收集阶段必须全部确定。
违反以上规则将导致工作流失效!详见 04-execution.md
用户触发 gh-bootstrap
│
▼
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Phase 1 │ ──▶ │ Phase 2 │ ──▶ │ Phase 3 │
│ Detection │ │ Collection │ │ Conflict │
│ 项目检测 │ │ 配置收集 │ │ 冲突检测 │
└─────────────┘ └─────────────┘ └─────────────┘
│
┌────────────────────────────────────────┘
▼
┌─────────────┐ ┌─────────────┐
│ Phase 4 │ ──▶ │ Phase 5 │
│ Execution │ │ Report │
│ 执行生成 │ │ 报告总结 │
└─────────────┘ └─────────────┘
{project-root}/
├── .github/
│ ├── workflows/
│ │ └── ci.yml
│ ├── ISSUE_TEMPLATE/
│ │ ├── bug_report.md
│ │ └── feature_request.md
│ ├── PULL_REQUEST_TEMPLATE.md
│ ├── dependabot.yml
│ ├── labels.yml
│ └── CODEOWNERS
├── README.md
├── LICENSE
├── .gitignore
└── CONTRIBUTING.md
| Document | Purpose |
|---|---|
| phases/01-detection.md | 智能项目检测 |
| phases/02-collection.md | 交互式配置收集 |
| phases/03-conflict.md | 冲突检测与处理 |
| phases/04-execution.md | 模板下载与直接复制 |
| phases/05-report.md | 执行报告 |
| specs/detection-rules.md | 检测规则定义 |
| specs/presets.md | 预设配置定义 |
| specs/template-catalog.md | 推荐模板仓库目录 |