# Coding standards

> Coding standards is an open-source agent skill for developer tools. Applies baseline naming, immutability and code-quality conventions during code review. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/smartworldarafath/REA_Skill/tree/main/.agents/skills/coding-standards
- **Repository:** https://github.com/smartworldarafath/rea_skill
- **GitHub stars:** 66
- **License:** MIT
- **Skill name:** coding-standards
- **Collection:** https://github.com/smartworldarafath/REA_Skill
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

A cross-project baseline of coding conventions that an agent can apply when reviewing or refactoring code. It covers descriptive naming for variables and functions, immutability defaults, error handling expectations, and code-smell checks such as long functions, deep nesting and magic numbers. The guidance is organized around the KISS, DRY and YAGNI principles and includes TypeScript, React, REST API, testing and file-organization examples.

The skill is meant as a shared floor rather than a framework playbook. Its own instructions point the agent to separate skills for frontend patterns, backend architecture and API design, and it defers to those when they apply. It contains no scripts; the agent works from the written rules and code examples.

It is written with TypeScript and JavaScript examples, so those languages are the most directly applicable, although the principles themselves are general.

## When your agent uses it

> Baseline cross-project coding conventions for naming, readability, immutability, and code-quality review. Use detailed frontend or backend skills for framework-specific patterns. Use when reviewing code quality or naming with no framework-specific skill that applies.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/smartworldarafath/REA_Skill/tree/HEAD/.agents/skills/coding-standards)
- [License: MIT](https://github.com/smartworldarafath/REA_Skill/tree/HEAD/.agents/skills/coding-standards)

## Features

- **Naming conventions:** Guidance on descriptive variable, function and file names with good and bad examples.
- **Immutability defaults:** Patterns for updating objects and arrays without mutating the originals.
- **Code smell review:** Checks for long functions, deep nesting and unexplained magic numbers.
- **Error handling expectations:** Examples of wrapping failed requests and surfacing errors clearly.
- **KISS, DRY and YAGNI:** Principles for keeping code simple, avoiding repetition and skipping speculative features.
- **Testing and comments:** Advice on AAA test structure, descriptive test names and explaining why rather than what in comments.

## Good for

- Review this pull request for readability and naming issues
- Refactor this module to follow consistent coding conventions
- Check this function for deep nesting and magic numbers
- Make these state updates immutable
- Suggest clearer names for variables in this file

## Install

### Claude Code

This skill ships in the `rea-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add smartworldarafath/REA_Skill
/plugin install rea-skills@smartworldarafath
```

Or copy only this skill to `~/.claude/skills/coding-standards`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/coding-standards &&
cp -R "$tmp/.agents/skills/coding-standards" ~/.claude/skills/coding-standards &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/coding-standards` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/coding-standards` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/coding-standards &&
cp -R "$tmp/.agents/skills/coding-standards" ~/.agents/skills/coding-standards &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/coding-standards` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/coding-standards` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/coding-standards &&
cp -R "$tmp/.agents/skills/coding-standards" ~/.cursor/skills/coding-standards &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/coding-standards` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/smartworldarafath/REA_Skill.git --path .agents/skills/coding-standards
```

Or copy the folder to `~/.gemini/skills/coding-standards` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/coding-standards`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/coding-standards &&
cp -R "$tmp/.agents/skills/coding-standards" ~/.copilot/skills/coding-standards &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/coding-standards` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git
```

Then copy `REA_Skill/.agents/skills/coding-standards` into your agent's skills folder as `coding-standards`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When should the agent use Coding standards?

When reviewing code quality or naming and no framework-specific skill applies. The skill's description says to use detailed frontend or backend skills for framework-specific patterns.

### Does Coding standards run any scripts or tools?

No. The skill folder contains no scripts, and it sets no allowed tools. It works through written guidance and examples.

### Which languages does Coding standards cover?

Its examples are in TypeScript and JavaScript, with React, REST API, and testing sections. The principles are described as applicable across projects.

### What license is Coding standards under?

The skill's SKILL.md lists the MIT license.

### How do I install Coding standards in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/coding-standards to use it in all your projects, or to .claude/skills/coding-standards in one project. Or install the rea-skills plugin, which includes it: /plugin marketplace add smartworldarafath/REA_Skill, then /plugin install rea-skills@smartworldarafath.

### Does Coding standards run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Coding standards?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Coding standards?

The closest alternatives to Coding standards are Readable code, Cpp coding standards, Readable cpp, Code simplifier and Code review.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Readable code](https://ai-powered.com/skills/readable-code): Readable code is an open-source agent skill for developer tools.
- [Cpp coding standards](https://ai-powered.com/skills/cpp-coding-standards): Cpp coding standards is an open-source agent skill for developer tools.
- [Readable cpp](https://ai-powered.com/skills/readable-cpp): Readable cpp is an open-source agent skill for developer tools.
- [Code simplifier](https://ai-powered.com/skills/code-simplifier): Code simplifier is an open-source agent skill for developer tools.
- [Code review](https://ai-powered.com/skills/code-review-getsentry): Code review is an open-source agent skill for developer tools.
- [TypeScript best practices](https://ai-powered.com/skills/typescript-best-practices): TypeScript best practices is an open-source agent skill for developer tools.
- [Dotnet best practices](https://ai-powered.com/skills/dotnet-best-practices): Dotnet best practices is an open-source agent skill for developer tools.
- [Ecc conventions](https://ai-powered.com/skills/ecc-conventions): Ecc conventions is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/coding-standards-smartworldarafath
