ワンクリックで
release
Release one or both components (extension + MCP) with version bumps, CHANGELOG updates, git tags, and push
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Release one or both components (extension + MCP) with version bumps, CHANGELOG updates, git tags, and push
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Spec authoring workflow for BC Telemetry Buddy (SDD Phase 0). Takes a GitHub issue number, drafts a behavior spec with acceptance criteria under docs/specs/, and gates the TDD cycle. Use when: picking up a feature/bug/tech-modernization issue, before any plan or code. Not for knowledge-base issues (use /kb-article-creation).
Knowledge Base article creation workflow for BC Telemetry Buddy. Automates: GitHub issue intake → validation prompt generation → article creation from validated report → index regeneration → issue closure. Use when: creating new KB articles from GitHub issues, validating telemetry event schemas, writing playbooks/query-patterns/event-interpretations.
Test-Driven Development workflow for BC Telemetry Buddy. Enforces the PLAN → FRAME → TESTS → PROVE RED → SCAFFOLD → IMPLEMENT → VERIFY → SECURITY SCAN → DOCUMENT cycle. Requires an approved spec (SDD Phase 0 — /spec-authoring) before the PLAN phase. Use when: adding features, fixing bugs, refactoring code, implementing new MCP tools, extension commands, or shared-lib modules. Mandatory before any code change.
Security scan for BC Telemetry Buddy. Invoked from Phase 8 of the TDD workflow and before any release. Scans for real tenant GUIDs, bearer tokens, AAD secrets, customer identifiers in fixtures/snapshots/logs, untracked secret files, and high/critical npm audit findings. A finding BLOCKS the cycle — never "note and continue". Use when: finishing a TDD cycle, preparing a release, reviewing a PR, or any time before code leaves the machine.
| name | release |
| description | Release one or both components (extension + MCP) with version bumps, CHANGELOG updates, git tags, and push |
| user_invocable | true |
| arguments | [{"name":"args","description":"Component and bump type, e.g. 'mcp patch', 'extension minor', 'both patch'. Defaults to 'both patch' if omitted.","required":false}] |
You are performing a release of the BC Telemetry Buddy project. This is a monorepo with two independently versioned components:
| Component | Package path | Tag format | Registry |
|---|---|---|---|
| extension | packages/extension | v3.x.x | VS Code Marketplace |
| mcp | packages/mcp | mcp-v3.x.x | npm |
Parse $ARGUMENTS to extract:
extension, mcp, or both (default: both)patch, minor, or major (default: patch)Examples: /release mcp patch, /release both minor, /release (= both patch)
Before any pre-flight checks or version bumps, walk through the risk questionnaire below. The goal is to surface any reason the release should not ship right now — independent of what the bump-type rules in Phase 2 permit. Treat this as a thinking exercise, not a checkbox: "I don't know" on any question means stop and investigate, not skip.
Work through each question and post a one-line answer in chat (e.g. 1. User-facing breakage: none — only dep bumps). If any answer raises a concern, stop immediately and confirm with the user using AskUserQuestion before continuing. Show the user the concern and offer at least three options: proceed-with-acknowledgement, fix-first, abort. Wait for an explicit choice — silence is not approval.
Risk questions:
.bctb-config.json, KB cache, profile state, or saved-query files? If yes, is there a tested migration path or graceful fallback?engines requirements change (Node version, VSCode version)?Decision rule:
AskUserQuestion with a recommended path. Get explicit go-ahead. If the user says "stop" or "abort," do not proceed; document the reason in chat and end the skill.This phase precedes Phase 2's mechanical blast-radius validation. The two are complementary: Phase 1 asks "should we ship this now?" (qualitative judgment); Phase 2 step 5 asks "is the bump type permitted by the highest plan rating?" (mechanical check). Both must pass.
main. If not, warn and ask for confirmation.git status --porcelain. If dirty, list the uncommitted files and ask the user whether to commit them first or abort. Do NOT proceed with a dirty tree.npm run test from the repo root. If any test fails, stop and report failures. Do not skip tests.npm run build from the repo root. If build fails, stop and report.Blast radius / breakage prediction section of every plan file in docs/plans/ whose status has flipped to done since the last release tag for this component. If any plan touching the component is rated breaking, the bump type MUST be major — reject a patch/minor request and ask the user to confirm a major bump instead. If any is risky, require at least minor. If all are safe/low-risk, any bump type is allowed. Record the highest rating found in the CHANGELOG entry for this release.For each component being released (if both, do extension first, then mcp):
packages/<component>/package.json.npm version <bumpType> --no-git-tag-version inside packages/<component>/.package.json.package-lock.json by running npm install --package-lock-only from the repo root.For each component, update packages/<component>/CHANGELOG.md:
## [Unreleased] section.[Unreleased] (any ### headings with entries):
## [<newVersion>] - YYYY-MM-DD between [Unreleased] and the content.## [Unreleased] heading in place (empty, ready for next cycle).[Unreleased] has no content, warn but continue — the version bump still applies.CHANGELOG format (the result should look like):
## [Unreleased]
## [3.3.9] - 2026-04-11
### Added
- ...
### Fixed
- ...
If releasing both components, create a single commit and two tags:
git add packages/extension/package.json packages/mcp/package.json packages/extension/CHANGELOG.md packages/mcp/CHANGELOG.md package-lock.json
git commit -m "chore: release Extension v<extVersion> and MCP v<mcpVersion>"
git tag "v<extVersion>"
git tag "mcp-v<mcpVersion>"
If releasing a single component:
# Extension
git add packages/extension/package.json packages/extension/CHANGELOG.md package-lock.json
git commit -m "chore: release Extension v<version>"
git tag "v<version>"
# MCP
git add packages/mcp/package.json packages/mcp/CHANGELOG.md package-lock.json
git commit -m "chore: release MCP v<version>"
git tag "mcp-v<version>"
Before tagging, check if the tag already exists with git tag -l "<tag>". If it does, stop and ask the user.
Ask the user for confirmation before pushing. Show them a summary:
Then push:
git push origin main
git push origin <tag1>
git push origin <tag2> # if both
After a successful push, show the user:
https://github.com/waldo1001/waldo.BCTelemetryBuddy/actionshttps://github.com/waldo1001/waldo.BCTelemetryBuddy/releases/tag/<tag>https://marketplace.visualstudio.com/items?itemName=waldoBC.bc-telemetry-buddyhttps://www.npmjs.com/package/bc-telemetry-buddy-mcpscripts/release.ps1 PowerShell script exists but cannot release both components at once and has CHANGELOG regex issues. This skill replaces it for Claude Code usage.