Principles Rules — Code Quality skill for Claude Code
Always-on Clean Code standards from Robert C. Martin.
How to install Principles Rules
Installs to ~/.claude/skills/siege-analytics-claude-configs-public-_principles-rules/SKILL.md
mkdir -p ~/.claude/skills/siege-analytics-claude-configs-public-_principles-rules && curl -fsSL https://raw.githubusercontent.com/siege-analytics/claude-configs-public/HEAD/skills/_principles-rules.md -o ~/.claude/skills/siege-analytics-claude-configs-public-_principles-rules/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Principles Rules does
description: Always-on Clean Code standards from Robert C. Martin. Apply to all code regardless of language.
Clean Code Standards
Apply these principles from *Clean Code* (Robert C. Martin) to all code you write or review.
Names
- Use intention-revealing names -- if the name needs a comment to explain it, rename it
- Avoid abbreviations unless universally understood (
url,id,ctxare fine;mgr,procare not) - Classes and types are nouns; methods and functions are verb
Alternatives in Code Quality
- Standards Skills — Engineering standards and compliance skills 5.3k ★
- Refactor Claude Md — Refactor CLAUDE.md by extracting sections to dedicated docs with path-scoped rules 1.6k ★
- Pragmatic Clean Code Reviewer — A Claude Code skill for conducting rigorous code reviews based on Clean Code, Clean Architecture, and The Prag 159 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
iOS Clean Code Skills
Clean Code skills for Swift / iOS projects based on Robert Martin's Clean Code and G. Ann Campbell's Cognitive
Clean Code Mentor
A patient mentor teaching production-grade code practices. Invoke when user wants to learn best practices, cod
Claude Pace Maker
Prevent Claude Code overages by throttling tool usage when getting close to the 5-hour limit and weekly limit.
Clean Oop
Apply SOLID, Clean Code, dependency boundaries, and testability.
Coordinate Agents
Run one coordination sweep across live weftspun agents — snapshot the Bao KV agents/ store, notify each live p
Fowler Refactor Skill
Martin Fowler refactoring patterns agent skill for Claude Code / OpenCode
Related Agents
Discord Architect
Designs Discord server template specs from natural-language briefs ("make me a server for X") and applies them
Code Simplicity
Reviews code for unnecessary complexity, over-engineering, and violations of clean code principles. Enforces t
Fullstack Code Reviewer
Use this agent when you need expert code review for Ruby on Rails or Next.js applications, focusing on best pr