Agent skill

Clean Code Reviewer

by aiskillstore in aiskillstore/marketplace

Analyze code quality based on "Clean Code" principles. An agent skill from aiskillstore/marketplace.

No licenceAuto-check passedDevelopment

Install Clean Code Reviewer

skills CLI
$ npx skills add aiskillstore/marketplace --skill clean-code-reviewer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aiskillstore/marketplace clean-code-reviewer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aiskillstore/marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/hylarucoder/clean-code-reviewer .claude/skills/clean-code-reviewer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
clean-code-reviewer
GitHub stars
430
Token cost
~839 tokens
SKILL.md length
142 words
Files
5 (incl. references)
Skills in repo
1,108
Repo updated
First seen
Licence
None found

At a glance

Analyze code quality based on "Clean Code" principles. An agent skill from aiskillstore/marketplace.

  • Works in 7 steps: 命名问题【有意义的命名】 → 函数问题【函数短小 + SRP】 → 重复问题【DRY】 → …
  • The user requests code review
  • SKILL.md covers Review Workflow, 核心原则:功能保留, Check Dimensions and Severity Levels, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Clean Code Reviewer is an agent skill from aiskillstore/marketplace. Analyze code quality based on "Clean Code" principles. Identify naming, function size, duplication, over-engineering, and magic number issues with severity ratings and refactoring suggestions. Use when the user requests code review, quality check, refactoring advice, Clean Code analysis, code smell detection, or mentions terms like 代码体检, 代码质量, 重构检查.

Its SKILL.md is about 840 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `evaluation-output.json`, `references/detailed-examples.md` and `references/language-patterns.md`).

It sits in Development, covering Code quality and Refactoring. The repository describes itself as: Security-audited skills for Claude, Codex & Claude Code. One-click install, quality verified.

When your agent uses it

  • The user requests code review
  • Refactoring advice
  • Clean Code analysis
  • Code smell detection

Example prompts

  • “Clean Code”
  • “/clean-code-reviewer”

Requirements

  • Python 3

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. 命名问题【有意义的命名】
  2. 函数问题【函数短小 + SRP】
  3. 重复问题【DRY】
  4. 过度设计【YAGNI】
  5. 魔法数字【避免硬编码】
  6. 结构清晰度【可读性优先】
  7. 项目规范【一致性】

What it can do on your machine

Read from SKILL.md and the folder at commit ad8daf7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript and markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Clean Code Reviewer loads about 839 tokens when it runs, and up to ~3.4k if it reads all its reference files. Until then it costs about 93 tokens; SKILL.md has 142 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~93
When it runs · the whole SKILL.md, loaded when a task matches
~839
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 142 words (~839 tokens).

name
clean-code-reviewer

Read the full SKILL.md on GitHub

Files

SKILL.md and 4 other files (references) in skills/hylarucoder/clean-code-reviewer of aiskillstore/marketplace.

  • SKILL.md
  • evaluation-output.json
  • references/detailed-examples.md
  • references/language-patterns.md
  • skill-report.json

Open the folder on GitHubat commit ad8daf7

Compare with similar skills

Clean Code Reviewer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Clean Code Reviewer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Clean Code Reviewer this skillaiskillstore/marketplace430—~839Automated safety check: PassNone
Systematic Code Refactoringluongnv89/claude-howto42k—~3kAutomated safety check: PassMIT
Ponytail Lazy Developer ModeDietrichGebert/ponytail158k—~871Automated safety check: PassMIT
Dignified Python Standardsdocling-project/docling69k—~1.5kAutomated safety check: PassApache-2.0
Clean Code GuardamElnagdy/guard-skills1.3k2 repos~4.3kAutomated safety check: PassMIT
Code Refactoring Workflowluongnv89/claude-howto42k—~3.1kAutomated safety check: PassMIT

Similar skills

  • Systematic Code Refactoring

    luongnv89/claude-howto

    Guides refactoring in phases based on Martin Fowler's method: research, test coverage check, planning and small tested steps, with your approval at each phase.

    42k GitHub stars~3k tokensUpdated 8 days ago
    DevelopmentAuto-check passed
  • Ponytail Lazy Developer Mode

    DietrichGebert/ponytail

    Makes the agent pick the laziest solution that works: skip unneeded work, reuse what exists, prefer the standard library and platform features, and keep diffs small.

    158k GitHub stars~871 tokensUpdated today
    DevelopmentAuto-check passed
  • Dignified Python Standards

    docling-project/docling

    Applies opinionated production Python conventions chosen by the project's Python version: modern type syntax, pathlib, explicit checks and interface guidance.

    69k GitHub stars~1.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Clean Code Guard

    amElnagdy/guard-skills

    Reviews generated or changed production code against Clean Code, SOLID, DRY, KISS, YAGNI and LLM-specific failure modes before it ships, in any language.

    1.3k GitHub starsUsed in 2 repos~4.3k tokens
    DevelopmentAuto-check passed
  • Code Refactoring Workflow

    luongnv89/claude-howto

    Guides systematic, test-backed refactoring in the style of Martin Fowler, moving through research, planning and small incremental changes with your approval at each phase.

    42k GitHub stars~3.1k tokensUpdated 8 days ago
    DevelopmentAuto-check passed
  • A code-change gate for the iPolloWork repository: search and reuse first, keep one source of truth, justify every new file or dependency, and audit the change.

    6.8k GitHub stars~2.7k tokensUpdated today
    DevelopmentAuto-check passed

