By btseee
Language-agnostic clean-code skill for AI agents working across programming languages, frameworks, tests, reviews, and refactors.
Install-ready clean-code guidance for AI coding agents.
This repo packages one language-agnostic clean-code skill plus companion files for Claude Code, Codex-style agents, Gemini, GitHub Copilot, Cursor, and generic agent harnesses. The guidance covers meaningful names, focused functions, cohesive modules, clear tests, explicit boundaries, honest error handling, safe concurrency, incremental refactoring, and verified completion.
| Target | File |
|---|---|
| Agent Skill | skills/clean-code/SKILL.md |
| Deep chapter map | skills/clean-code/references/chapter-map.md |
| Claude Code plugin | .claude-plugin/plugin.json, .claude-plugin/marketplace.json |
| Codex-style plugin | .codex-plugin/plugin.json |
| Claude instructions | CLAUDE.md |
| Gemini instructions | GEMINI.md |
| Generic agent instructions | AGENTS.md |
| GitHub Copilot instructions | .github/copilot-instructions.md, .github/instructions/clean-code.instructions.md |
| Cursor rule | .cursor/rules/clean-code.mdc |
| Framework guide | FRAMEWORKS.md |
| Examples | EXAMPLES.md |
/plugin marketplace add btseee/clean-code-skills
/plugin install clean-code-skills@clean-code-skills
Install every supported agent file into another project:
bash scripts/install.sh --target /path/to/project all
Install only selected targets:
bash scripts/install.sh --target /path/to/project claude cursor copilot skill
The installer will not overwrite existing files unless you pass --force.
CLAUDE.md.GEMINI.md.AGENTS.md..cursor/rules/clean-code.mdc..github/copilot-instructions.md and .github/instructions/clean-code.instructions.md.skills/clean-code/ into the target skill directory.Make the repo public at https://github.com/btseee/clean-code-skills, then run:
bash scripts/validate.sh
git tag v1.0.0
git push origin main --tags
Recommended GitHub topics: clean-code, agent-skills, claude-code, codex, cursor, github-copilot, ai-agents, code-review, refactoring.
| Platform | Status | How to share |
|---|---|---|
| Claude Code | Ready | Users add this repo as a plugin marketplace and install clean-code-skills@clean-code-skills. |
| Codex-style agents | Manifest ready | Share the GitHub URL and .codex-plugin/plugin.json; call it "Codex-ready" unless accepted into a specific registry. |
| Cursor | Rule ready | Share the project-rule install. A marketplace listing requires a separate Cursor or VS Code extension package. |
| GitHub Copilot | Repo install ready | Users install copilot skill; for discovery, submit to a Copilot resource catalog such as github/awesome-copilot if it accepts external plugins. |
Agents using this skill should:
Clean code is not one language's style guide. Go should remain idiomatic Go, Rust should use ownership and types, SQL should stay set-oriented, React should keep rendering predictable, and shell scripts should stay boring and explicit.
Use this skill for writing, fixing, refactoring, reviewing, testing, and designing code across languages, frameworks, scripts, queries, components, jobs, APIs, infrastructure, and libraries.
Do not use it to justify broad rewrites, personal style churn, new dependencies, or framework swaps without a task-specific reason and verification plan.
The local clean-code.pdf was used as study material, but this repo does not redistribute or copy that text. The chapter map is an original, agent-oriented synthesis of the 17-chapter structure, concurrency appendix, legacy refactoring appendix, and heuristic cross-reference appendix.
bash scripts/validate.sh
The validator checks required files, skill front matter, plugin JSON, shell syntax, installer output, LF line endings, and final newlines.
MIT. See LICENSE.
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.
npx claudepluginhub btseee/clean-code-skills --plugin clean-code-skillsComprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Develop, test, build, and deploy Godot 4.x games with Claude Code. Includes GdUnit4 testing, web/desktop exports, CI/CD pipelines, and deployment to Vercel/GitHub Pages/itch.io.
Feature development with code-architect/explorer/reviewer agents, CLAUDE.md audit and session learnings, and Agent Skills creation with eval benchmarking from Anthropic.
Access thousands of AI prompts and skills directly in your AI coding assistant. Search prompts, discover skills, save your own, and improve prompts with AI.
Comprehensive feature development workflow with specialized agents for codebase exploration, architecture design, and quality review
Design fluency for frontend development. 1 skill with 23 commands (/impeccable polish, /impeccable audit, /impeccable critique, etc.) and curated anti-pattern detection.