Coding Standards

Coding Standards is a skill for Claude Code from nxtg-ai/forge-plugin. It costs 108 tokens per session (3,989 once invoked), scanned A, original, MIT.

A cross-language reference for writing consistent, readable, and safer code. It covers naming, types, errors, asynchronous code, imports, SQL style, Git commits, complexity, security, and pre-PR checks.

In plain words
What is it for?
Use it while writing or reviewing Python, TypeScript, JavaScript, Rust, Go, SQL, and other code to guide style and common engineering decisions.
Why use it?
It gives a project a shared baseline so code is easier to understand, review, and maintain across different programming languages.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the nxtg-forge plugin — 27 skills, 23 commands, 33 agents, 3 hooks, 3 MCP servers shipped together

Good fit Use it while writing or reviewing Python, TypeScript, JavaScript, Rust, Go, SQL, and other code to guide style and common engineering decisions.

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

Made for: Claude Code.

Or install nxtg-forge, the plugin that ships this one along with the rest of its 27 skills, 23 commands, 33 agents, 3 hooks, 3 MCP servers.

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/nxtg-ai/forge-plugin/coding-standards/github.svg)](https://agentmods.dev/skills/nxtg-ai/forge-plugin/coding-standards)
Your own site
<a href="https://agentmods.dev/skills/nxtg-ai/forge-plugin/coding-standards"><img src="https://agentmods.dev/badge/skills/nxtg-ai/forge-plugin/coding-standards/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 Standards

Your own site · 80×15
<a href="https://agentmods.dev/skills/nxtg-ai/forge-plugin/coding-standards"><img src="https://agentmods.dev/badge/skills/nxtg-ai/forge-plugin/coding-standards.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,989 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.00108 $0.03989
Opus 5 $0.00054 $0.01995
Sonnet 5 $0.00022 $0.00798
Haiku 4.5 $0.00011 $0.00399

Measured 7d ago against content hash eeb770e33e14, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

Coding Standards 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 7d 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.

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/nxtg-forge/skills/coding-standards/SKILL.md · 368 lines

How it starts

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

Coding Standards

A language-agnostic baseline for consistent, readable, secure code. This skill ships inside a plugin you install in your own project — Python, TypeScript/JavaScript, Rust, Go, or anything else. Apply the principles universally; use the language section that matches the file at hand. The numeric thresholds here are recommended defaults — tune them to your project and enforce them with your own linter/CI, not from memory.

Core Principles (Universal)

  1. Readability counts — code is read far more often than written.
  2. Explicit over implicit — clear intent beats clever tricks.
  3. Simple over complex — favor the straightforward solution.
  4. Consistency matters — follow the existing patterns in the codebase you're in.
  5. Single responsibility — one module/class/function does one thing well.

Naming Conventions (by language)

Element Python TypeScript/JS Rust Go
Files/modules snake_case.py kebab-case.ts / camelCase.ts snake_case.rs snake_case.go
Types/Classes PascalCase PascalCase PascalCase PascalCase
Functions snake_case camelCase snake_case camelCase (unexported) / PascalCase (exported)
Variables snake_case camelCase snake_case camelCase
Constants SCREAMING_SNAKE_CASE SCREAMING_SNAKE_CASE SCREAMING_SNAKE_CASE PascalCase / camelCase
Private/internal _leading_underscore #private field / _prefix module-private (no pub) lowercase first letter

Universal rules:

  • No intent-obscuring abbreviations: tptemplate_path, genProjgenerate_project, usrRepouser_repository.
  • Boolean names read as predicates: is_valid, has_access, can_retry.
  • In Go, exported vs unexported is the capitalization of the first letter — this is the language's access control, not a convention you can opt out of.
  • Don't fight the ecosystem: camelCase in Python or snake_case in TS/JS reads as a mistake to every reviewer.

Read the full file on GitHub · 368 lines

Files

What ships with it

3 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. 7d ago First seen · 368 lines · 108 tokens per session scan A eeb770e33e14

Subscribe to this mod's changes

Coding Standards is a skill published in the GitHub repository nxtg-ai/forge-plugin (5 stars, last pushed today), licensed MIT. It adds 108 tokens to every session and 3,989 once invoked, about $0.0005 per session on Opus 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.