coding-standardslisted
Install: claude install-skill nxtg-ai/forge-plugin
# Coding Standards
A language-agnostic baseline for consistent, readable, secure code. This skill ships
inside a plugin you install in *your own* project — Python, TypeScript/JavaScript,
Rust, Go, or anything else. Apply the principles universally; use the language section
that matches the file at hand. The numeric thresholds here are **recommended defaults**
— tune them to your project and enforce them with your own linter/CI, not from memory.
## Core Principles (Universal)
1. **Readability counts** — code is read far more often than written.
2. **Explicit over implicit** — clear intent beats clever tricks.
3. **Simple over complex** — favor the straightforward solution.
4. **Consistency matters** — follow the existing patterns in the codebase you're in.
5. **Single responsibility** — one module/class/function does one thing well.
---
## Naming Conventions (by language)
| Element | Python | TypeScript/JS | Rust | Go |
|---------|--------|---------------|------|-----|
| Files/modules | `snake_case.py` | `kebab-case.ts` / `camelCase.ts` | `snake_case.rs` | `snake_case.go` |
| Types/Classes | `PascalCase` | `PascalCase` | `PascalCase` | `PascalCase` |
| Functions | `snake_case` | `camelCase` | `snake_case` | `camelCase` (unexported) / `PascalCase` (exported) |
| Variables | `snake_case` | `camelCase` | `snake_case` | `camelCase` |
| Constants | `SCREAMING_SNAKE_CASE` | `SCREAMING_SNAKE_CASE` | `SCREAMING_SNAKE_CASE` | `PascalCase` / `camelCase` |
| Private/internal | `_le