diff --git a/.claude/skills/plan2code-publish/SKILL.md b/.claude/skills/plan2code-publish/SKILL.md index cd35be0..31a328f 100644 --- a/.claude/skills/plan2code-publish/SKILL.md +++ b/.claude/skills/plan2code-publish/SKILL.md @@ -57,7 +57,7 @@ This skill never modifies these files — it only reads and compares them. List every published (non-draft) release and take the numerically-highest semver tag. Do **not** rely on `gh release view` / GitHub's "Latest" flag: that flag returns whatever release is *marked* latest — normally the newest semver, but a maintainer can manually pin it to an older release, which would make the Step 6 ahead-comparison misfire. ```bash -gh release list --repo jparkerweb/plan2code --json tagName,isDraft -q '.[] | select(.isDraft==false) | .tagName' +gh release list --repo jparkerweb/plan2code --limit 100 --json tagName,isDraft -q '.[] | select(.isDraft==false) | .tagName' ``` Strip any leading `v` from each returned tag, compare them as numeric `(major, minor, patch)` tuples (the same rule as Step 6), and take the maximum → `$RELEASE_VERSION`. If the command returns no tags or exits non-zero for **any** reason (no releases yet, transient error, etc.), set `$RELEASE_VERSION = "0.0.0"` — no error-text matching is needed. diff --git a/install.js b/install.js index 160dd19..ccff5f5 100644 --- a/install.js +++ b/install.js @@ -207,6 +207,7 @@ function generateSkillName(prompt) { // Helper function to generate step label for descriptions function generateStepLabel(prompt) { if (prompt.stepNumber === 'init') return 'Init'; + if (prompt.stepNumber === 'update') return 'Update'; if (prompt.stepNumber === 'review') return 'Review'; if (prompt.stepNumber === 'handoff') return 'Handoff'; return `Step ${prompt.stepNumber}`;