coding-quality-ruleslisted
Install: claude install-skill Nmor/the-claude-council
# Coding Quality Rules — Universal Discipline
> Migrated 2026-06-02 from 19 files in `~/.claude/rules/common/` as part of the lazy-rules-loading plan. Phase H will delete the originals to close the eager-load loop. Each section below preserves the full content of one source rule; section headings name the rule file of origin.
This skill bundles 19 cross-cutting rules that apply to every code file. Loading is gated by `paths:` — when ANY code file is touched, this skill activates and the disciplines below apply.
## Section index
1. coding-style — naming, comments, file organisation, immutability, error handling
2. patterns — broader architectural patterns; repository / response envelope
3. reuse-first — sweep before write; rule of three
4. proper-fixes-first — root cause, never symptom; banned shortcut patterns
5. no-silent-drops — no orphan TODOs; no suppression directives; no meta-comments
6. no-silent-failures — every failure produces signal at user + server
7. no-discards — every value bound; every error wrapped with context
8. no-ambient-globals — DI everywhere; no module-level mutable state
9. no-local-fs — no local-FS state on ephemeral platforms
10. error-codes — stable snake_case codes; mapped to HTTP + UX + i18n + runbook
11. error-handling-with-context — operation + ids + wrapped cause chain
12. log-levels — FATAL/ERROR/WARN/INFO/DEBUG/TRACE canonical semantics
13. semver — Semantic Versioning 2.0.0 + Conventional Commits 1.0.0 + Keep a Changelog 1.1.0
14. extre