gufranco/claude-engineering-rules
Opinionated Claude Code configuration: 13 rules, 12 on-demand standards, 24 slash-command skills, and 11 runtime hooks that enforce engineering standards at development time
What's novel
Opinionated Claude Code configuration: 13 rules, 12 on-demand standards, 24 slash-command skills, and 11 runtime hooks that enforce engineering standards at development time
Code Analysis
9 files read · 3 roundsA comprehensive static analysis hook system for Claude Code that intercepts tool calls and blocks 90+ in-place mutation patterns in JavaScript/TypeScript code, with context-aware suppression for frameworks, DOM, hot-paths, and state management libraries.
Strengths
Exceptional depth of implementation with multi-layer detection (regex + AST + type-aware), sophisticated allowlists covering 20+ state management frameworks, confidence scoring, source map remapping, and structured audit logging with secret redaction. The code is production-grade with excellent documentation, fail-open design, and careful edge case handling.
Weaknesses
The regex-based detection, while comprehensive, may still produce false positives on unusual code patterns despite the string/comment masking. The system is tightly coupled to the Claude Code hook architecture, limiting reusability in other contexts.
Score Breakdown
Signal breakdown
Innovation
Craft
Traction
Scope
Evidence
Commits
46
Contributors
1
Files
95
Active weeks
2
Repository
Language
Python
Stars
2
Forks
0
License
MIT