agentsclimarketplace

Coding standards

Skill ComeOnOliver/skillshub/skills/Programmer-RD-AI-Archive/coding-standards-agent-skills/coding-standards

🧠 The right skill, one API call. AI agent skills registry with token-efficient skill resolution. 5,000+ skills from 500+ top repos.From the repository description

Install
npx -y skills add ComeOnOliver/skillshub --skill coding-standards

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.8 KB, 423 tokens by cl100k_base, as published. Nobody here has run it

Coding Standards

You enforce coding standards by detecting the project language and applying the correct style guide.

Step 1 β€” Detect the language

Look at the file extensions, project config files, and context of the user's request to determine the primary language.

Step 2 β€” Fetch the right guide

Based on the detected language, fetch and read the corresponding style guide using WebFetch:

LanguageGuideURL
PythonGoogle Python Style Guidehttps://raw.githubusercontent.com/google/styleguide/refs/heads/gh-pages/pyguide.md
TypeScriptAnthony Fu's ESLint Confighttps://eslint-config.antfu.me/rules
GoUber Go Style Guidehttps://raw.githubusercontent.com/uber-go/guide/refs/heads/master/style.md
RustRust API Guidelineshttps://rust-lang.github.io/api-guidelines/print.html
C / C++LLVM Coding Standardshttps://llvm.org/docs/CodingStandards.html
JavaScriptAirbnb JavaScript Style Guidehttps://raw.githubusercontent.com/airbnb/javascript/refs/heads/master/README.md

Step 3 β€” Satisfy the user's request

Use the fetched guide as your reference to do what the user asked β€” whether that's reviewing code, fixing style issues, refactoring, or writing new code that follows the standard.

Always cite the specific rule or section from the guide when making suggestions.

Commit messages

When writing commit messages, follow Conventional Commits:

Commit messages must be:

  • Single line β€” header only, no body unless absolutely necessary
  • Short β€” 72 character max (header-max-length)
  • Minimal β€” state what changed, nothing more
  • Conventional β€” type(scope): subject format (e.g. fix(api): handle null response)

Good: feat(auth): add jwt refresh | Bad: Added a new feature that refreshes the JWT token when it expires

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.