code-quality
Reviews cohesion, naming, responsibility, complexity, and maintainability.
Skill by Mesteriis
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/mesteriis-code-quality
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/code-quality
What's inside
- Skill name
code-quality- Description
- Reviews cohesion, naming, responsibility, complexity, and maintainability. Do not use as a default companion to every code change.
- License
- MIT
- Instructions
- 215 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Skill: code-quality ## Purpose Keep code cohesive, explicit, maintainable, testable, and appropriately small. This skill encodes SOLID, KISS, DRY, YAGNI, cohesion, coupling, and size discipline as practical rules rather than motivational office posters. ## Single Responsibility at Every Level ### Function A function should do one coherent thing. A function is suspicious when it: - validates input; - performs I/O; - applies domain rules; - mutates persistence; - formats output; - logs business events; - handles retries; all in one place. Split by responsibility, not by arbitrary line count. ### Class / Type A class/type should represent one role: - domain state; - lifecycle; - policy; - adapter; - interface implementation; - dependency grouping; - stateful workflow. Avoid god objects, vague managers, and classes that are just bags of unrelated methods. ### File / Module A file/module should have one cohesive theme. A file is suspicious when it contains: - unrelated domain concepts; - mixed layers; - many independent public entry points; - repeated section headers needed to understand it; - several classes that change for unrelated reasons. Do not create a `utils`, `helpers`, `common`, or `misc` dumping ground unless the repository already has that convention and the new code still has a cohesive purpose. ### Package / Component A package/component should expose a clear public boundary. It should not be a directory-shaped junk drawer. Prefer package boundaries around: - domain subareas; - application use cases; - infrastructure adapters; - integration clients; - UI/presentation areas; - hardware responsibilities. ### Layer A layer should have one architectural responsibility. Do not mix transport, domain, persistence, configuration, and presentation concerns. ### Bounded Context A bounded context should own one domain language and one model of reality. Do not leak terms and invariants across contexts accidentally. ## Size Limits Human-authored 10k-line files are forbidden. Default thresholds for human-authored source: - function over 60 logical lines: suspicious; - function over 100 logical lines: split or justify; - class/type over 300 logical lines: suspicious; - class/type over 500 logical lines: split or justify; - file/module over 800 logical lines: split or justify; - file/module over 1,500 logical lines: strong refactor candidate; - file/module over 10,000 logical lines: unacceptable except generated/vendor/lock content. Generated, vendored, lock, and machine-produced migration files may be exceptions. If a large file is unavoidable, document why and isolate growth behind clear sections or generated boundaries. Better yet, do not make it unavoidable. Humanity has suffered enough. ## KISS Prefer simple, direct solutions. Avoid: - abstraction before evidence; - clever generic code for one caller; - framework-shaped code without a framework-sized problem; - dynamic behavior that hides control flow; - configuration-driven everything. A 100-line TODO app should still be clean, typed, and testable. It does not need a fake enterprise architecture ceremony. ## DRY Avoid duplication of knowledge, not merely duplicated text.
From Mesteriis/Engineering-Bible-AI, MIT.
More from Mesteriis/Engineering-Bible-AI
- 0.567score
architecture-normalizer
Mesteriis
Decomposes large modules, god files, classes, or packages in reviewable steps while preserving public APIs.
SkillAFreshness: AClaude Code +9 - 0.564score
code-wiki-ru
Mesteriis
Builds and validates Russian Obsidian repository wikis, architecture docs, and code/docs/ADR drift reports.
SkillAFreshness: AClaude Code +9 - 0.561score
design-system-extractor
Mesteriis
Extracts tokens, typography, spacing, component states, assets, layout, responsive rules, and interactions from a UI reference.
SkillAFreshness: AClaude Code +9 - 0.561score
authz-boundary-review
Mesteriis
Reviews authorization, tenant isolation, roles, ownership, row access, admin boundaries, sharing, and privilege escalation.
SkillAFreshness: AClaude Code +9 - 0.561score
agent-retrospective
Mesteriis
Analyzes repeated agent failures or noisy routing and proposes evidence-backed changes to instructions, skills, gates, or runbooks.
SkillAFreshness: AClaude Code +9 - 0.561score
agent-squad
Mesteriis
Plans parallel agents or worktrees with isolated ownership, validation lanes, and merge rules.
SkillAFreshness: AClaude Code +9 - 0.561score
accessibility-ui-review
Mesteriis
Reviews UI accessibility: keyboard, focus, semantics, labels, contrast, motion, forms, dialogs, tables, and screen readers.
SkillAFreshness: AClaude Code +9 - 0.561score
architecture-principles
Mesteriis
Guides module boundaries, dependency direction, and domain structure.
SkillAFreshness: AClaude Code +9 - 0.558score
dependency-advisory-audit
Mesteriis
Triages CVEs and advisories for affected versions, reachability, exploitability, upgrades, and validation.
SkillAFreshness: AClaude Code +9 - 0.558score
code-to-figma
Mesteriis
Routes code-to-Figma work to original native Code Connect or design-generation skills with owner scope rules.
SkillAFreshness: AClaude Code +9 - 0.558score
core-engineering
Mesteriis
General implementation only when no narrower task or ecosystem skill fits.
SkillAFreshness: AClaude Code +9 - 0.558score
deserialization-parser-review
Mesteriis
Reviews parsers, deserialization, uploads, archives, YAML/JSON/XML/pickle, paths, templates, SSRF, and unsafe loaders.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jul 10, 2026 (3 months ago)
- Last release
- Oct 3, 2026 (26 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Mesteriis
- 0.591score
TG multi-account MCP
Mesteriis
Self-hosted, consent-based access to Telegram accounts and bots for MCP clients
ConnectorAFreshness: ARemote↓ 76/wk - 0.567score
architecture-normalizer
Mesteriis
Decomposes large modules, god files, classes, or packages in reviewable steps while preserving public APIs.
SkillAFreshness: AClaude Code +9 - 0.564score
code-wiki-ru
Mesteriis
Builds and validates Russian Obsidian repository wikis, architecture docs, and code/docs/ADR drift reports.
SkillAFreshness: AClaude Code +9 - 0.561score
agent-retrospective
Mesteriis
Analyzes repeated agent failures or noisy routing and proposes evidence-backed changes to instructions, skills, gates, or runbooks.
SkillAFreshness: AClaude Code +9 - 0.561score
authz-boundary-review
Mesteriis
Reviews authorization, tenant isolation, roles, ownership, row access, admin boundaries, sharing, and privilege escalation.
SkillAFreshness: AClaude Code +9 - 0.561score
agent-squad
Mesteriis
Plans parallel agents or worktrees with isolated ownership, validation lanes, and merge rules.
SkillAFreshness: AClaude Code +9
Cite this page
code-quality skill. Agent Mart. https://agentmart.dev/skills/mesteriis-code-quality (last updated 2026-10-24)