Code Quality
Clean code principles, SOLID patterns, and code review checklists with TypeScript examples for maintainable software.
- CCM score
- 45 of 100
- skills.sh installs
- 786
- GitHub stars
- 26
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers meaningful naming, single-purpose functions, when to write comments, and the five SOLID principles
- Includes before-and-after TypeScript examples for each principle, such as a payment processor refactored to open/closed
- Provides a markdown code review checklist covering correctness, design, and readability
- Designed for developers who want concrete refactoring examples alongside the reasoning behind each rule
Install
$ npx -y skills add miles990/claude-software-skills --skill code-quality -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Code Quality
Overview
Principles and practices for writing maintainable, readable, and reliable code.
Clean Code Principles
Meaningful Names
// ❌ Cryptic names
const d = new Date();
const u = getU();
const arr = data.filter(x => x.s === 'a');
// ✅ Descriptive names
const currentDate = new Date();
const currentUser = getCurrentUser();
const activeUsers = users.filter(user => user.status === 'active');
// ❌ Hungarian notation (outdated)
const strName = 'John';
const arrItems = [];
const bIsActive = true;
// ✅ Let the type system handle types
const name = 'John';
const items: Item[] = [];
const isActive = true;
Functions
// ❌ Does too much
function processUserData(userId: string) {
const user = db.findUser(userId);
const orders = db.findOrders(userId);
const total = orders.reduce((sum, o) => sum + o.amount, 0);
sendEmail(user.email, `Your total: ${total}`);
updateAnalytics(userId, total);
return { user, orders, total };
}
// ✅ Single responsibility
function getUser(userId: string): User {
return db.findUser(userId);
}
function getUserOrders(userId: string): Order[] {
return db.findOrders(userId);
}
Details
- Repository
- github.com/miles990/claude-software-skills
- Category
- Code Review & Quality
- First seen
- Jun 3, 2026
More from miles990/claude-software-skills
All 5Similar to Code Quality
More Code Review & Qualityclean-codesickn33/agentic-awesome-skills13.2K installsClean-code design heuristics from Robert C. Martin for refactoring, reviewing, and writing code that others can read.
solidramziddin/solid-skills3.7K installsOpinionated guide that turns coding work into senior-level practice through TDD, SOLID principles, and clean-code rules.
code-review-excellencegalaxy-dawn/claude-scholar379 installsStructured review workflow and checklists that shift code review toward knowledge sharing and constructive feedback.
solid-principlesthebushidocollective/han618 installsGuide to the five SOLID design principles with Elixir and TypeScript code examples for each.
clean-code-principlesasyrafhussin/agent-skills2K installsReference guide for SOLID, core principles, and design patterns used when reviewing architecture or code quality.
typescript-clean-codebmad-labs/skills680 installsClean Code principles, TDD, and review checklists for TypeScript, drawn from Martin's books.