gh-bootstrap
- Ask user for communication language and template language preference. Also ask for the desired mode: quick (sensible defaults, minimal interaction), custom (choose specific templates), or full (all available templates). See phases/02.1-quick-mode.md, phases/02.2-custom-mode.md, and phases/02.3-full-mode.md for mode-specific behavior.
- Detect languages, frameworks, and existing GitHub files with
python "$SKILL_DIR/scripts/gh_bootstrap_runtime.py" detect "$ARGUMENTS"before planning. If detection returns no languages (empty project or unrecognized stack), ask the user to specify the primary language manually instead of guessing. - Call
AskUserQuestionto collect necessary configuration variables. - Scan for existing config files and plan conflict resolution (see references/RULES.md). Never overwrite existing files without explicit user approval.
- Read
specs/template-catalog.mdto map required files to repository URLs, then usepython "$SKILL_DIR/scripts/gh_bootstrap_runtime.py" fetch-template ...to download the chosen template sources. If a template download fails (network error, 404, timeout), report which template failed and offer to skip it or retry. - Render files with
python "$SKILL_DIR/scripts/gh_bootstrap_runtime.py" render-template ...so placeholder replacement is deterministic. Keepphases/andspecs/as reference material, not the execution engine. - Validate the generated tree with
python "$SKILL_DIR/scripts/gh_bootstrap_runtime.py" validate-tree <target-root>and refuse completion if unreplaced{{placeholders}}remain. - If
rtkis available, prefer it for project scanning, template inspection, and post-generation diff review. Keep template download and file rendering on the raw script path.
Mandatory Rules
- NEVER write config files from memory; MUST use downloaded templates.
- ALWAYS replace all variable placeholders (e.g.,
{{projectName}}). - See references/RULES.md for detailed architecture and constraints.
More from bahayonghang/my-claude-code-settings
tech-design-doc
Generate technical design documents with proper structure, diagrams, and implementation details. Use when designing a new feature, documenting architecture decisions, or planning refactoring work. Default language is English.
106bidwriter
智能标书编写专家,专精工程咨询、建筑设计、市政工程领域的投标文件编写。
70article-cover
Generate article cover images as SVG. Use when creating cover/banner/header graphics for blogs, documentation, social media cards, or OG images. Trigger this skill whenever the user mentions article covers, blog banners, post thumbnails, social sharing images, or any visual header for written content — even if they don't explicitly say 'SVG'. Do not use it for full-scene illustrations, photo editing, or slide theme work.
63tech-blog
Write technical blog posts with source code analysis OR doc-driven research. Use when user wants to explain system internals, architecture, implementation details, or technical concepts with citations.
53git-commit-cn
Safely orchestrate Chinese Conventional Commits for staged Git changes, or for all working-tree changes when the user explicitly asks to include everything. Use when the user asks to write a commit message, split staged changes, split all changes, commit everything regardless of stage state, include untracked files in the commit set, organize a messy index before committing, prepare a Chinese commit, draft a Conventional Commit, or generate structured commit text without pushing by default.
47gemini-image
>-
46