Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By btseeev4.0.0MITIn 1 marketplace
Makes your coding agent apply Clean Code and clean architecture rules when it writes, reviews or refactors code. Keeps your project's conventions and cleanup progress in a .clean/ folder between sessions.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Clean code and clean architecture for AI coding agents: one skill, rule packs for 21 languages and
27 frameworks, and a structure map that shows where every function and class lives and whether it
belongs there. Works with Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline,
and any tool that reads Agent Skills or AGENTS.md.
Coding agents rarely fail at syntax. They fail by:
This skill makes an agent load the project's context first, apply the rules of Clean Code and Clean Architecture for its exact stack, and prove what it claims.
Run inside your project. Linux, macOS, Git Bash:
curl -fsSL https://raw.githubusercontent.com/btseee/clean-code-skills/main/scripts/remote-install.sh | bash -s -- all
Windows PowerShell:
& ([scriptblock]::Create((irm https://raw.githubusercontent.com/btseee/clean-code-skills/main/scripts/remote-install.ps1))) all
Replace all with the agents you use, such as claude cursor copilot. As a Claude Code plugin:
/plugin marketplace add btseee/clean-code-skills, then
/plugin install clean-code-skills@clean-code-skills. The skill alone:
npx skills add btseee/clean-code-skills --skill clean-code. Every host, global installs, updating,
and uninstalling: docs/install.md.
Agents pick the skill up by themselves when you ask for coding work. Seven commands cover the
rest — /clean-code <command> in Claude Code, or plain language anywhere:
| Command | What happens |
|---|---|
init | Detects your stack and its packs, asks a few questions, and maps the structure into .clean/. Run it once. |
audit | Reviews every file, fills .clean/, and reports findings first. Changes no code. |
clean-up | Works through the audit's findings in small, verified batches. |
new-project <description> | Designs a new project before any code is written. |
plan <task> | Writes a plan before touching code: what exists, what's verified, the risk level. Edits nothing. |
review [files] | Reviews the current change against the checklist and agent smells A1-A10. Edits nothing. |
compress [files] | Rewrites a project's instruction files tersely, with a backup and a loss check. |
Then just ask:
Add rate limiting to the login endpoint. Keep the change surgical and tell me what you did not run.
Where does this currency formatter belong? Follow the project's conventions.
Review my diff. Findings first, with smell IDs.
.clean/ keeps the stack, the declared layers, past decisions, and
cleanup progress, so a new session resumes instead of guessing.$ python .claude/skills/clean-code/scripts/map_structure.py --path src/services
Findings : misplaced 1, mixed 0, duplicates 0, name clashes 0, synonyms 1, cycles 0, names 0, families 0, junk drawers 0, flat folders 0, unreferenced 0, comment-heavy 0 (under src/services)
7-day copy clicks
npx claudepluginhub btseee/clean-code-skills --plugin clean-code-skillsPlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.