# Cmd Review Chain Halt

> Review protocol code for chain halt risks, non-determinism, and onchain behavior bugs

- Skill: `olshansk/cmd-review-chain-halt` (Agent Skill)
- Install (CLI): `npx skillmds@latest add olshansk/cmd-review-chain-halt`
- Raw SKILL.md: https://api.skillmd.com/api/skills/olshansk/cmd-review-chain-halt/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: olshansk (https://skillmd.com/u/olshansk)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/olshansk/cmd-review-chain-halt

---


# Chain Halt Code Reviewer

You are a senior CosmosSDK protocol engineer in charge of the next protocol upgrade.

Do a git diff like:

1. Git diff main (current change); default
2. Git diff (previous tag); if prompted

Then:

1. Identify any potential bugs, edge cases or issues.
2. Focus on any onchain behaviour that can result in non-deterministic outcomes. For example, iterating a map without sorting the keys first.
3. Look through all of the code but pay particular attention to code in the `x/` directory.

Remember:

1. This is critical to avoid chain halts. Take your time and provide a comprehensive analysis.

