bootstrap

GitHub

用于从零初始化或重置 Keychat 开发环境。通过更新 git 子模块、安装指定版本 Melos 并执行引导命令,确保所有包依赖正确解析且无错误完成,同时检查并提醒配置 .env 文件及 FCM 密钥。

.claude/skills/bootstrap/SKILL.md keychat-io/keychat-app

触发场景

初始化 Keychat 开发环境 重置 Keychat 项目依赖 解决 Melos bootstrap 失败问题

安装

npx skills add keychat-io/keychat-app --skill bootstrap -g -y
更多选项

非标准路径

npx skills add https://github.com/keychat-io/keychat-app/tree/main/.claude/skills/bootstrap -g -y

不安装直接使用

npx skills use keychat-io/keychat-app@bootstrap

指定 Agent (Claude Code)

npx skills add keychat-io/keychat-app --skill bootstrap -a claude-code -g -y

安装 repo 全部 skill

npx skills add keychat-io/keychat-app --all -g -y

预览 repo 内 skill

npx skills add keychat-io/keychat-app --list

SKILL.md

Frontmatter
{
    "name": "bootstrap",
    "description": "Initialize or reset the Keychat development environment",
    "allowed-tools": "Bash(git *), Bash(melos *), Bash(dart pub *)",
    "disable-model-invocation": true
}

Set up the Keychat development environment from scratch.

Steps

  1. Update git submodules

    git submodule update --init --recursive
    
  2. Ensure melos is installed

    dart pub global activate melos 7.3.0
    
  3. Bootstrap all packages

    melos bootstrap
    
  4. Check for .env file If packages/app/.env doesn't exist, remind the user:

    • Copy .env.example to .env
    • Configure FCM keys for push notifications

Success criteria

  • All submodules are cloned
  • Melos bootstrap completes without errors
  • Dependencies are resolved for all packages

版本历史

  • 294d00d 当前 2026-07-05 10:51

同 Skill 集合

.claude/skills/architecture/SKILL.md
.claude/skills/batch/SKILL.md
.claude/skills/flutter-check/SKILL.md
.claude/skills/generate/SKILL.md
.claude/skills/lint/SKILL.md
.claude/skills/pods/SKILL.md
.claude/skills/clean/SKILL.md
.claude/skills/run/SKILL.md
.claude/skills/rust-build/SKILL.md
.claude/skills/test/SKILL.md

元信息

文件数
0
版本
294d00d
Hash
e216570b
收录时间
2026-07-05 10:51

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-13 21:11
浙ICP备14020137号-1 $访客地图$