IdeaCredIdeaCred

gufranco/claude-engineering-rules

76

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 rounds

A 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

Innovation
7 (25%)
Craft
71 (35%)
Traction
6 (15%)
Scope
76 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+2
Concept Novelty+2

Craft

Ci+5
Tests+8
Polish+0
Releases+0
Has License+5
Code Quality+27
Readme Quality+15
Recent Activity+7
Structure Quality+4
Commit Consistency+0
Has Dependency Mgmt+0

Traction

Forks+0
Stars+6
Hn Points+0
Watchers+0
Early Traction+0
Devto Reactions+0
Community Contribs+0

Scope

Commits+7
Languages+5
Subsystems+5
Bloat Penalty+0
Completeness+6
Contributors+5
Authored Files+15
Readme Code Match+3
Architecture Depth+5
Implementation Depth+8

Evidence

Commits

46

Contributors

1

Files

95

Active weeks

2

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

2

Forks

0

License

MIT