claudemods

All Claude Code modsMDmubarak786/claude-mods

style-cop

A Claude Code mod in MDmubarak786/claude-mods

Enforce the style rules Claude keeps ignoring: banned words and phrases, a comment-density cap on added code, and files that must not gain comments. Rules live in .claude/style-cop.md and are both shown to Claude and enforced on edits.

style-cop reaches L1 (reads) and passed claude plugin validate on Claude Code 2.1.302.

Install hint

/plugin install style-cop --marketplace MDmubarak786/claude-mods

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L1 Reads filesreads files, persists state, draws

Validation

Passed on Claude Code 2.1.302

View the source on GitHub Back to the list

What the scan recorded

Observed events
every prompt, Edit|Write|MultiEdit calls
Hooks
session.start, command.run {command=style-cop}, prompt.submit, tool.call {tool=Edit|Write|MultiEdit}
API calls
$.command.register, $.fs.exists, $.fs.read, $.session.root, $.store.get, $.store.set, $.ui.log
Validation on 2.1.302
Passed
Scanned revision
818d4f22a609
Marketplace passed
modhub

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. How the scan works.

More from MDmubarak786/claude-mods

See all 27 mods from MDmubarak786/claude-mods

Badge for your README

Reach badge for style-cop Validation badge for style-cop

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/MDmubarak786--claude-mods--style-cop-reach.svg)](https://mods.aidojo.si/mods/MDmubarak786--claude-mods--style-cop/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/MDmubarak786--claude-mods--style-cop-validates.svg)](https://mods.aidojo.si/mods/MDmubarak786--claude-mods--style-cop/)