add-new-skills-to-workflow by nicepkg/ai-workflow
npx skills add https://github.com/nicepkg/ai-workflow --skill add-new-skills-to-workflow从 GitHub 下载技能并添加到现有工作流中,同时更新所有相关文档。
使用 skill-downloader 从 GitHub 下载技能:
python .claude/skills/skill-downloader/scripts/download_from_github.py <repo-url> <skill-path> --output <workflow-path>/.claude/skills/
解析 GitHub URL:
https://github.com/user/repo/blob/main/path/to/skill → repo: https://github.com/user/repo, skill-path: path/to/skillhttps://github.com/user/repo/tree/main/.claude/skills/my-skill → repo: https://github.com/user/repo, skill-path: .claude/skills/my-skill广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
示例:
# 对于 URL: https://github.com/XIYO/zheon/blob/main/.claude/skills/slidev
python .claude/skills/skill-downloader/scripts/download_from_github.py https://github.com/XIYO/zheon .claude/skills/slidev --output ./workflows/talk-to-slidev-workflow/.claude/skills/
# 使用 --force 覆盖已存在的文件
python .claude/skills/skill-downloader/scripts/download_from_github.py <repo> <path> --output <target> --force
阅读下载的 SKILL.md 文件以了解:
将新技能条目添加到 workflows/<name>/.claude/skill-source.json:
{
"skill-name": {
"source": "https://github.com/user/repo",
"path": "path/to/skill"
}
}
更新以下文件(工作流中存在的所有相关文件):
| 文件 | 需要更新的内容 |
|---|---|
workflows/<name>/.claude/skill-source.json | 添加新技能源条目 |
workflows/<name>/README.md | 技能数量、技能表格、管道 |
workflows/<name>/README_cn.md | 同上(中文) |
workflows/<name>/AGENTS.md | 可用技能列表、推荐序列 |
website/content/en/workflows/<name>.mdx | 技能数量、技能表格、管道 |
website/content/zh/workflows/<name>.mdx | 同上(中文) |
README.md (根目录) | 工作流表格中的技能数量 |
README_cn.md (根目录) | 同上(中文) |
技能数量 :更新总数(例如,"18 skills" → "20 skills")
技能表格 :在适当的类别中添加新技能行
| `skill-name` | 简要描述其功能 |
管道 :如果适用,将技能添加到相关阶段
阶段 X: 类别
├── existing-skill → 描述
└── new-skill → 描述
AGENTS.md :添加到可用技能中并更新推荐序列
根目录 README :更新工作流概览表格中的技能数量
给定: 添加 slidev 和 slidev-presentations 技能
步骤 1: 下载
python .claude/skills/skill-downloader/scripts/download_from_github.py https://github.com/XIYO/zheon .claude/skills/slidev --output ./workflows/talk-to-slidev-workflow/.claude/skills/
python .claude/skills/skill-downloader/scripts/download_from_github.py https://github.com/clearfunction/cf-devtools skills/slidev-presentations --output ./workflows/talk-to-slidev-workflow/.claude/skills/
步骤 2: 阅读已下载的技能以了解其用途
步骤 3: 使用新技能条目更新 skill-source.json
步骤 4: 更新所有 8 个文件:
每周安装量
173
代码仓库
GitHub 星标数
142
首次出现
2026年1月22日
安全审计
安装于
gemini-cli149
opencode146
codex139
cursor136
github-copilot127
amp114
Add skills from GitHub to an existing workflow and update all related documentation.
Use skill-downloader to download skills from GitHub:
python .claude/skills/skill-downloader/scripts/download_from_github.py <repo-url> <skill-path> --output <workflow-path>/.claude/skills/
Parse GitHub URL:
https://github.com/user/repo/blob/main/path/to/skill → repo: https://github.com/user/repo, skill-path: path/to/skillhttps://github.com/user/repo/tree/main/.claude/skills/my-skill → repo: https://github.com/user/repo, skill-path: .claude/skills/my-skillExample:
# For URL: https://github.com/XIYO/zheon/blob/main/.claude/skills/slidev
python .claude/skills/skill-downloader/scripts/download_from_github.py https://github.com/XIYO/zheon .claude/skills/slidev --output ./workflows/talk-to-slidev-workflow/.claude/skills/
# Use --force to overwrite existing
python .claude/skills/skill-downloader/scripts/download_from_github.py <repo> <path> --output <target> --force
Read the downloaded SKILL.md to understand:
Add the new skill entry to workflows/<name>/.claude/skill-source.json:
{
"skill-name": {
"source": "https://github.com/user/repo",
"path": "path/to/skill"
}
}
Update these files (all that exist for the workflow):
| File | Updates Required |
|---|---|
workflows/<name>/.claude/skill-source.json | Add new skill source entry |
workflows/<name>/README.md | Skill count, skill table, pipeline |
workflows/<name>/README_cn.md | Same as above (Chinese) |
workflows/<name>/AGENTS.md | Available skills list, recommended sequences |
website/content/en/workflows/<name>.mdx | Skill count, skill table, pipeline |
website/content/zh/workflows/<name>.mdx |
Skill Count : Update total count (e.g., "18 skills" → "20 skills")
Skill Table : Add new skill row in appropriate category
| `skill-name` | Brief description of what it does |
Pipeline : Add skill to relevant stage if applicable
Stage X: Category
├── existing-skill → Description
└── new-skill → Description
AGENTS.md : Add to available skills and update recommended sequences
Root README : Update skill count in workflow overview table
Given: Add slidev and slidev-presentations skills
Step 1: Download
python .claude/skills/skill-downloader/scripts/download_from_github.py https://github.com/XIYO/zheon .claude/skills/slidev --output ./workflows/talk-to-slidev-workflow/.claude/skills/
python .claude/skills/skill-downloader/scripts/download_from_github.py https://github.com/clearfunction/cf-devtools skills/slidev-presentations --output ./workflows/talk-to-slidev-workflow/.claude/skills/
Step 2: Read downloaded skills to understand their purpose
Step 3: Update skill-source.json with new skill entries
Step 4: Update all 8 files:
Weekly Installs
173
Repository
GitHub Stars
142
First Seen
Jan 22, 2026
Security Audits
Gen Agent Trust HubFailSocketPassSnykWarn
Installed on
gemini-cli149
opencode146
codex139
cursor136
github-copilot127
amp114
AI Elements:基于shadcn/ui的AI原生应用组件库,快速构建对话界面
62,200 周安装
| Same as above (Chinese) |
README.md (root) | Skill count in workflow table |
README_cn.md (root) | Same as above (Chinese) |