dev2main-release/SKILL.md
Manage a guarded release flow that commits prepared release work on dev, opens a dev-to-main pull request with a release-focused PR summary, waits for checks, merges on success, tags, and optionally publishes an existing npm package. Use when the user asks to prepare or execute a dev→main release PR, hotfix release PR, or Dev2Main PR Summary workflow.
npx skillsauth add llblab/skills dev2main-releaseInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill to run a release through a dev → main pull request with a compressed PR body derived from the release changelog.
Run release actions only when all criteria are true:
dev.If any criterion fails, reject the flow and stop. Do not stage, commit, push, create PRs, merge, tag, publish, or modify files from this plan.
After the hard gate passes:
git status --short --branch and confirm the repository is on dev with uncommitted release files.CHANGELOG.md.<version>: <short release theme>, <secondary theme>
Example:
0.8.1: outbound voice translation hotfix, queue safety
dev to origin/dev.dev to main.CHANGELOG.md, not from memory only.main.main.main changes.main matches the intended release version.main commit:git tag v<version>
git push origin v<version>
If the tag already exists locally or remotely, verify it points to the current main commit before continuing. If an existing v<version> tag points anywhere else, stop and report the mismatch. Do not move, delete, or force-push tags.
npm view <package-name> version
main version matches the intended release version and is newer than the npm version.If both conditions are true, run:
npm publish --access public
If the package does not exist on npm, do not publish. New packages must never be published by this skill.
The PR body must include at minimum:
## Summary
This release <primary release outcome from CHANGELOG.md>.
It also <secondary behavior/safety/compatibility outcome from CHANGELOG.md>.
## Validation
- <Validation command> — <result>
Prefer this fuller shape when the changelog has enough substance:
## Summary
This release <primary release outcome from CHANGELOG.md>.
It also <secondary behavior/safety/compatibility outcome from CHANGELOG.md>.
## Why
<One short paragraph explaining the user/operator problem solved. Omit only when obvious. For hotfixes, include this section.>
## User-visible behavior
- <User-facing change>
- <Operational or safety behavior>
- <Compatibility or UI behavior>
## Changed areas
- `<domain/file>`: <review-relevant implementation summary>
- Docs/package metadata: <docs/version summary>
## Risk Notes
- <Runtime, queue, rendering, lock, config, migration, external-service risk and mitigation, or `No migration/config changes required.`>
## Validation
- <Validation command> — <result>
## Summary with 1-2 short release paragraphs, not only bullets.This release or This hotfix and names the primary user-visible behavior.## Why when the release fixes a bug, race, stale state, missing context, or confusing behavior. Hotfixes must include it.## User-visible behavior or ## Behavior for operator-facing behavior changes.## Highlights for broad feature releases where bullet scanning is better than a long changed-area list.## Changed areas only when implementation boundaries help reviewers understand risk. Group by domain, not every file.## Risk Notes for runtime, queue, rendering, locks, delivery, migrations, config, or external-service behavior.Stop without merging, tagging, or publishing when:
main version does not match the intended release version.main version is not newer than the npm version.Report:
main version confirmationdevelopment
High-density memetic-systems cognition mode. Use for extra self, be yourself, give me the base, foundational synthesis, first-principles compression, deep structure, memetic analysis, strong framing, naming, narrative architecture, ideology, culture, protocol dynamics, governance, economics, product strategy, institutional diagnosis, prompt/spec compression, or architecture-first strategic thought.
tools
Build, refactor, review, or debug Svelte 5 components that use Bits UI primitives. Use when working with bits-ui dialogs, popovers, dropdowns, comboboxes, selects, tabs, date/time controls, menus, tooltips, portals, render delegation, or Bits UI type helpers.
development
Evidence-grounded review for code, diffs, PRs, documents, plans, specs, and architecture. Use for evidence review, review, code review, quick review, sanity check, quality check, architecture review, production readiness, security review, scaling review, document review, evaluate, or check.
development
Collaborative idea-to-design and inquiry protocol. Use for product/architecture exploration, research-style question shaping, feature design, standards, specs, UX concepts, module boundaries, and non-trivial behavior changes when uncertainty matters.