Agent skill

Coding Standards

by hardness1020 in hardness1020/Leeway

Coding standards and best practices checklist for Python and TypeScript.

MITAuto-check passedDevelopment

Install Coding Standards

skills CLI
$ npx skills add hardness1020/Leeway --skill coding-standards -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install hardness1020/Leeway coding-standards --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/hardness1020/Leeway.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.leeway/skills/coding-standards .claude/skills/coding-standards && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
coding-standards
GitHub stars
115
Token cost
~340 tokens
SKILL.md length
121 words
Files
3 (incl. references)
Skills in repo
2
Repo updated
First seen
Licence
MIT

At a glance

Coding standards and best practices checklist for Python and TypeScript.

  • Writing code to enforce naming conventions
  • SKILL.md covers Naming, Structure, Error Handling and Documentation
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Structure guidelines

What it does

Coding Standards is an agent skill from hardness1020/Leeway. Coding standards and best practices checklist for Python and TypeScript. Use when reviewing or writing code to enforce naming conventions, structure guidelines, error handling patterns, and documentation standards. Apply to all workflow nodes that involve code generation or modification.

Its SKILL.md is about 340 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/python.md` and `references/typescript.md`).

It sits in Development, covering Code quality. It works with Python and TypeScript. The repository describes itself as: A workflow-driven AI agent framework that executes YAML-defined decision trees. The licence is MIT.

When your agent uses it

  • Writing code to enforce naming conventions
  • Structure guidelines
  • Error handling patterns
  • Documentation standards

Example prompts

  • “/coding-standards”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 7601e5e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Coding Standards loads about 340 tokens when it runs, and up to ~671 if it reads all its reference files. Until then it costs about 76 tokens; SKILL.md has 121 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~76
When it runs · the whole SKILL.md, loaded when a task matches
~340
With references · SKILL.md plus every file in references/, read only if the agent opens them
~671

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from hardness1020/Leeway at commit 7601e5e, republished under its MIT licence (© hardness1020). 121 words, ~340 tokens.

Download SKILL.mdSave it as .claude/skills/coding-standards/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
coding-standards
description
Coding standards and best practices checklist for Python and TypeScript. Use when reviewing or writing code to enforce naming conventions, structure guidelines, error handling patterns, and documentation standards. Apply to all workflow nodes that involve code generation or modification.

Coding Standards

Check code against these standards when reviewing or writing.

Naming

  • Use clear, descriptive names for variables and functions
  • Prefix booleans with is_, has_, can_, should_
  • Use UPPER_SNAKE_CASE for constants
  • Use PascalCase for classes, snake_case (Python) or camelCase (JS/TS) for functions

Structure

  • Keep functions to one responsibility, under 50 lines
  • Limit nesting to 3 levels of indentation
  • Group related code; separate unrelated code
  • Organize imports: stdlib, third-party, local

Error Handling

  • Handle errors at the appropriate level — never swallow them
  • Write descriptive, actionable error messages
  • Clean up resources properly (context managers, try/finally)

Documentation

  • Add docstrings/JSDoc to public APIs
  • Use inline comments to explain why, not what
  • Keep README up to date with setup instructions

For language-specific conventions, see references/python.md or references/typescript.md.

© hardness1020, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in .leeway/skills/coding-standards of hardness1020/Leeway.

  • SKILL.md
  • references/python.md
  • references/typescript.md

Open the folder on GitHubat commit 7601e5e

Compare with similar skills

Coding Standards next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Coding Standards compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Coding Standards this skillhardness1020/Leeway115—~340Automated safety check: PassMIT
Code Reviewerjewbetcha/opentrace1162 repos~1.1kAutomated safety check: NotesMIT
Cross-Language Coding Standardszereight/gitlab-mcp2k1 repos~1.4kAutomated safety check: PassMIT
Strict Programming Practicescode-yeongyu/oh-my-openagent70k—~9.5kAutomated safety check: PassCustom licence
Plankton Code Qualityaffaan-m/ECC274k2 repos~1.3kAutomated safety check: PassMIT
Code ReviewerLeoYeAI/openclaw-master-skills2.2k1 repos~1.2kAutomated safety check: PassMIT

Similar skills

  • Code Reviewer

    jewbetcha/opentrace

    Comprehensive code review skill for TypeScript, JavaScript, Python, Swift, Kotlin, Go.

    116 GitHub starsUsed in 2 repos~1.1k tokens
    DevelopmentAuto-check: notes
  • Shared reference for naming, function size, complexity and error handling rules that reviewer agents apply across TypeScript, Python, Go, Rust, Java, C# and Swift.

    2k GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • Strict Programming Practices

    code-yeongyu/oh-my-openagent

    Applies strict, type-first coding rules for Python, Rust, TypeScript and Go, loading the matching language reference before the agent writes or edits any code.

    70k GitHub stars~9.5k tokensUpdated today
    DevelopmentAuto-check passed
  • 使用Plankton进行编写时代码质量强制执行——通过钩子在每次文件编辑时自动格式化、代码检查和Claude驱动的修复。

    274k GitHub starsUsed in 2 repos~1.3k tokens
    DevelopmentAuto-check passed
  • Code Reviewer

    LeoYeAI/openclaw-master-skills

    Code review automation for TypeScript, JavaScript, Python, Go, Swift, Kotlin.

    2.2k GitHub starsUsed in 1 repo~1.2k tokens
    DevelopmentAuto-check passed
  • Code Quality

    waybarrios/opencode-power-pack

    Agents should invoke this skill for code reviews, linting/formatting setup, maintainability checks, complexity concerns, warning cleanup, coding standards, or quality gates in Rust, TypeScript…

    533 GitHub stars~1.8k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from hardness1020/Leeway

  • Code Review

    hardness1020/Leeway

    Code quality review — identify patterns, anti-patterns, and improvements.

    115 GitHub stars~301 tokensUpdated 4 mo ago
    Auto-check passed

Categories

Questions about Coding Standards

What does Coding Standards do?

Coding standards and best practices checklist for Python and TypeScript. Coding Standards is an agent skill from hardness1020/Leeway. Coding standards and best practices checklist for Python and TypeScript.

When should I use Coding Standards?

Coding Standards fits situations like: writing code to enforce naming conventions; structure guidelines; error handling patterns; documentation standards.

How do I install Coding Standards in Claude Code?

Run `npx skills add hardness1020/Leeway --skill coding-standards -a claude-code`. Or copy the skill folder (.leeway/skills/coding-standards in hardness1020/Leeway) into .claude/skills/coding-standards in your project. Claude Code loads it when a task matches its description.

How do I install Coding Standards in Codex?

Run `npx skills add hardness1020/Leeway --skill coding-standards -a codex`. Or copy the skill folder (.leeway/skills/coding-standards in hardness1020/Leeway) into .agents/skills/coding-standards in your project. Codex loads it when a task matches its description.

Can I use Coding Standards in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hardness1020/Leeway --skill coding-standards -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/coding-standards, .gemini/skills/coding-standards, .github/skills/coding-standards and .opencode/skills/coding-standards in your project.

What does Coding Standards need to run?

SKILL.md names no scripts, command-line tools or credentials: Coding Standards is instructions for the agent only. Our summary lists: Python 3.

Does Coding Standards access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Coding Standards safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Coding Standards use?

Coding Standards is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Coding Standards use?

About 340 tokens (SKILL.md is roughly 1.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 331 tokens, read only when the agent opens those files.

What are the alternatives to Coding Standards?

Skills that share tags, products or a category with Coding Standards: Code Reviewer (jewbetcha/opentrace, 116 stars), Cross-Language Coding Standards (zereight/gitlab-mcp, 2k stars), Strict Programming Practices (code-yeongyu/oh-my-openagent, 70k stars) and Plankton Code Quality (affaan-m/ECC, 274k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Coding Standards?

hardness1020 (a GitHub user) maintains it in hardness1020/Leeway, which has 115 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on May 21, 2026.

Source: hardness1020/Leeway on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.