# Opencase Release

> Prepare and publish a new OpenCase release: bump Cargo.toml version, update CHANGELOG.md, PR-first into protected main, then tag v<version> — the release workflow verifies, publishes to crates.io, and builds the platform binaries. Use when asked to cut a release, bump the version, publish to crates.io, or update the changelog.

- **Type:** Skill
- **Install:** `agentstack add skill-realmorrisliu-opencase-opencase-release`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [realmorrisliu](https://agentstack.voostack.com/s/realmorrisliu)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [realmorrisliu](https://github.com/realmorrisliu)
- **Source:** https://github.com/realmorrisliu/opencase/tree/main/.agents/skills/opencase-release

## Install

```sh
agentstack add skill-realmorrisliu-opencase-opencase-release
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# OpenCase Release

## Unified Publish Policy

GitHub Actions is the single publish path. **Do not run local `cargo publish`** — emergency-only fallback. Publishing happens in the `release` workflow, which requires the `CARGO_REGISTRY_TOKEN` secret (set via `gh secret set CARGO_REGISTRY_TOKEN`).

## Repository Policy

- `main` is protected: required checks + 1 review. Do not push directly.
- Push release prep to a branch, open a PR, merge after checks pass.

## Release inputs

- Target version (e.g. `0.2.0`)
- Release date `YYYY-MM-DD`
- Summary bullets grouped by `Added` / `Changed` / `Fixed` (from `CHANGELOG.md`)

## Versioned files (update together, in order)

1. `Cargo.toml` — `version = ""`
2. `CHANGELOG.md`:
   - Move finalized items from `## [Unreleased]` into a new `## [] - ` section
   - Keep `## [Unreleased]` at the top for the next cycle
3. README installation snippets if they pin a version (`VERSION=v` examples)

## Validate before commit

```bash
cargo test
cargo clippy -- -D warnings
cargo fmt --check
cargo package --locked   # or --allow-dirty before commit
```

## Commit, tag, publish

1. Branch → PR → merge to `main` (checks + review must pass)
2. Fast-forward local `main` to the merged commit
3. `git tag v` + `git push origin v`
4. The `release` workflow then: verifies tag matches Cargo.toml → builds the platform binaries + SHA-256 checksums → publishes to crates.io → creates the GitHub release

## Quick checklist

- [ ] `Cargo.toml` version bumped
- [ ] `CHANGELOG.md` new version section created
- [ ] local checks passed
- [ ] `cargo package --locked` passed
- [ ] release prep merged to `main`
- [ ] tag `v` pushed
- [ ] `release` workflow green (verify + build + publish + release)
- [ ] crates.io shows the new version
- [ ] install.sh installs the new version (`VERSION=v sh install.sh` in a temp dir)

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [realmorrisliu](https://github.com/realmorrisliu)
- **Source:** [realmorrisliu/opencase](https://github.com/realmorrisliu/opencase)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-realmorrisliu-opencase-opencase-release
- Seller: https://agentstack.voostack.com/s/realmorrisliu
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
