chore: streamline npm-publish and pr skills - #948
Merged
Conversation
…mergeable npm-publish: yarn release resolves the version from conventional commits, so asking the user to pick graduate/alpha/beta/rc is a redundant question. Default to yarn release and only surface the pre-release variants when the user explicitly asks. lerna version is interactive and can't be driven through Claude Code's ! prefix, so route it through exit -> run in a terminal -> claude --continue instead. pr: once CI is green and the PR is still not CONFLICTING/DIRTY, open it with `gh pr view --web` and prompt the user to merge.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
npm-publishスキルとprスキルに2つの改善を加える。npm-publish: リリース種別の確認を削除
yarn releaseは conventional commits からバージョンを自動決定するため、Claude が「graduate / alpha / beta / rc のどれにしますか」と確認する手順は無駄な質問になっていた。デフォルトでyarn releaseを案内するだけに変更し、プレリリースが必要な場合はユーザーが明示的に指示したときだけ案内する。併せて、
lerna versionは選択・確認のプロンプトを出すインタラクティブコマンドで Claude Code の!経由では対話できないため、「Claude Code をexit→ ターミナルで直接実行 →claude --continueで戻る」という手順に改めた。pr: CI green 後の web オープン
CI が green になり、かつ
CONFLICTING/DIRTYでないことを確認したら、gh pr view --webでブラウザを自動的に開き、マージを促すようにした。確認事項