coding-standards

coding-standards is a skill for Claude Code from shennawardana23/skillme. It costs 106 tokens per session (1,967 once invoked), scanned A, original, Apache-2.0.

A language-independent guide to code-quality practices for reviewing or writing code. It focuses on maintainability concerns such as oversized functions, deep nesting, unexplained numbers, comments, and naming across languages.

In plain words
What is it for?
Use it during code reviews, when setting lint rules, or when establishing shared conventions for a mixed-language team. Use a language- or framework-specific guide when the issue depends on particular idioms.
Why use it?
It helps reviewers spot code that works but is difficult to understand or change. The guidance stays general so it can apply to TypeScript, Go, PHP, and other languages.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the skillme plugin — 137 skills, 2 commands shipped together

Good fit Use it during code reviews, when setting lint rules, or when establishing shared conventions for a mixed-language team. Use a language- or framework-specific guide when the issue depends on particular idioms.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shennawardana23/skillme/coding-standards
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 shennawardana23/skillme --skill coding-standards
Clone the repo
git clone --depth 1 https://github.com/shennawardana23/skillme

Made for: Claude Code.

Or install skillme, the plugin that ships this one along with the rest of its 137 skills, 2 commands.

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-standards

README.md
[![agentmods](https://agentmods.dev/badge/skills/shennawardana23/skillme/coding-standards.svg)](https://agentmods.dev/skills/shennawardana23/skillme/coding-standards)
Your own site
<a href="https://agentmods.dev/skills/shennawardana23/skillme/coding-standards"><img src="https://agentmods.dev/badge/skills/shennawardana23/skillme/coding-standards.svg" alt="Measured on agentmods" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,967 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 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.00106 $0.01967
Opus 5 $0.00053 $0.00983
Sonnet 5 $0.00021 $0.00393
Haiku 4.5 $0.00011 $0.00197

Measured 8d ago against content hash 4e8012ddff60, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

coding-standards scanned grade A 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 8d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

const response = await fetch(url)
skills/coding-standards/SKILL.md · 206 lines

How it starts

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

Coding Standards

This is the language-agnostic layer: decision heuristics that apply whether the file is Go, TypeScript, or PHP. For a specific language or framework's idioms, use the dedicated skill instead — skills/go-service-idioms/, skills/api-design/, skills/laravel-patterns/, skills/vue-nuxt-frontend-patterns/. This skill only covers what's genuinely cross-cutting: it skips KISS/DRY/YAGNI definitions and other things any competent reviewer already knows, and focuses on the concrete thresholds and rationalizations that actually distinguish a maintainable change from one that technically works.

When to use

Reviewing code for maintainability across languages; setting up lint rules; establishing conventions a mixed-language team will actually follow without a language-specific skill to lean on.

Function size and nesting

A function whose body exceeds ~50 lines is usually doing more than one thing — the fix is extracting named sub-steps, not shrinking whitespace:

// One function, three responsibilities hidden inside it
function processMarketData() { /* validate, transform, persist, ~100 lines */ }

// Three named steps, each independently testable
function processMarketData() {
  const validated = validateData()
  const transformed = transformData(validated)
  return saveData(transformed)
}

Nesting past 3-4 levels is a comparable signal. Guard clauses (early returns) collapse a pyramid of conditions into a flat list of exits, which is easier to scan and to add a fifth condition to later:

// 5 levels deep
if (user) { if (user.isAdmin) { if (market) { if (market.isActive) { if (hasPermission) { /* ... */ } } } } }

// Flat
if (!user) return
if (!user.isAdmin) return
if (!market) return
if (!market.isActive) return
if (!hasPermission) return
// ...

Magic numbers and strings

An unexplained literal in a conditional or a timeout is a landmine for the next reader, who has to guess whether 3 and 500 are related, arbitrary, or load-bearing:

Read the full file on GitHub · 206 lines

Files

What ships with it

1 file 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. 8d ago First seen · 206 lines · 106 tokens per session scan A 4e8012ddff60

Subscribe to this mod's changes

coding-standards is a skill published in the GitHub repository shennawardana23/skillme (2 stars, last pushed 10d ago), licensed Apache-2.0. It adds 106 tokens to every session and 1,967 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

receiving-code-review

Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation.

obra/superpowers · 38 tokens

requesting-code-review

Use when completing tasks, implementing major features, or before merging to verify work meets requirements.

obra/superpowers · 22 tokens

review-loop

Bounded review-apply-resolve convergence loop for a GitHub PR (draft PRs are fine). Runs up to N=5 iterations of pr-reviewer → implement-suggestion (--resolve-all) → polish simplify, converging until every review thread is resolved — through a fix OR a reply (answered question, recorded rationale) — so the PR is left…

mthines/agent-skills · 446 tokens

implement-suggestion

Implements review-comment suggestions across one or more PRs. Multi-PR mode (default when $ARGUMENTS contains PR URLs; empty $ARGUMENTS auto-detects the active PR) per PR: resolves a worktree, fetches every actionable comment from both human teammates AND AI code-review bots (claude[bot], coderabbitai[bot], …)…

mthines/agent-skills · 314 tokens

create-pr

Generates a short, narrative GitHub pull request description (≤ 25 lines, hard ceiling 40), pushes the branch, opens the PR as a draft, then runs review-loop (pr-reviewer → implement-suggestion → polish simplify, up to 5 iterations) until every review thread is resolved via fix or reply. Scale down with --no-review…

mthines/agent-skills · 188 tokens

confidence

Rates confidence that the current work fully solves the stated requirement. Supports plan validation, code review, and analysis (root-cause, refactor, diagnose) modes. Plan mode combines LLM judgment with deterministic rule checks (multi-signal gate); a failed rule caps the gate at 89% regardless of LLM score. Use…

mthines/agent-skills · 103 tokens