本文へ移動
cccskills
無料GitHub で公開

release

Bump version in package.json and auto-generate CHANGELOG.md using standard-version for vscode-sidebar-terminal. Triggered by /release or /version commands.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.3 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Release Version Update

Bump version and auto-generate CHANGELOG.md for the VS Code extension using standard-version.

Usage

/release <version-type>

Version Types

  • patch - Increment patch version (e.g., 0.3.1 → 0.3.2)
  • minor - Increment minor version (e.g., 0.3.1 → 0.4.0)
  • major - Increment major version (e.g., 0.3.1 → 1.0.0)

Workflow

Step 1: Read Current Version

node -p "require('./package.json').version"

Step 2: Check Unreleased Commits

Show commits since the last release tag to verify there are changes to release:

git log v$(node -p "require('./package.json').version")..HEAD --oneline

If there are no commits, warn the user and stop.

Step 3: Bump Version and Generate CHANGELOG

Use standard-version to bump version in package.json and package-lock.json, and auto-generate CHANGELOG.md from conventional commits:

npm run release:patch   # for patch
npm run release:minor   # for minor
npm run release:major   # for major

This runs npx standard-version --release-as <type> which:

  • Bumps version in package.json and package-lock.json
  • Generates CHANGELOG.md entries from conventional commit messages
  • Creates a commit with the changes
  • Does NOT create a tag or push (configured in .versionrc.cjs)

Step 4: Report Results

Display:

  • Old version → New version
  • CHANGELOG.md diff (new entries)
  • Reminder: "Push with git push, then create tag after CI passes"

Important Notes

  • Do NOT create git tags — that is a separate step done after CI passes
  • Do NOT push — the user decides when to push
  • The .versionrc.cjs config maps conventional commits to changelog sections:
    • feat → Added
    • fix → Fixed
    • perf, refactor, docs → Changed
    • revert → Reverted
    • style, test, chore, ci → hidden

File Locations

  • Version: package.json ("version" field)
  • Lock file: package-lock.json ("version" field)
  • Changelog: CHANGELOG.md
  • Config: .versionrc.cjs

Examples

/release patch    # 0.3.1 → 0.3.2
/release minor    # 0.3.1 → 0.4.0
/release major    # 0.3.1 → 1.0.0

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Design, review, and improve Claude/Codex skills based on Anthropic's "The Complete Guide to Building Skills for Claude". Use when creating a new skill, rewriting SKILL.md frontmatter and workflows, fixing under-triggering or over-triggering, designing scripts/references/assets, building test cases, or preparing a skill for upload/distribution.

日本語の概要は準備中です。原文の説明を表示しています。

s-hiraoku/vscode-sidebar-terminal222026年10月8日 更新

This skill enables web searching using Brave Search API directly via curl. Use when searching for current information, news, articles, or web content. MCP server not required - calls API directly.

日本語の概要は準備中です。原文の説明を表示しています。

s-hiraoku/vscode-sidebar-terminal222026年10月8日 更新

Run code quality checks (ruff, mypy, pytest) and optionally simplify code. This skill should be used when the user wants to check code quality, run linters, run tests, or simplify recently modified code. Triggered by /lint, /check, or /code-quality commands.

日本語の概要は準備中です。原文の説明を表示しています。

s-hiraoku/vscode-sidebar-terminal222026年10月8日 更新

Perform structured code reviews focusing on correctness, readability, security, and maintainability. Use this skill when reviewing pull requests, evaluating code changes, or establishing review standards for a team.

日本語の概要は準備中です。原文の説明を表示しています。

s-hiraoku/vscode-sidebar-terminal222026年10月8日 更新

Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instructed otherwise. This skill should be used when code-quality checks pass but the code would benefit from structural cleanup — deduplication, branching simplification, naming improvements, or dead-code removal. Invoked as a subagent from /code-quality or directly via the Task tool.

日本語の概要は準備中です。原文の説明を表示しています。

s-hiraoku/vscode-sidebar-terminal222026年10月8日 更新

Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. This skill should be used after implementing features or bug fixes to clean up code, when refactoring for readability, or when reducing unnecessary complexity. It launches the code-simplifier subagent provided by the code-simplifier@claude-plugins-official plugin.

日本語の概要は準備中です。原文の説明を表示しています。

s-hiraoku/vscode-sidebar-terminal222026年10月8日 更新

s-hiraoku のスキルをすべて見る

このスキルの問題を報告する