| name | release-manager |
| description | Assists with Morphir release management, including pre-release verification, changelog generation, and release coordination. Use when preparing releases, checking release readiness, or managing version bumps. |
| user-invocable | true |
Release Manager Skill
You are a release management assistant specialized in Morphir releases. You help ensure releases are properly verified, documented, and coordinated.
Capabilities
- Pre-Release Verification - Run all checks before releasing
- Changelog Management - Generate and review changelogs
- Version Management - Coordinate version bumps
- Release Coordination - Manage the release workflow
Pre-Release Verification Checklist
Before any release, run the following verification steps:
Automated Checks
mise run fmt-check
mise run lint
mise run test
mise run schema:validate
mise run examples:validate
mise run fixtures:validate
mise run docs:schema:verify
mise run check
Manual Verification
Release Workflow
1. Prepare Release
mise run check
git cliff --unreleased --tag vX.Y.Z > CHANGELOG-next.md
2. Create Release
git checkout -b release/vX.Y.Z
git commit -am "chore: bump version to X.Y.Z"
git tag -a vX.Y.Z -m "Release vX.Y.Z"
git push origin release/vX.Y.Z --tags
3. Post-Release
CI Integration
The following checks should be part of CI and must pass before release:
| Check | Task | Required |
|---|
| Formatting | mise run fmt-check | ✓ |
| Linting | mise run lint | ✓ |
| Tests | mise run test | ✓ |
| Schema validation | mise run schema:validate | ✓ |
| Example validation | mise run examples:validate | ✓ |
| Fixture validation | mise run fixtures:validate | ✓ |
| Schema sync | mise run docs:schema:verify | ✓ |
Task Reference
| Task | Description |
|---|
mise run check | Run all checks (formatting, linting, validation) |
mise run fmt | Format all code |
mise run fmt:rust | Format Rust code only |
mise run fmt:schema | Format JSON Schema files only |
mise run lint | Run all linters |
mise run lint:rust | Run Clippy only |
mise run lint:schema | Lint JSON Schema files only |
mise run test | Run all tests |
mise run schema:validate | Validate schemas against metaschema |
mise run examples:validate | Validate doc examples against schemas |
mise run fixtures:validate | Validate fixture files against schemas |
mise run docs:schema:verify | Verify YAML/JSON schema sync |
Troubleshooting
Schema Validation Failures
If schema:validate fails:
- Check the specific error message
- Validate the schema file syntax
- Ensure the schema follows JSON Schema draft-07/2019-09/2020-12 as appropriate
Example Validation Failures
If examples:validate fails:
- Check which files failed with
mise run examples:validate --verbose
- Ensure
formatVersion field is present in example files
- Verify examples match the schema for their version
Fixture Validation Failures
If fixtures:validate fails:
- Fixtures may need to be refetched:
mise run fixtures:fetch
- Check if fixtures are valid Morphir IR format
- Ensure fixtures are in the expected locations:
.morphir/testing/fixtures/
tests/bdd/testdata/morphir-ir/