coding-standards

Enforce cross-language coding conventions for naming, structure, and error handling.

Updated Feb 23, 2026
One-click install
npx skills add https://github.com/cheafi/Trading-bot-CC --skill coding-standards-cheafi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-standards
Source: https://github.com/cheafi/Trading-bot-CC/tree/main/.github/skills/coding-standards
Command: npx skills add https://github.com/cheafi/Trading-bot-CC --skill coding-standards-cheafi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents inconsistent code style and review-driven rework by providing a single cross-language reference for naming, function design, error handling, and common anti-patterns.

Core Features & Use Cases

  • Canonical cross-language baseline: Centralizes shared rules that reviewer agents embed during code review to reduce subjective debates.
  • Actionable conventions: Covers naming (camelCase/snake_case/etc.), boolean prefixes, collection pluralization, and forbidden shorthand/abbreviations.
  • Engineering guardrails: Sets targets for function size, cyclomatic complexity, nesting depth, immutability-first structure, and error-handling expectations with contextual messages.
  • Anti-pattern detection guidance: Flags high-risk patterns like mutable global state, swallowed errors, un-awaited promises, magic numbers, god objects, and unreadable ternaries.

Quick Start

Ask the reviewer agent to apply the coding-standards skill to your diff and generate a checklist of naming, complexity, and error-handling issues to fix.

Frequently Asked Questions about coding-standards

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce consistent code review standards across multiple programming languages?

Code review standards across multiple languages are enforced by applying a cross-language baseline for naming, function design, and error handling to reduce subjective debates and rework.

What are the best practices for standardizing naming conventions in TypeScript and Python?

Standardizing naming conventions in TypeScript and Python involves applying canonical rules like camelCase or snake_case, boolean prefixes, collection pluralization, and prohibiting shorthand or abbreviations.

How do I detect common anti-patterns like god objects and swallowed errors during refactoring?

Detect common anti-patterns during refactoring by flagging high-risk patterns like mutable global state, swallowed errors, un-awaited promises, magic numbers, god objects, and unreadable ternaries.

Does this coding standards skill apply to Go, Rust, Java, C#, and Swift?

Yes, the coding standards skill applies to Go, Rust, Java, C#, and Swift, providing deterministic review guidance for function size, complexity limits, and immutability-first rules across these languages.

What limits should I set for cyclomatic complexity and function size in code reviews?

Set limits for cyclomatic complexity and function size in code reviews by applying engineering guardrails that target specific nesting depths, complexity thresholds, and immutability-first structures.