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
- Identify Language: Determine the programming language of the current project.
- Consult Guidelines: Read the relevant
[language]-*.mdfiles (e.g.[language]-coding-style.md,[language]-patterns.md) to internalize the rules. - Apply Rules: Write or refactor the code strictly adhering to the styles and patterns specified in the guidelines.
- Enforce Security: Verify code against
[language]-security.mdrules before completion.