By DinoQuinten
Clean code assistant — every command defaults to whole-codebase scope (narrow with a path). 15 plain-language rules (including a dynamic folder-structure rule with cross-folder restructure auto-fix), auto-fix for silent errors, method chains, messy tests, long functions, plus codebase-aware folder restructuring (frontend + backend) with import rewrites and git-aware history preservation.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
This skill should be used when the user asks to "analyze this file", "check this code", "scan for violations", "find clean code issues", "review code quality", "check file length", "audit this project", "what's wrong with this code", or when a file looks messy or overly long. Scans files for clean code violations and outputs a grouped report of critical issues, warnings, and style suggestions.
This skill should be used when the user asks to "fix everything", "fix all violations", "clean this up", "auto-fix", "apply all fixes", "clean my code", "fix the whole project", or wants a one-shot fixer that runs every cleancode fixer in order across the codebase. Orchestrates analyze + each fixer skill (safety, untangle, test, refactor) in severity order across every source file, produces a full project-wide plan, asks for confirmation, and applies fixes.
This skill should be used when the user asks for "project health", "code health", "clean code score", "cleanliness score", "how bad is my code", "show metrics", "code quality dashboard", or wants a top-level view of the codebase's cleanliness. Produces a read-only dashboard of violation counts, worst offenders, and a 0-100 cleanliness score. Read-only by design — for fixing, use the specific skills.
This skill should be used when the user asks to "set up clean code rules", "initialize clean code", "init cleancode", "add clean code to this project", "set up code standards", "configure clean code rules", or when a new project is opened and no .cleancode-rules.md file exists. Generates the canonical ruleset and platform config files so all AI assistants follow clean code throughout the project.
This skill should be used when the user asks to "refactor this file", "clean up this code", "extract this function", "break this function apart", "pull this out into a method", "simplify this switch", "turn this into a table", "inline this", "replace magic number", or mentions a specific refactoring by name. Applies one named, surgical refactoring from the textbook catalog (Extract Method, Table-Driven, Replace Conditional with Polymorphism, etc.) and shows exactly what changed.
A multi-plugin Claude Code marketplace. Each plugin ships independently and is versioned on its own cadence.
| Plugin | Version | What it does |
|---|---|---|
cleancode | v0.3.2 | 15 plain-language clean-code rules with auto-fix for silent errors, method chains, messy tests, long functions, folder structure, and more |
sdd (system-and-database-design) | v0.2.0 | Architect and database-design coach grounded in DDIA, Fundamentals of Software Architecture, and Kimball's Data Warehouse Toolkit — produces design docs, Mermaid / Excalidraw / DBML diagrams, and architecture reviews |
From Claude Code, add the marketplace once:
/plugin marketplace add DinoQuinten/claude-plugins
Then install either (or both) plugins:
/plugin install cleancode@dinoquinten-plugins
/plugin install sdd@dinoquinten-plugins
For Codex CLI users, install the downstream rule packs directly in a project:
npx cleancode-codex init
npx sdd-codex init
cleancodeA Claude Code plugin that enforces clean code principles across your entire project and actually fixes the code for you — not just reports what's wrong. Locks in the same rules for Claude Code, Cursor, and Codex so every AI assistant follows the same standards from the first session onward.
Plain language first. Every rule is written so anyone — not just senior engineers — can follow it. The formal textbook name is in parentheses so experts still recognize it: "Don't Reach Through Objects (Law of Demeter)", "Check Inputs Early, Never Hide Errors (Fail Fast)".
Based on: Clean Code: A Handbook of Agile Software Craftsmanship (Robert C. Martin), Code Complete 2nd Ed. (McConnell), The Art of Clean Code (Mayer), OOP vs. Functional Programming.
15 plain-language rules, 13 skills, 1 background reviewer, and 2 hooks.
| Skill | Command | What it does |
|---|---|---|
| Init | /cleancode:init | Sets up clean code rules for your project — generates .cleancode-rules.md, CLAUDE.md, .cursorrules, AGENTS.md |
| Analyze | /cleancode:analyze [file] | Scans code for violations — file length, function length, nesting, naming, missing interfaces |
| Rewrite | /cleancode:rewrite [file] | Produces a clean version of messy code, preserving all behavior |
| Teach | /cleancode:teach [rule] | Explains any clean code principle with a book citation and example |
| Setup Platform | /cleancode:setup [cursor|codex|all] | Writes platform-native config files from .cleancode-rules.md |
| Refactor | /cleancode:refactor [file] [name] | Applies one named refactoring (Extract Function, Replace Switch with Table, Guard Clauses, Strategy, …) |
| Test | /cleancode:test [file] [fix] | Flags tests missing Arrange / Act / Assert, bad names, multi-assertion bodies; fix rewrites them |
| Untangle | /cleancode:untangle [file] [fix] | Finds a.b().c().d() chains and god-class imports; fix introduces helper methods |
| Safety | /cleancode:safety [file] [fix] | Finds empty catches, missing guards, division without zero-check; fix adds guard clauses and surfaces errors |
| Structure | /cleancode:structure [file] [fix] | Suggests Strategy / Command / Factory / State patterns when they'd help; fix applies them |
| Todo | /cleancode:todo [scan|add|list|close] | Tracks known clean-code issues in .cleancode-todo.md at project root |
| Health | /cleancode:health [save] | Project-wide dashboard with a Cleanliness Score out of 100 — read only |
| Fix | /cleancode:fix [file] [critical-only|all] | One-shot: runs analyze, then delegates to each fixer skill in severity order |
Auto-runs on every project open — the SessionStart hook checks for .cleancode-rules.md and prompts to initialize if missing.
Background reviewer — the cleancode-reviewer agent silently checks all code Claude writes and appends non-blocking suggestions.
Report or fix, your choice. Every detection skill defaults to a report. Add fix to apply changes. The reviewer agent stays read-only — nothing is ever rewritten without an explicit /cleancode:* command.
Also available for Codex CLI. The same 15 rules ship as a Codex CLI installer — run npx cleancode-codex init in any project to write AGENTS.md and .cleancode-rules.md. See codex/README.md.
Full details, rule list, language support, and troubleshooting live in the plugin's own docs at tag cleancode/v0.3.2.
sdd (system-and-database-design)Installed as sdd@dinoquinten-plugins; all commands use the /sdd: prefix. Folder name and full descriptive title remain system-and-database-design — only the plugin namespace is shortened.
npx claudepluginhub dinoquinten/claude-plugins --plugin cleancodesystem-and-database-design — architect and database-design coach. Grounds Claude in Designing Data-Intensive Applications, Fundamentals of Software Architecture, and Kimball's Data Warehouse Toolkit, and produces design docs, Mermaid / Excalidraw / DBML diagrams, and architecture reviews.
UI/UX design coach — grounds Claude in Refactoring UI, Don't Make Me Think, Designing Interfaces (Tidwell), UX for Beginners, The Mom Test, Change by Design, Interaction of Color, Colour and Light, and WCAG 2.2. Produces design critiques, component specs, accessibility audits, Tidwell pattern recommendations, color-system palettes, and Mom-Test-style user-research interview plans.
Modern R development skills for Claude Code - tidyverse patterns, rlang metaprogramming, Bayesian inference, performance optimization, and more
Complete collection of battle-tested Claude Code configs from an Anthropic hackathon winner - agents, skills, hooks, and rules evolved over 10+ months of intensive daily use
Comprehensive SEO analysis plugin for Claude Code. 25 sub-skills (21 core + 1 orchestrator + 1 framework + 2 extension mirrors) and 18 sub-agents cover technical SEO, content quality, schema, sitemaps, Core Web Vitals, local SEO, backlinks, AI/GEO, ecommerce, hreflang, SXO, clustering, drift monitoring, and Google APIs. Includes optional MCP extensions, SPA-aware rendering, portability, and hardened SSRF/DNS-rebinding safe fetchers.
Unity Development Toolkit - Expert agents for scripting/refactoring/optimization, script templates, and Agent Skills for Unity C# development
Comprehensive .NET development skills for modern C#, ASP.NET, MAUI, Blazor, Aspire, EF Core, Native AOT, testing, security, performance optimization, CI/CD, and cloud-native applications
Complete creative writing suite with 10 specialized agents covering the full writing process: research gathering, character development, story architecture, world-building, dialogue coaching, editing/review, outlining, content strategy, believability auditing, and prose style/voice analysis. Includes genre-specific guides, templates, and quality checklists.