releasing-clickup-cli
关于
This skill automates the release process for the clickup-cli package by publishing to npm, updating the Homebrew tap, generating release notes, and syncing the agent skill. Use it when you need to bump versions, create new releases, or verify release readiness. It handles semantic versioning and includes pre-release validation checks for type checking, linting, and testing.
快速安装
Claude Code
推荐npx skills add krodak/clickup-cli -a claude-code/plugin add https://github.com/krodak/clickup-cligit clone https://github.com/krodak/clickup-cli.git ~/.claude/skills/releasing-clickup-cli在 Claude Code 中复制并粘贴此命令以安装该技能
技能文档
Versioning
| Change type | Bump |
|---|---|
| Bug fix | patch (x.y.Z) |
| New feature, backward compatible | minor (x.Y.0) |
| Breaking change | major (X.0.0) |
Pre-release checklist
-
npm run typecheckpasses -
npm run lintpasses -
npm testpasses (includes version sync test) -
npm run buildsucceeds - New commands added to
src/commands/metadata.ts(completion test will fail otherwise)
Release steps
1. Commit feature/fix changes first
Do NOT mix feature commits with version bump commits.
2. Bump version
npm version <version> --no-git-tag-version
3. Sync all version-tracked files
node --import tsx scripts/sync-command-docs.ts
This updates:
docs/commands.mdquick reference tableskills/clickup-cli/SKILL.mdversion header (line 6)skills/clickup-cli/SKILL.mdversion check hint (line 10).claude-plugin/plugin.jsonversion field
The version synchronization test in tests/unit/ verifies these stay in sync.
4. Commit and tag
git add package.json package-lock.json .claude-plugin/plugin.json docs/commands.md skills/clickup-cli/SKILL.md
git commit -m "bump v<version>"
git tag v<version>
git push origin main --tags
5. Wait for CI
gh run watch --repo krodak/clickup-cli --exit-status $(gh run list --repo krodak/clickup-cli --workflow release.yml --limit 1 --json databaseId -q '.[0].databaseId')
The release workflow runs: typecheck, test, build, npm publish (OIDC), GitHub Release creation.
6. If CI fails
Common failures:
npm cifails: peer dep conflict (typescript-eslint vs TypeScript 6)..npmrchaslegacy-peer-deps=true.- Completion test fails:
metadata.tsis missing a new command or flag. Add it, amend, re-tag, force push. - npm publish fails "already published": Version already exists on npm from a previous attempt. Bump to next version.
Fix, then:
git commit --amend --no-edit # or new commit
git tag -d v<version>
git tag v<version>
git push origin main --tags --force
7. Write release notes
gh release edit v<version> --repo krodak/clickup-cli --notes "$(cat <<'EOF'
## Heading
Description and code examples.
Test count.
EOF
)"
Style: H2 per feature, code block with 2-3 examples, test count at bottom, no emojis.
8. Update Homebrew
SHA=$(curl -sL https://registry.npmjs.org/@krodak/clickup-cli/-/clickup-cli-<version>.tgz | shasum -a 256 | cut -d' ' -f1)
Then update ~/repositories/homebrew-tap/Formula/clickup-cli.rb:
- Change version in URL
- Change sha256
git -C ~/repositories/homebrew-tap add Formula/clickup-cli.rb
git -C ~/repositories/homebrew-tap commit -m "clickup-cli <version>"
git -C ~/repositories/homebrew-tap push origin main
9. Install updated skill
cp skills/clickup-cli/SKILL.md ~/.config/opencode/skills/clickup/SKILL.md
Common mistakes to avoid
- Running
git commitbeforenode --import tsx scripts/sync-command-docs.ts(use the script to sync everything) - Not adding new commands to
src/commands/metadata.ts - Bumping version in the same commit as feature changes
- Force-pushing tags without deleting old tag first
GitHub 仓库
相关推荐技能
content-collections
元Content Collections 是一个 TypeScript 优先的构建工具,可将本地 Markdown/MDX 文件转换为类型安全的数据集合。它专为构建博客、文档站和内容密集型 Vite+React 应用而设计,提供基于 Zod 的自动模式验证。该工具涵盖从 Vite 插件配置、MDX 编译到生产环境部署的完整工作流。
polymarket
元这个Claude Skill为开发者提供完整的Polymarket预测市场开发支持,涵盖API调用、交易执行和市场数据分析。关键特性包括实时WebSocket数据流,可监控实时交易、订单和市场动态。开发者可用它构建预测市场应用、实施交易策略并集成实时市场预测功能。
creating-opencode-plugins
元该Skill帮助开发者创建OpenCode插件,用于接入命令、文件、LSP等25+种事件。它提供了插件结构、事件API规范和JavaScript/TypeScript实现模式,适合需要拦截操作、扩展功能或自定义事件处理的场景。开发者可通过它快速构建响应式模块来增强OpenCode AI助手的能力。
sglang
元SGLang是一个专为LLM设计的高性能推理框架,特别适用于需要结构化输出的场景。它通过RadixAttention前缀缓存技术,在处理JSON、正则表达式、工具调用等具有重复前缀的复杂工作流时,能实现极速生成。如果你正在构建智能体或多轮对话系统,并追求远超vLLM的推理性能,SGLang是理想选择。
