coding-conventions-agent

coding-conventions-agent is a skill for Claude Code from richfrem/agent-plugins-skills. It costs 28 tokens per session (741 once invoked), scanned A, original, MIT.

A coding standards agent that checks new and existing code against project rules. It covers Python, TypeScript, JavaScript, and C#/.NET source files and their documentation.

In plain words
What is it for?
Use it when writing code, reviewing quality, adding required headers and docstrings, or checking whether project coding policies are being followed.
Why use it?
It reduces inconsistent style, missing file headers, incomplete documentation, and untyped Python function signatures across a codebase.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the dev-utils plugin — 19 skills shipped together

Good fit Use it when writing code, reviewing quality, adding required headers and docstrings, or checking whether project coding policies are being followed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/richfrem/agent-plugins-skills/coding-conventions-agent
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add richfrem/agent-plugins-skills --skill coding-conventions-agent
Clone the repo
git clone --depth 1 https://github.com/richfrem/agent-plugins-skills

Made for: Claude Code.

Or install dev-utils, the plugin that ships this one along with the rest of its 19 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for coding-conventions-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/coding-conventions-agent/github.svg)](https://agentmods.dev/skills/richfrem/agent-plugins-skills/coding-conventions-agent)
Your own site
<a href="https://agentmods.dev/skills/richfrem/agent-plugins-skills/coding-conventions-agent"><img src="https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/coding-conventions-agent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for coding-conventions-agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/richfrem/agent-plugins-skills/coding-conventions-agent"><img src="https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/coding-conventions-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 741 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.00741
Opus 5.5 $0.00011 $0.00296
Sonnet 5.5 $0.00006 $0.00148
Haiku 4.5 $0.00003 $0.00074

Measured 17d ago against content hash cf9fde49004f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

coding-conventions-agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 17d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (assets/templates/bash-tool-header-template.sh, assets/templates/js-tool-header-template.js, assets/templates/python-tool-header-template.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/dev-utils/skills/coding-conventions-agent/SKILL.md · 76 lines

How it starts

The opening of the file, as written. The whole thing — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Coding Conventions Agent (coding-conventions-agent)

Enforces project-wide coding policy alignment across Python, TypeScript/JavaScript, and C#/.NET.

Contents

Critical Constraints

  1. Dual-Layer Docs: External comment above + internal docstring inside every non-trivial function/class.
  2. File Headers: Every source file must begin with a standardized purpose header.
  3. Type Annotations: All Python function signatures require complete type annotations.
  4. Refactor Threshold: Functions exceeding 50+ lines or 3+ nesting levels must be refactored into helpers.
  5. Zero Stubs: Reject placeholder tokens (TODO, TBD, [NEEDS INPUT]) in completed code.

Header Templates

Use templates located in assets/templates/:

Naming Conventions

Language Functions/Vars Classes Constants Private Fields
Python snake_case PascalCase UPPER_SNAKE_CASE _leading_underscore
TS/JS camelCase PascalCase UPPER_SNAKE_CASE _leading_underscore
C# PascalCase (public) PascalCase PascalCase _camelCase

Quick start

Execute the workspace conventions auditor across the project:

python3 scripts/workspace_conventions_auditor.py

Workflow

  1. Language Detection: Identify target file languages and load corresponding header templates.
  2. Standard Enforcement: Apply dual-layer documentation and type annotations to new/modified code.
  3. Threshold Check: Extract any function exceeding 50 lines or 3 nesting levels into named helpers.
  4. Audit Execution: Run workspace_conventions_auditor.py to confirm full compliance.

Read the full file on GitHub · 76 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 17d ago Changed · -118 lines · -17 tokens per session cf9fde49004f
  2. 1mo ago First seen · 194 lines · 45 tokens per session scan A 6429f2bc66cc

Subscribe to this mod's changes

coding-conventions-agent is a skill published in the GitHub repository richfrem/agent-plugins-skills (7 stars, last pushed yesterday), licensed MIT. It adds 28 tokens to every session and 741 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.