用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/htlin222/dotfiles --skill publish-the-skill命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
依 ticket/issue 產出初版實作 — 解析需求、從最新 develop 切出符合命名規範的分支、寫出實作、跑既有測試與 lint、conventional commit,然後交棒給 /simplify。Use when the user types /develop, or asks to start implementing a ticket, issue, or feature request end-to-end from requirement to first commit.
Put a website behind a Cloudflare Access (Zero Trust) login gate, or remove one, entirely from the CLI — no dashboard GUI. Use when the user wants to password/email-protect a hostname, gate a Cloudflare Pages or Workers site, restrict a site to specific emails, set up Zero Trust Access, or asks about "cf-gate". Manages Access applications and allow-email policies via the Cloudflare API using a token in the skill's .env. Note: wrangler does NOT manage Access — this uses the Cloudflare REST API directly.
Curate a GitHub repository's wiki (the separate repo.wiki.git) into a coherent, tightly written set of pages: Home, Introduction (project + features), Roadmap, Gotchas/Lessons, Tech Debt, and an Architecture page taught through the book *Head First Software Architecture* — with mermaid diagrams, in the repo's own language and style, then commit and push. Use when the user wants to create, update, curate, or document a GitHub repo's wiki; write or refresh wiki pages; add an architecture / design page to a wiki; enable a wiki; or asks for "/wiki-git". Handles both first-time wikis and updates to existing ones, and can fan out across many repos.
基于 SOC 职业分类
正在显示 SKILL.md
| name | publish-the-skill |
| description | Publish a skill folder as a .skill package to GitHub. Use when distributing skills. |
Publish any skill folder as a distributable .skill package on GitHub with automated CI releases.
gh CLI authenticatedSKILL.md with frontmatter (name, description)Determine these values (ask if not obvious):
| Variable | Source | Example |
|---|---|---|
SKILL_DIR | Folder containing SKILL.md | ebmt-handbook/ |
SKILL_NAME | From SKILL.md frontmatter name: | ebmt-handbook |
REPO_NAME | {SKILL_NAME}-skill | ebmt-handbook-skill |
GH_USER | gh api user --jq '.login' | htlin222 |
DESCRIPTION | From SKILL.md frontmatter description: (first sentence, <160 chars) | |
LICENSE | From SKILL.md or ask user | CC BY 4.0 |
.gitignore.DS_Store
*.zip
*.skill
Write .github/workflows/release.yml:
name: Build & Release Skill
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set version from SHA
id: version
run: |
SHORT_SHA="${GITHUB_SHA::7}"
echo "sha=${SHORT_SHA}" >> $GITHUB_OUTPUT
- name: Package skill
run: |
cd SKILL_DIR
zip -r ../SKILL_NAME.zip .
cd ..
cp SKILL_NAME.zip SKILL_NAME.skill
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: SKILL_NAME-${{ steps.version.outputs.sha }}
path: SKILL_NAME.skill
-
Replace all SKILL_DIR, SKILL_NAME, REPO_NAME, GH_USER placeholders with actual values.
# SKILL_NAME
[](https://github.com/GH_USER/REPO_NAME/actions/workflows/release.yml)
[](https://github.com/GH_USER/REPO_NAME/releases/latest)
[](LICENSE_URL)
[](https://github.com/vercel-labs/skills)
[](https://github.com/vercel-labs/skills#supported-agents)
> DESCRIPTION_ONE_LINER
## Install
\```bash
npx skills add GH_USER/REPO_NAME
npx skills add -g GH_USER/REPO_NAME # global
npx skills add GH_USER/REPO_NAME --agent claude-code # specific agent
\```
## What it does
WHAT_IT_DOES (extract from SKILL.md body)
## Skill structure
TREE_OUTPUT (run `tree SKILL_DIR`)
## Protocol
This skill follows the [vercel-labs/skills](https://github.com/vercel-labs/skills) protocol.
Each push to `main` triggers a GitHub Action that packages the skill as a `.skill` file
and creates a release tagged with the commit SHA.
## License
LICENSE_LINE
Replace all placeholders. Generate the tree from actual directory contents.
git init && git branch -M main
git add -A
git commit -m "Initial release: SKILL_NAME skill for AI coding agents"
gh repo create REPO_NAME --public \
--description "DESCRIPTION_SHORT. Install: npx skills add GH_USER/REPO_NAME" \
--source . --push
gh run list --repo GH_USER/REPO_NAME --limit 1
gh run watch <RUN_ID> --repo GH_USER/REPO_NAME --exit-status
gh release list --repo GH_USER/REPO_NAME --limit 1
Report the repo URL and install command to the user.