coding-standard

coding-standard is a skill for Claude Code from testdouble/han. It costs 96 tokens per session (7,721 once invoked), scanned B, original, MIT.

A workflow for creating or updating a project's coding standards, the written rules developers follow when writing code. It supports starting new standards or converting existing guidance into them.

In plain words
What is it for?
It helps draft, convert, and update standards while checking project files and existing rules to determine the right approach.
Why use it?
It gives a project a consistent, reviewable set of coding rules instead of leaving conventions scattered across informal notes.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; names the AskUserQuestion tool; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the han-coding plugin — 11 skills shipped together

Good fit It helps draft, convert, and update standards while checking project files and existing rules to determine the right approach.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add testdouble/han
Claude Code
/plugin install han-coding

Made for: Claude Code.

Or install han-coding, the plugin that ships this one along with the rest of its 11 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-standard

README.md
[![agentmods](https://agentmods.dev/badge/skills/testdouble/han/coding-standard/github.svg)](https://agentmods.dev/skills/testdouble/han/coding-standard)
Your own site
<a href="https://agentmods.dev/skills/testdouble/han/coding-standard"><img src="https://agentmods.dev/badge/skills/testdouble/han/coding-standard/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-standard

Your own site · 80×15
<a href="https://agentmods.dev/skills/testdouble/han/coding-standard"><img src="https://agentmods.dev/badge/skills/testdouble/han/coding-standard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,721 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00096 $0.07721
Opus 5.5 $0.00038 $0.03088
Sonnet 5.5 $0.00019 $0.01544
Haiku 4.5 $0.00010 $0.00772

Measured 3mo ago against content hash 0ad1695967ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

coding-standard scanned grade B with 1 finding 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 3mo ago.

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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- Rules directory: !`find . -maxdepth 4 -type d -path "*/.claude/rules/coding-standards"`
han-coding/skills/coding-standard/SKILL.md · 461 lines

How it starts

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

Project Context

  • CLAUDE.md: !find . -maxdepth 1 -name "CLAUDE.md" -type f
  • AGENTS.md: !find . -maxdepth 1 -name "AGENTS.md" -type f
  • project-discovery.md: !find . -maxdepth 3 -name "project-discovery.md" -type f
  • Rules directory: !find . -maxdepth 4 -type d -path "*/.claude/rules/coding-standards"
  • personal config directory: !bash "${CLAUDE_PLUGIN_ROOT}/scripts/han-config-dir.sh" 2>/dev/null || echo "$HOME/.claude"
  • project .han/config.md: !cat .han/config.md 2>/dev/null || echo ""

As your first action, use the Read tool on .han/config.md inside the personal config directory path above. A read that returns no file is no personal configuration: continue silently. When that file or the project .han/config.md probe supplies content, apply it per config-rule.md, which governs precedence between the two files, relative-path resolution, and what to do with a file that reads but cannot be used.

Step 1: Determine Mode

Determine which mode to operate in based on the user's request:

Mode When Initial Status Then
Creating new Building a coding standard from scratch proposed → Step 2
Converting existing User provides an existing document (ADR, etc.) to convert accepted → Step 2
Updating existing Modifying an existing coding standard — Read the existing coding standard, → Step 3

Step 2: Evaluate Appropriateness

Coding standard documents are not a replacement for automated tooling. Before proceeding, evaluate whether the proposed coding standard falls into one of these categories:

Read the full file on GitHub · 461 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 461 lines · 96 tokens per session scan B 0ad1695967ca

Subscribe to this mod's changes

coding-standard is a skill published in the GitHub repository testdouble/han (362 stars, last pushed 18d ago), licensed MIT. It adds 96 tokens to every session and 7,721 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

coding-standard compared with skills from other repositories

coding-standard next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
coding-standardtestdouble/hanSkill36218d agoMITB96Claude Code
security-architecture-reviewcbrock84/headcountSkill2.6kyesterdayMITA78Claude Code
auditoliver-kriska/claude-elixir-phoenixSkill5783d agoMITA35Claude Code
boundariesoliver-kriska/claude-elixir-phoenixSkill5783d agoMITA33Claude Code
triageoliver-kriska/claude-elixir-phoenixSkill5783d agoMITA32Claude Code
pr-threads-addressposit-dev/skillsSkill57617d agoMITA48Claude Code
reviewtechygarg/latticeSkill2188d agoMITA95Claude Code