More from aiskillstore/marketplace

All 1,108 skills in this repo
  • Code Stats

    aiskillstore/marketplace

    Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs).

    430 GitHub starsUsed in 2 repos~697 tokens
    Auto-check: notes
  • File Search

    aiskillstore/marketplace

    Modern file and content search using fd, ripgrep (rg), and fzf.

    430 GitHub starsUsed in 2 repos~598 tokens
    Auto-check: notes
  • Data Processing

    aiskillstore/marketplace

    Process JSON with jq and YAML/TOML with yq. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 1 repo~720 tokens
    Auto-check: notes
  • Doc Scanner

    aiskillstore/marketplace

    Scans for project documentation files (AGENTS.md, CLAUDE.md, GEMINI.md, COPILOT.md, CURSOR.md, WARP.md, and 15+ other formats) and synthesizes guidance.

    430 GitHub starsUsed in 1 repo~644 tokens
    Auto-check: notes
  • Find Replace

    aiskillstore/marketplace

    Modern find-and-replace using sd (simpler than sed) and batch replacement patterns.

    430 GitHub starsUsed in 1 repo~527 tokens
    Auto-check: notes
  • Investigating Codebases

    aiskillstore/marketplace

    Automatically activated when user asks how something works, wants to understand unfamiliar code, needs to explore a new codebase, or asks questions like "where is X implemented?", "how does Y…

    430 GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check: notes

Categories

Questions about Clean Code Reviewer

What does Clean Code Reviewer do?

Analyze code quality based on "Clean Code" principles. An agent skill from aiskillstore/marketplace. Clean Code Reviewer is an agent skill from aiskillstore/marketplace. Analyze code quality based on "Clean Code" principles.

When should I use Clean Code Reviewer?

Clean Code Reviewer fits situations like: the user requests code review; refactoring advice; clean Code analysis; code smell detection.

How do I install Clean Code Reviewer in Claude Code?

Run `npx skills add aiskillstore/marketplace --skill clean-code-reviewer -a claude-code`. Or copy the skill folder (skills/hylarucoder/clean-code-reviewer in aiskillstore/marketplace) into .claude/skills/clean-code-reviewer in your project. Claude Code loads it when a task matches its description.

How do I install Clean Code Reviewer in Codex?

Run `npx skills add aiskillstore/marketplace --skill clean-code-reviewer -a codex`. Or copy the skill folder (skills/hylarucoder/clean-code-reviewer in aiskillstore/marketplace) into .agents/skills/clean-code-reviewer in your project. Codex loads it when a task matches its description.

Can I use Clean Code Reviewer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aiskillstore/marketplace --skill clean-code-reviewer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/clean-code-reviewer, .gemini/skills/clean-code-reviewer, .github/skills/clean-code-reviewer and .opencode/skills/clean-code-reviewer in your project.

What does Clean Code Reviewer need to run?

SKILL.md names no scripts, command-line tools or credentials: Clean Code Reviewer is instructions for the agent only. Our summary lists: Python 3.

Does Clean Code Reviewer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Clean Code Reviewer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Clean Code Reviewer use?

No licence was found for Clean Code Reviewer or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Clean Code Reviewer use?

About 839 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.5k tokens, read only when the agent opens those files.

What are the alternatives to Clean Code Reviewer?

Skills that share tags, products or a category with Clean Code Reviewer: Systematic Code Refactoring (luongnv89/claude-howto, 42k stars), Ponytail Lazy Developer Mode (DietrichGebert/ponytail, 158k stars), Dignified Python Standards (docling-project/docling, 69k stars) and Clean Code Guard (amElnagdy/guard-skills, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Clean Code Reviewer?

aiskillstore (a GitHub organization) maintains it in aiskillstore/marketplace, which has 430 GitHub stars. The repository holds 1,108 skills in this directory. The repository was last updated on October 7, 2026.

Source: aiskillstore/marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.