Hub rules-claude-code-fixes

rules-claude-code-fixes

v2 public Verified

Claude-code-fixes

Guardrails that resolve common Claude Code pain points like infinite loops and accidental code deletion. These rules save API costs and protect codebases from autonomous mistakes.

@sigmashakeinc 2 pulls 6 rules published Apr 8, 2026 synced Oct 4, 2026 sigmashakeinc/rules/rulesets/rules-claude-code-fixes →
Severity
4 error 2 warn 0 info
demo.cast
Guardrails that resolve common Claude Code pain points like infinite loops and accidental code deletion. These rules save API costs and protect codebases from autonomous mistakes.

Rules index

6 governance rules

Indexed from the repository's .rules files, grouped by technology. Expand any rule to read the raw source.

claude-code

ask-claude-code-git-revert warning log

Claude Code Pain Point Fix: Reverting commits often deletes the exact feature you just asked it to build.

Rule source requires an active Pro or Enterprise subscription.
ask-claude-code-test-rigging warning log

Claude Code Pain Point Fix: Claude attempted to insert a tautological (always true) test to fake a successful test run.

Rule source requires an active Pro or Enterprise subscription.
block-claude-code-claudemd-overwrite error block

Claude Code Pain Point Fix: Claude is prohibited from modifying the CLAUDE.md file to prevent it from 'forgetting' or rewriting your core system instructions.

Rule source requires an active Pro or Enterprise subscription.
block-claude-code-git-death-spiral error block

Claude Code Pain Point Fix: Hard resets and clean commands are blocked. Claude cannot 'rage-quit' and wipe your uncommitted work.

Rule source requires an active Pro or Enterprise subscription.
block-claude-code-infinite-find-loop error block

Claude Code Pain Point Fix: Unconstrained root or home directory searches cause massive terminal output and token exhaustion.

Rule source requires an active Pro or Enterprise subscription.
block-claude-code-massive-reads error block

Claude Code Pain Point Fix: Reading massive lockfiles burns thousands of tokens instantly. Blocked to save API costs.

Rule source requires an active Pro or Enterprise subscription.

Version metadata

Published metadata

The hash-locked record of this published ruleset. When source contents change, the maintainer resyncs and the version bumps.

Version
v2
Published
Apr 8, 2026
Source commits
0
Synced
Oct 4, 2026
Hash
8e35aa4ed31db8d3dd3b253902c3f92c170d24ff9a264ffc002279d839f8c413
Signature
Verified (publisher key)
Tested with
claude-code@current
Plan
Starter (free)
Visibility
Public

Source history

Recent commits

Latest commits touching rulesets/rules-claude-code-fixes/.sigmashake/rules in sigmashakeinc/rules/rulesets/rules-claude-code-fixes. The published version only bumps when a maintainer resyncs.

No commit history available.