coding-standards

Enforce language-specific coding standards (Python/TS/JS/Go/Rust/C/C++) + PR/commit conventions.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "coding-standards" with this command: npx skills add prdai/coding-standards-agent-skills/prdai-coding-standards-agent-skills-coding-standards

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
  • Conventionaltype(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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

coding-standards

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

coding-standards

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

coding-standards

No summary provided by upstream source.

Repository SourceNeeds Review