# Coding Rules Enforcer

> Enforces language-specific coding rules, style guidelines, patterns, security, and testing standards by referencing a built-in guidelines bank.

- Skill: `auto-skiller/coding-rules-enforcer` (Agent Skill, multi-file: 120 files)
- Install (CLI): `npx skillmds@latest add auto-skiller/coding-rules-enforcer`
- Raw SKILL.md: https://api.skillmd.com/api/skills/auto-skiller/coding-rules-enforcer/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools, Code Review, Testing & QA
- Tags: Code Review, Coding Rules, Cpp, Python, Security, Style Guide, Testing, Typescript
- Author: Auto-Skiller (https://skillmd.com/u/auto-skiller)
- Updated: 2026-08-22
- Page: https://skillmd.com/skills/auto-skiller/coding-rules-enforcer

---

# coding-rules-enforcer

**Description**: Enforces language-specific coding rules, style guidelines, patterns, security, and testing standards. References the extensive language guidelines bank available in this skill directory.
**Use when**: The task involves writing new code or refactoring code in a specific language (e.g., Python, C++, TypeScript, Rust) and you need to apply the canonical coding rules and styles.

## Available Rules Bank
The rules bank contains `.md` files detailing:
- Coding Style (e.g., `python-coding-style.md`)
- Patterns (e.g., `python-patterns.md`)
- Security (e.g., `python-security.md`)
- Testing (e.g., `python-testing.md`)
- Code Review (e.g., `python-review.md`)
- Development Workflow (e.g., `common-development-workflow.md`)

## Operational Protocol
1. **Identify Language**: Determine the programming language of the current project.
2. **Consult Guidelines**: Read the relevant `[language]-*.md` files (e.g. `[language]-coding-style.md`, `[language]-patterns.md`) to internalize the rules.
3. **Apply Rules**: Write or refactor the code strictly adhering to the styles and patterns specified in the guidelines.
4. **Enforce Security**: Verify code against `[language]-security.md` rules before completion.

