code-conventions

Community

Enforce consistent coding standards.

Authorshiroinock
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill codifies project-wide coding conventions to eliminate magic numbers, enforce constants, optimize performance, and separate coordinate systems.

Core Features & Use Cases

  • Eliminate magic numbers: Use constants from imported modules.
  • Constant references: Import constants instead of hardcoding numbers.
  • Performance optimization: Move invariant setup out of loops.
  • Coordinate separation: Always separate physical vs screen coordinates.
  • Use Case: When implementing new features, follow these conventions to keep codebase consistent.

Quick Start

Follow these conventions when implementing, testing, or reviewing code. Import BOARD_PHYSICAL constants and use constants to avoid magic numbers.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: code-conventions
Download link: https://github.com/shiroinock/Darts-Score-Trainer/archive/main.zip#code-conventions

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository