重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
groove-groovebook-publish by andreadellacorte/groove
npx skills add https://github.com/andreadellacorte/groove --skill groove-groovebook-publish如果提供了 $ARGUMENTS,则将其作为学习文本使用。
当前项目的一项学习成果将发布到已配置的 groovebook 仓库中,作为拉取请求,并去除所有项目特定的上下文,准备接受社区评审。
<groovebook> 仓库learned/<主题>/<YYYY-MM-DD>-<slug>.md从 .groove/index.md 读取 groovebook: 配置;如果不存在,则退出并提示:groovebook 未配置。请在 .groove/index.md 中添加 'groovebook: <所有者>/<仓库>' 以启用此功能。
检查 gh auth status;如果未通过身份验证,则退出并提示:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
未通过 GitHub 身份验证。请运行:gh auth login验证 groovebook 仓库是否可访问:gh repo view <groovebook>;如果失败,则退出并显示明确的消息。
获取学习文本:
显示学习文本的预览并询问:这里面是否包含需要编辑掉的仓库特定上下文?(文件路径、内部名称、产品名称)
询问主题(例如 patterns、tools、anti-patterns、workflow)和技能领域(例如 compound、plan、review、daily)
生成 slug:将摘要转换为小写,空格替换为连字符,去除特殊字符,截断至 40 个字符。构建:
learning/<YYYY-MM-DD>-<slug>learned/<主题>/<YYYY-MM-DD>-<slug>.md如果尚未分叉,则分叉 groovebook 仓库:gh repo fork <groovebook> --clone=false
创建分支和文件:
gh api repos/<用户分叉>/git/refs 检查分支是否存在;如果存在,则附加一个简短的唯一后缀gh api 提交gh api 方法太复杂,则对分叉 URL 使用 git 操作——优先选择更简单的路径打开 PR:
gh pr create --repo <groovebook>
--title "<一句摘要>"
--body "<格式化后的正文>"
--head "<分叉用户>:<分支名>"
打印 PR 的 URL
---
date: YYYY-MM-DD
topic: <主题>
skill-area: <技能领域>
source: groovebook-publish
---
# <一句摘要>
## 背景
<是什么触发了这次学习——你在解决什么问题?请通用化描述,不要涉及项目细节。>
## 学习内容
<洞察本身——该做什么,该避免什么,或者哪种模式有效。>
## Groove 技能领域
`<技能领域>` (例如 `groove-work-compound`, `groove-work-plan`)
## 摘要
<一句摘要>
## 背景
<是什么触发了这次学习>
## 学习内容
<洞察>
## Groove 技能领域
`<技能领域>`
---
*通过 groove-groovebook-publish 发布*
groovebook: 的值-2、-3 等,直到找到可用的名称每周安装次数
18
仓库
GitHub 星标数
4
首次出现
3 天前
安全审计
已安装于
opencode18
gemini-cli18
github-copilot18
codex18
kimi-cli18
cursor18
Use $ARGUMENTS as the learning text if provided.
A learning from the current project is published to the configured groovebook repo as a pull request, stripped of any project-specific context, ready for community review.
<groovebook> repolearned/<topic>/<YYYY-MM-DD>-<slug>.md in the groovebook repoRead groovebook: from .groove/index.md; if absent, exit with: groovebook is not configured. Add 'groovebook: <owner>/<repo>' to .groove/index.md to enable.
Check gh auth status; if not authenticated, exit with: Not authenticated with GitHub. Run: gh auth login
Verify the groovebook repo is accessible: gh repo view <groovebook>; if it fails, exit with a clear message.
Get the learning text:
Show a preview of the learning text and ask: Does this contain any repo-specific context to redact? (file paths, internal names, product names)
Ask for topic (e.g. patterns, tools, anti-patterns, workflow) and skill area (e.g. compound, plan, review, daily)
Generate slug: lowercase the summary, replace spaces with hyphens, strip special characters, truncate to 40 chars. Construct:
learning/<YYYY-MM-DD>-<slug>learned/<topic>/<YYYY-MM-DD>-<slug>.mdFork the groovebook repo if not already forked: gh repo fork <groovebook> --clone=false
Create the branch and file:
gh api repos/<user-fork>/git/refs to check if branch exists; if so, append a short unique suffixgh apigit operations against the fork URL if gh api approach is too complex — prefer the simpler pathOpen the PR:
gh pr create --repo <groovebook>
--title "<one-sentence summary>"
--body "<formatted body>"
--head "<fork-user>:<branch-name>"
Print the PR URL
---
date: YYYY-MM-DD
topic: <topic>
skill-area: <skill-area>
source: groovebook-publish
---
# <One-sentence summary>
## Context
<What triggered this learning — what problem were you solving? Generic, no project specifics.>
## Learning
<The insight itself — what to do, what to avoid, or what pattern works.>
## Groove skill area
`<skill-area>` (e.g. `groove-work-compound`, `groove-work-plan`)
## Summary
<one-sentence summary>
## Context
<what triggered this>
## Learning
<the insight>
## Groove skill area
`<skill-area>`
---
*Published via groove-groovebook-publish*
groovebook: value-2, -3, etc. until a free name is foundWeekly Installs
18
Repository
GitHub Stars
4
First Seen
3 days ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode18
gemini-cli18
github-copilot18
codex18
kimi-cli18
cursor18
Skills CLI 使用指南:AI Agent 技能包管理器安装与管理教程
52,700 周安装