Coding Standards Skill banner
29anan29 29anan29

Coding Standards Skill

AI community

Description

A cross-language engineering coding standard packaged as an AI skill (17 languages). Install via the coding-standards-cli npm package.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

coding-standards

**English** · [中文](README.zh-CN.md)

A cross-language engineering coding standard packaged as an **AI skill**. It guides AI coding agents to produce clean, consistent, maintainable, idiomatic code when writing, reviewing, or refactoring C, C++, Rust, Go, Java, Kotlin, JavaScript, TypeScript, TSX/React, Python, C#/.NET, Swift, PHP, Ruby, Dart, Scala, and Zig.

Highlights

  • Language-agnostic rules mapped to per-language idioms (17 languages), plus a quick-reference table.
  • Reviewer-friendly: strict, consistent, actionable guidance.
  • Hard vs. soft rule prioritization so agents know what is mandatory.
  • Deliverable checklist to verify output before submission.
  • Tools for AI agents to format and self-check code (see below).

The skill source lives at [`cli/skill/coding-standards/`](cli/skill/coding-standards/), containing `SKILL.md`, bundled `data/` assets, and `scripts/`.

Install with the CLI (recommended)

The companion npm package `coding-standards-cli` (published to **both** npm and GitHub Packages) copies the skill into your AI assistant’s skill directory:

npm install -g coding-standards-cli
cd /path/to/your/project
standards init claude      # Claude Code
standards init opencode    # OpenCode
standards init codex       # Codex CLI
standards init all         # All supported tools
standards global claude    # or: install globally into ~/.claude/skills
standards update           # update this CLI from npm
standards help             # show help

Two binary names are equivalent: `standards` and `coding-standards`. See [`cli/README.md`](cli/README.md) for every supported tool, the `--global` option, and the `list`/`uninstall`/`update` commands.

Tip: OpenCode, Codex, Cursor, Windsurf, Trae also read `.agents/skills/` — `standards init agents` covers the portable standard shared by many tools.

**Where it’s published**:

  • npm (registry.npmjs.org): coding-standards-cli — installs with no extra