Coding Standards Enforcer skill for Claude and Codex
Coding Standards Enforcer as an AI skill. It asks for The code, Language, Existing conventions and 2 more, then does the rest. Free to install in Claude or…
Install it once and Claude or Codex runs it for you. When your request matches, your AI loads the skill, asks for anything it is missing, and works through the template itself. Prefer to fill it in by hand? See the full prompt template.
Download the skill (.zip) · View SKILL.md
When it is used
Use when a file or diff needs to match a team's naming, structure, error handling, and readability rules before review. Do not use for hunting bugs or judging architecture and performance. Related topics: coding, technical.
What it will ask you for
- The code (longer free text)
- Language (free text, e.g. "Language and version")
- Existing conventions (longer free text)
- Rules to enforce (choose any: Naming, Function size, Error handling, Comments, Dead code, Duplication, Module structure)
- Strictness (choose one: Suggest only, Fix obvious issues, Rewrite fully)
How it works
- Infer the conventions already in use from the code and any stated guide, and write them down as the standard to hold to.
- Check the code against each selected rule in turn, listing every violation with its location.
- Apply the fix for each violation at the chosen strictness, leaving behaviour unchanged and flagging any change that could alter output.
- Re-read the result to confirm the same inputs would still produce the same outputs.
- Return the cleaned code or edit list with a count of places touched per rule and the items left alone.
What you get
The cleaned code or an edit list, then a short summary table of rules applied with counts and a note on anything deliberately left unchanged.
What it watches out for
- Imposing personal style over the conventions the codebase already follows, which makes the diff noisy and invites argument.
- Renaming public identifiers that other files depend on, breaking callers the review never saw.
- Splitting functions into tiny pieces that are harder to follow than the original block.
How to install
Claude.ai and the Claude desktop app
- Download the skill .zip.
- Open Settings, then Capabilities, and find Skills.
- Choose Upload skill and select the .zip.
- Ask Claude for help with the task. It loads the skill when your request matches.
Claude Code
- Download the skill .zip.
- Unzip it into ~/.claude/skills/ (or .claude/skills/ inside a project).
- Start a new session. Claude Code loads the skill when your request matches.
Codex
- Download the skill .zip.
- Unzip it into ~/.agents/skills/ (or .agents/skills/ inside a project).
- Codex picks it up on its own. Type $ and the skill name to use it, or just ask for the task.
Cursor
- Download the Cursor rule (.mdc).
- Save it in .cursor/rules/ inside your project.
- Cursor's agent applies the rule when your request matches its description.
AGENTS.md (Codex, Cursor, and other coding agents)
- Copy the AGENTS.md section.
- Paste it into AGENTS.md at the root of your repository, creating the file if needed.
- Coding agents that read AGENTS.md follow it when your request fits.