/flow-release
Complete a feature/bugfix/hotfix flow by merging back to the target branch.
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/flow-release
Context preview
What this command does when you run it.
Complete a feature/bugfix/hotfix flow by merging back to the target branch.
Command definition
flow-release.mdComplete 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.
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.
Repo: rohitg00/awesome-claude-code-toolkit
Other commands on rohitg00-claude-code-toolkit.
- /adr
Write an Architecture Decision Record documenting a significant technical decision.
Open command - /design-review
Conduct a structured design review of a module, feature, or system component.
Open command - /diagram
Generate Mermaid diagrams from codebase analysis or description.
Open command - /migrate
Plan and execute a framework or library migration incrementally.
Open command - /plan
Create a structured implementation plan for the requested feature or change.
Open command - /refactor
Perform a systematic refactoring of the specified code area.
Open command

