Skip to content
Development
Command

/flow-release

Complete a feature/bugfix/hotfix flow by merging back to the target branch.

From plugin
rohitg00-claude-code-toolkit
2.8k199 skills138 agents199 commands
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-code

Command definition

flow-release.md

Complete a feature/bugfix/hotfix flow by merging back to the target branch.

Steps

1. Detect the current branch type from the prefix (feature/, bugfix/, hotfix/). 2. Run pre-merge checks:

  • All tests pass.
  • No merge conflicts with the target branch.
  • Branch is up to date with the target.

3. Determine the merge target:

  • feature/bugfix: merge to `develop` or `main`.
  • hotfix: merge to both `main` and `develop`.

4. Create a pull request if one does not exist:

  • `gh pr create --base <target> --title "<type>: <description>"`.

5. If auto-merge is requested:

  • Rebase on target: `git rebase origin/<target>`.
  • Merge with no-ff: `git merge --no-ff <branch>`.
  • Tag if hotfix: `git tag -a v<version> -m "Hotfix: <description>"`.

6. Clean up: delete the feature branch locally and remotely. 7. For hotfix, cherry-pick to develop if not merged there.

Format

Flow completed:
  Branch: <branch-name>
  Merged to: <target-branch>
  PR: <url>
  Tag: <tag if hotfix>
  Cleanup: branch deleted

Changes:
  - <N> commits, <N> files changed

Rules

  • Never merge without passing tests and CI checks.
  • Use `--no-ff` merges to preserve branch history in the merge graph.
  • Tag hotfix releases immediately after merging to main.
  • Ensure hotfix changes also reach the develop branch.
  • Confirm before deleting branches with unmerged commits.
@rohitg00
Ships withrohitg00-claude-code-toolkit

The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.

2.8k40 skills138 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
2.8k
Star history of rohitg00/awesome-claude-code-toolkit on GitHub, a chart by star-history.com

Other commands on rohitg00-claude-code-toolkit.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command