.agents/skills/releasing-clickup-cli/SKILL.md
Publishes a new version of clickup-cli to npm, updates Homebrew tap, writes release notes, and syncs the agent skill. Use when releasing a new version, bumping version, or verifying a release.
npx skillsauth add krodak/clickup-cli releasing-clickup-cliInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
| Change type | Bump | | -------------------------------- | ------------- | | Bug fix | patch (x.y.Z) | | New feature, backward compatible | minor (x.Y.0) | | Breaking change | major (X.0.0) |
npm run typecheck passesnpm run lint passesnpm test passes (includes version sync test)npm run build succeedssrc/commands/metadata.ts (completion test will fail otherwise)Do NOT mix feature commits with version bump commits.
npm version <version> --no-git-tag-version
node --import tsx scripts/sync-command-docs.ts
This updates:
docs/commands.md quick reference tableskills/clickup-cli/SKILL.md version header (line 6)skills/clickup-cli/SKILL.md version check hint (line 10).claude-plugin/plugin.json version fieldThe version synchronization test in tests/unit/ verifies these stay in sync.
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
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.
Common failures:
npm ci fails: peer dep conflict (typescript-eslint vs TypeScript 6). .npmrc has legacy-peer-deps=true.metadata.ts is missing a new command or flag. Add it, amend, re-tag, force push.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
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.
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:
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
cp skills/clickup-cli/SKILL.md ~/.config/opencode/skills/clickup/SKILL.md
git commit before node --import tsx scripts/sync-command-docs.ts (use the script to sync everything)src/commands/metadata.tstools
Use when managing ClickUp tasks, sprints, or comments via the `cup` CLI tool. Triggers: task queries, status updates, sprint tracking, creating subtasks, posting comments, threaded replies, standup summaries, searching tasks, checking overdue items, assigning tasks, listing spaces and lists, opening tasks in browser, checking auth or config, setting custom fields, deleting tasks, managing tags, managing checklists, editing comments, task links, time tracking, attachments, file uploads, listing members, listing fields, duplicating tasks, bulk operations, goals, key results, saved filters, favorites.
tools
Use when managing ClickUp tasks, sprints, or comments via the `cup` CLI tool. Triggers: task queries, status updates, sprint tracking, creating subtasks, posting comments, threaded replies, standup summaries, searching tasks, checking overdue items, assigning tasks, listing spaces and lists, opening tasks in browser, checking auth or config, setting custom fields, deleting tasks, managing tags, managing checklists, editing comments, task links, time tracking, attachments, file uploads, listing members, listing fields, duplicating tasks, bulk operations, goals, key results, saved filters, favorites.
tools
Run and manage tests for clickup-cli. Covers unit tests, e2e tests against a real ClickUp workspace, and the test data setup. Use when running tests, adding test coverage, debugging test failures, or setting up test fixtures.
tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.