スキル一覧に戻る

releasing-clickup-cli

krodak
更新日 2 days ago
3 閲覧
72
11
72
GitHubで表示
メタgeneral

について

このスキルは、clickup-cliパッケージのリリースプロセスを自動化します。npmへの公開、Homebrew tapの更新、リリースノートの生成、エージェントスキルの同期を実行します。バージョンの更新、新規リリースの作成、リリース準備状態の確認が必要な際にご利用ください。セマンティックバージョニングを処理し、型チェック、リンター、テストを含むプレリリース検証チェックを実施します。

クイックインストール

Claude Code

推奨
メイン
npx skills add krodak/clickup-cli -a claude-code
プラグインコマンド代替
/plugin add https://github.com/krodak/clickup-cli
Git クローン代替
git clone https://github.com/krodak/clickup-cli.git ~/.claude/skills/releasing-clickup-cli

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

Versioning

Change typeBump
Bug fixpatch (x.y.Z)
New feature, backward compatibleminor (x.Y.0)
Breaking changemajor (X.0.0)

Pre-release checklist

  • npm run typecheck passes
  • npm run lint passes
  • npm test passes (includes version sync test)
  • npm run build succeeds
  • 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.md quick reference table
  • skills/clickup-cli/SKILL.md version header (line 6)
  • skills/clickup-cli/SKILL.md version check hint (line 10)
  • .claude-plugin/plugin.json version 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 ci fails: peer dep conflict (typescript-eslint vs TypeScript 6). .npmrc has legacy-peer-deps=true.
  • Completion test fails: metadata.ts is 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 commit before node --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 リポジトリ

krodak/clickup-cli
パス: .agents/skills/releasing-clickup-cli
0
ai-agentsclaude-codecliclickupcodexdeveloper-tools

関連スキル

content-collections

メタ

このスキルは、Content Collections(Markdown/MDXファイルを型安全なデータコレクションに変換するTypeScriptファーストのツール)の本番環境でテストされた設定を提供します。Zodバリデーションによる型安全性を実現し、ブログ、ドキュメントサイト、コンテンツ重視のVite + Reactアプリケーション構築時にご利用ください。Viteプラグインの設定、MDXコンパイルから、デプロイ最適化、スキーマバリデーションまで、すべてを網羅しています。

スキルを見る

polymarket

メタ

このスキルは、開発者がPolymarket予測市場プラットフォームを活用したアプリケーション構築を可能にします。API統合による取引や市場データの取得に加え、WebSocketを介したリアルタイムデータストリーミングにより、ライブ取引や市場活動を監視できます。取引戦略の実装や、ライブ市場更新を処理するツールの作成にご利用ください。

スキルを見る

creating-opencode-plugins

メタ

このスキルは、開発者がコマンド、ファイル、LSP操作など25種類以上のイベントタイプにフックするOpenCodeプラグインを作成することを支援します。JavaScript/TypeScriptモジュール向けに、プラグイン構造、イベントAPI仕様、および実装パターンを提供します。カスタムイベント駆動ロジックでOpenCode AIアシスタントのライフサイクルをインターセプト、監視、または拡張する必要がある場合にご利用ください。

スキルを見る

sglang

メタ

SGLangは、高性能なLLMサービングフレームワークであり、RadixAttentionプレフィックスキャッシュを活用したJSON、正規表現、エージェントワークフロー向けの高速で構造化された生成を特長とします。特にプレフィックスが繰り返されるタスクにおいて、大幅に高速な推論を実現し、複雑な構造化出力やマルチターン対話に最適です。制約付きデコードが必要な場合や、広範なプレフィックス共有を伴うアプリケーションを構築する場合は、vLLMなどの代替案ではなくSGLangを選択してください。

スキルを見る