Skip to content

chore: restore Node version check in publish skill - #172

Merged
grothem merged 1 commit into
mainfrom
chore/publish-skill-node-check
Jul 8, 2026
Merged

grothem merged 1 commit into
mainfrom
chore/publish-skill-node-check

Conversation

@grothem

@grothem grothem commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

What

Two documentation fixes to the publish skill, both flagged in review:

  1. Restore Node version verification (pre-flight). Commit 0cc16df removed the nvm use pre-flight step and its common-mistakes warning. The repo pins Node via .nvmrc (22.17.0) and engines (node: >=22), and there is no CI Node pin — so the skill was the only guardrail against publishing from a mismatched Node version. Restored as a version-manager-agnostic check (node --version, with nvm use / fnm use as examples) rather than hard-coding nvm.

  2. Make the task-tool instruction runtime-agnostic. The mandate hard-coded TaskCreate. Reworded to reference "whatever task/todo tool your runtime provides (e.g. TaskCreate)" so the skill doesn't break if the checklist tool is named differently across runtimes.

Why

  • Wrong Node version can cause install/build failures late in the release process — the check is cheap insurance.
  • The tool-name wording avoids coupling the skill to a single runtime's tool naming.

No functional/code changes — skill markdown only.

🤖 Generated with Claude Code

… wording runtime-agnostic

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@grothem
grothem merged commit 801260c into main Jul 8, 2026
7 checks passed
@grothem
grothem deleted the chore/publish-skill-node-check branch July 8, 2026 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants