Skip to content
Skill

Coding standards

Gives your agent baseline TypeScript and JavaScript conventions for naming, immutability

Coding standards is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
71
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Coding standards

This skill sets a shared floor of coding conventions that an agent applies across projects: descriptive naming, immutability by default, readability, and the KISS, DRY and YAGNI principles. It also gives the agent a checklist for spotting code smells such as long functions, deep nesting and magic numbers, and for reviewing code against these rules.

The bulk of the document is worked examples in TypeScript and JavaScript showing good and bad patterns for variables, functions, error handling, async work, type safety, simple React components and hooks, REST response shapes, input validation with zod, file layout, comments, and tests. The examples are illustrative snippets rather than scripts, so the skill runs no code of its own.

The skill is written to hand off to narrower guidance. It points the agent to separate skills for frontend and backend patterns, API design, and a shorter rules file for common style, so it is best used as the general baseline rather than a full framework playbook.

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.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (13 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

/plugin marketplace add Fmarzochi/EGC
/plugin install egc@egc

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Fmarzochi/EGC.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.

Claude Code docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Fmarzochi/EGC.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.

Codex docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Fmarzochi/EGC.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.

Cursor docs on skills

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

gemini skills install https://github.com/Fmarzochi/EGC.git --path .agents/skills/coding-standards

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

Gemini CLI docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Fmarzochi/EGC.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.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/Fmarzochi/EGC.git

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

The SKILL.md format

What it does

Naming conventions
Guidance on descriptive variable names and verb-noun function names, with contrasting examples.
Immutability defaults
Patterns that favor spread syntax and new arrays or objects over direct mutation.
Code smell review
A checklist for long functions, deep nesting, magic numbers and similar anti-patterns.
Error handling and async
Examples of checked fetch errors, parallel awaits with Promise.all and strict typing.
Testing and comments
Advice on AAA test structure, descriptive test names, and comments that explain why.
Pointers to specialist skills
Directs the agent to framework and API design skills for detailed domain patterns.

Good for

  • Review this module for naming and readability issues
  • Refactor this function to avoid mutating its input
  • Check whether this code follows our baseline conventions before merging
  • Explain the immutability and DRY principles to a new contributor
  • Flag magic numbers and deeply nested conditionals in a file

Coding standards FAQ

When does Coding standards activate?

It is meant for starting a new project or module, reviewing code for quality, refactoring toward conventions, enforcing naming or structure, setting up linting or type checking, and onboarding contributors.

Does Coding standards cover React or backend architecture in depth?

No. The skill states that it is the shared baseline, and it directs React, backend and API design questions to other skills.

Does Coding standards run any scripts or change files?

The skill contains no scripts. It is a set of guidelines and code examples that the agent follows when it applies.

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 egc plugin, which includes it: /plugin marketplace add Fmarzochi/EGC, then /plugin install egc@egc.

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 Coding standards, Readable code, TypeScript best practices, Coding guidelines and Code simplifier.

Where this comes from

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

More from Fmarzochi/EGC

  1. Gives agents a structured workflow to capture, diagnose and recover from their own

    • Open source
    • 71 GitHub stars
    • Developer tools
  2. Builds a repo-specific EGC install plan that sorts components into daily and library sets

    • Open source
    • 71 GitHub stars
    • Developer tools
  3. Guides an agent through consistent REST API design: naming, status codes, pagination

    • Open source
    • 71 GitHub stars
    • Developer tools
  4. Drafts long-form articles, guides and newsletters in a consistent, specific voice

    • Open source
    • 71 GitHub stars
    • Writing style
  5. Guides an agent through Node.js and Express backend design, data access and error handling

    • Open source
    • 71 GitHub stars
    • Developer tools
  6. Builds a reusable writing style profile from your own samples for consistent copy

    • Open source
    • 71 GitHub stars
    • Writing style