Agent skill
release
Local release workflow for the Kasoa monorepo using Changesets and pnpm. Use when preparing, versioning, publishing, or verifying npm package releases from the local machine.
Install this agent skill to your Project
npx add-skill https://github.com/emmanuelchucks/kasoa/tree/main/.agents/skills/release
SKILL.md
Release
Use the local Changesets workflow only.
Preconditions
- Confirm
npm whoamisucceeds. - Confirm release-worthy code changes are already committed.
- Confirm a changeset exists for each package that should publish.
- Run
pnpm run ciand fix failures before versioning or publishing. - Confirm the worktree is clean before versioning unless the user explicitly wants to review pending changes first.
Workflow
- Review pending changesets and the packages they affect.
- Add or fix
.changeset/*.mdfiles if needed. - Run
pnpm run ci. - Run
pnpm changeset version. - Review generated version and changelog updates.
- Commit the release versioning changes.
- Run
pnpm release. - Push the release commit and tags.
- Verify the published package versions with
npm view.
Rules
- Prefer
patchfor pre-1.0 packages unless the user explicitly asks for a different bump. - Keep the release flow local. Do not instruct the user to wait for CI, merge a version PR, or use a GitHub release bot.
- If publish fails because of auth, OTP, or npm state, fix that first and rerun
pnpm release. - If push is rejected, rebase on
mainand push again with tags.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
handoff
Compact the current conversation into a handoff document for another agent to pick up.
migrate-to-shoehorn
Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.
scaffold-exercises
Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
setup-pre-commit
Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.
obsidian-vault
Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian.
Didn't find tool you were looking for?