Automated summary
Walks through cutting a Barwise release: the single monorepo version bump, git tagging, and creating the GitHub release that triggers the downloadable artifact build.
Strengths
- Captures the three gotchas that break CI after a naive npm version: internal @barwise/* refs, the pinned SERVER_VERSION in packages/mcp/src/server.ts, and tutorial regeneration.
- Gives exact copy-paste commands, including the --no-workspaces-update flag and the npm install lockfile refresh.
- Ties minor releases to a dated architecture review (arch:triage, REPO_REVIEW) and explains the rolling edge pre-release.
- Notes the GitHub MCP fallback when gh CLI is unavailable in remote sessions.
Limitations
- Tightly bound to the barwise repository: paths, scripts, and package names do not transfer elsewhere.
- Assumes push access plus working npm and gh (or GitHub MCP) tooling.
- Does not cover rolling back a bad release or recovering a failed release.yml workflow.
Use it when cutting a barwise release, whether a patch fix or a minor release that includes the architecture review.
Not relevant for repositories outside the barwise monorepo, or for everyday PR merges to main that do not ship a release.
Security analysis
SafeThe skill describes a standard release workflow using npm version, git tag/push, and gh release create. No destructive commands, exfiltration, or obfuscated payloads. The commands are legitimate and scoped to the project. No network calls beyond publishing tags and releases.
No concerns found
How this analysis is madeExamples
Cut a patch release for barwise now: bump the workspace versions, fix the @barwise/* dependency refs and SERVER_VERSION, regen the tutorial, tag and push.Create the GitHub release for the tag we just pushed, with generated notes, so release.yml builds the .vsix and CLI/MCP bundles.We're doing a minor barwise release — run the Phase A architecture review against the last release tag and commit a dated REPO_REVIEW file.name: release description: Use when cutting a barwise release - bumping the single monorepo version, tagging, and creating the GitHub release that builds the downloadable artifacts. Carries the bump-sequence gotchas (workspace dependency refs, SERVER_VERSION sync, tutorial regeneration) that make a naive npm version fail CI.
Cutting a Barwise Release
The project uses a single version number across all packages, tracked by git tags on the main branch. Versions follow semver. Changes accumulate on main; a release is an intentional act, not automatic.
- Develop -- merge PRs to main. CI runs build + test + lint.
- Decide to release -- when a meaningful set of changes has landed.
- Bump versions -- update package.json files and tag (below).
- Create a GitHub release -- triggers the artifact build workflow.
To review what changed since the last release:
git log --oneline v1.2.0..HEAD
Bump versions and tag
All commands run from barwise/. The --no-workspaces-update flag
prevents npm from resolving workspace dependencies against the public
registry (these packages are not published). Use patch for bug fixes
and small improvements, minor for new features or format support:
npm version patch --workspaces --include-workspace-root \
--no-git-tag-version --no-workspaces-update
VER=$(node -p "require('./package.json').version")
git add -A && git commit -m "bump to $VER"
git tag -a "v$VER" -m "v$VER: brief description"
git push origin main --tags
Three gotchas, each of which fails CI if skipped:
--no-workspaces-updateleaves each package's internal@barwise/*dependency refs at the previous version. Bump those to the new version too (a one-pass rewrite of the@barwise/*entries in everypackages/*/package.json), then runnpm installto refresh the lockfile -- otherwisenpm cifails trying to fetch the old version from the registry.- Bump the pinned
SERVER_VERSIONinpackages/mcp/src/server.ts; a version-sync test asserts it matches package.json. - Run
npm run regen:tutorial: the committed tutorial Markdown stamps the tool version, and its drift test fails until regenerated.
The barwise-vscode extension has its own version (visible in the VS
Code marketplace) which may differ from the library packages. The
npm version command bumps each package relative to its current
version, so they stay in sync if they start in sync.
Create a GitHub release
gh release create v1.3.0 --title "v1.3.0" --generate-notes
--generate-notes builds the changelog from merged PRs since the last
tag. (Remote sessions have no gh CLI; use the GitHub MCP release
tools instead.) The release.yml workflow then builds and attaches
the artifacts: the VS Code extension (.vsix), the standalone CLI
bundle (barwise-cli-<ver>.cjs), the MCP server bundle
(barwise-mcp-<ver>.cjs), and a SHA256SUMS file. The same workflow
refreshes a rolling edge pre-release on every push to main, so a
current download always exists between tagged releases.
Minor releases: run the Phase A architecture review
A minor release is the cadence point for the deep assessment in
barwise/docs/specs/archive/architecture-analysis.spec.md: walk the scenario
catalog in docs/architecture-scenarios.md, refresh the reflexion and
hotspot snapshot via npm run arch:triage -- --base <last-release-tag>
(so the ranking covers only the changes since that release), and
commit a new dated docs/REPO_REVIEW-<YYYY-MM-DD>.md. The continuous
fitness functions (npm run depcruise, npm run purity) guard the
structural pillars between releases; this review covers the judgment
calls they cannot.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/cutting-a-barwise-release-mt87671y/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/cutting-a-barwise-release-mt87671y' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/cutting-a-barwise-release-mt87671y/download' --output '.skill-downloads/cutting-a-barwise-release-mt87671y/SKILL.md.part' && mv '.skill-downloads/cutting-a-barwise-release-mt87671y/SKILL.md.part' '.skill-downloads/cutting-a-barwise-release-mt87671y/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/cutting-a-barwise-release-mt87671y/SKILL.md' && test -s '.skill-downloads/cutting-a-barwise-release-mt87671y/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/release' && cp -R '.skill-downloads/cutting-a-barwise-release-mt87671y' '.claude/skills/release'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/cutting-a-barwise-release-mt87671y'openskills read 'cutting-a-barwise-release-mt87671y'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/cutting-a-barwise-release-mt87671y/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Configure a Chat Channel with SecretRefs
DevOps
Set up chat channels using non-interactive commands, with secrets only as SecretRefs. Covers gather, mutate, repair, and prove steps for reliable delivery.
Investigate ClickHouse CI Failures
DevOps
Investigate a ClickHouse CI failure end-to-end from a PR or S3 report URL. Fetches failed tests, classifies flaky vs real regression, and checks for existing issues/fixes.
Ansible PR Review
DevOps
Reviews an Ansible PR following the project's standardized process, including changelog checks, test coverage validation, and feedback tracking.