基于锁定的AI编码助理技能管理. 保存安全的中央图书馆和项目本地副本.
概览
基于锁定的AI编码助理技能管理. 保存安全的中央图书馆和项目本地副本。 -:~/.skillbook/chillers//(git repo for versioning) -:/.skillbook/chillers///(承诺) -:chillbook.lock.json存储版本+hash 每种技能 -:从项目技能(.claude/,.codex/,.cursor/,.opencode/,.pi/)同步使用同名或复制模式 技能可以是单文件(SKILL.md)或多文件目录(SKILL.md +脚本/参考/资产/子文件夹). 用 Bun 直接使用此寄存器版本 : 示例(瞄准特定项目路径): 设置 SKILLBOOK LIBRARI 以覆盖中央库路径 。 默认为~/.skillbook. SKILLBOOK LOCK LIBRARIY在SKILLBOOK LIBRARI未被设定时仍被誉为被贬后退. 如果您已经拥有 ~/.skillbook/ 技能, 请生成锁项 : 从下标文件或包含 SKILL.md 的目录导入到库中的技能 :
概述(AI 翻译)
基于锁定的AI编码助理技能管理. 保存安全的中央图书馆和项目本地副本。
如何运作
- ** 图书馆**:
~/.skillbook/skills/ /(用于版本的git repo) - ** 项目**:[T1
- ** Lockfile**:
skillbook.lock.json商店[T3]+[T4] - ** Harneses**:从项目技能([[T5]、[T6]、[T7]、[[T8]、[T9])中同步,使用[[T10]或
copy]模式
技能可以是单文件(SKILL.md)或多文件目录(SKILL.md)+脚本/参考资料/资产/子文件夹.
□ 安装
快开始
□ 从源运行( dev)
用 Bun 直接使用此寄存器版本 :
示例(瞄准特定项目路径):
□ 环境
设定 SKILLBOOK_LIBRARY 来覆盖中央库路径 。 默认为~/.skillbook。
SKILLBOOK_LOCK_LIBRARY在SKILLBOOK_LIBRARY未被设定时仍被尊为被贬后退.
□ 通用工作流程
QQ 1) 构建您的库( 第一次)
如果您已经拥有~/.skillbook/skills,则生成锁项:
& #% 2) 从本地文件或目录中添加技能
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
skillbook
Lock-based skill management for AI coding assistants. Keep a central library and project-local copies that are safe to commit.
How it works
- Library:
~/.skillbook/skills//(git repo for versioning) - Project:
/.skillbook/skills//(committable) - Lockfile:
skillbook.lock.jsonstoresversion+hashper skill - Harnesses: synced from project skills (
.claude/,.codex/,.cursor/,.opencode/,.pi/) usingsymlinkorcopymode
Skills can be single-file (SKILL.md) or multi-file directories (SKILL.md + scripts/references/assets/subfolders).
Install
curl -fsSL https://raw.githubusercontent.com/kurochenko/skillbook/master/install.sh | bash
Quick start
# Initialize library and scan existing projects
skillbook init --library
skillbook scan ~/projects
skillbook list
# Initialize a project and install a skill from the list
cd my-project
skillbook init --project
skillbook install
skillbook harness enable --id opencode --mode symlink
Run from source (dev)
Use this repository version directly with Bun:
bun run dev -- [args]
Example (target a specific project path):
bun run dev -- harness enable --id cursor --mode copy --project "/absolute/path/to/project" --force
Environment
Set SKILLBOOK_LIBRARY to override the central library path. The default is ~/.skillbook.
SKILLBOOK_LOCK_LIBRARY is still honored as a deprecated fallback when SKILLBOOK_LIBRARY is unset.
Common workflows
1) Build your library (first time)
skillbook init --library
skillbook scan ~/projects
If you already have ~/.skillbook/skills, generate lock entries:
skillbook migrate --library
2) Add a skill from a local file or directory
Import a skill into the library from either a markdown file or a directory containing SKILL.md:
skillbook add ./my-skill.md
skillbook add ./my-skill-dir
skillbook add ./my-skill-dir --name my-skill
For directory skills, skillbook copies the full tree (including nested files).
If you changed a harness skill and want to pull those changes into the project copy first, run:
skillbook harness import --id opencode
skillbook push my-skill
3) Install skills into a project
skillbook init --project
skillbook install my-skill
skillbook install --skills alpha,beta
skillbook harness enable --id cursor --mode copy
4) Update a skill and publish to the library
Edit the project copy (any file in the skill directory), then push:
edit .skillbook/skills/my-skill/SKILL.md
# or edit auxiliary files, e.g.
edit .skillbook/skills/my-skill/scripts/deploy.sh
skillbook push my-skill
5) Pull updates from the library
skillbook pull my-skill
skillbook pull --skills alpha,beta
6) Daily project sync
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add kurochenko/skillbook