← ClaudeAtlas

review-cleancodelisted

Review code for clean-code principles — SOLID, DRY, YAGNI, KISS, code smells. Triggers "review clean code", "check DRY/SOLID", "code smells".
nielsmadan/skills · ★ 0 · Code & Development · score 75
Install: claude install-skill nielsmadan/skills
<!-- Generated from https://github.com/nielsmadan/agentic-coding — edits here are overwritten. --> # Review Clean Code Language-agnostic clean code review covering SOLID, DRY, YAGNI, KISS, design principles, and code smells. ## Usage ``` /review-cleancode # Review context-related code /review-cleancode --staged # Review staged changes /review-cleancode --unpushed # Review files changed across all unpushed commits /review-cleancode --changed # Review unstaged changes /review-cleancode --all # Full codebase audit (parallel agents) /review-cleancode --multi # Also get external advisor opinions ``` ## Scope | Flag | Scope | Method | |------|-------|--------| | (none) | Context-related code | Files from the current conversation context. If no context, ask the user to specify files or use `--staged`/`--changed`/`--all`. | | `--staged` | Staged changes | `git diff --cached --name-only` | | `--unpushed` | Files changed across unpushed commits | `git diff --name-only $(git rev-list HEAD --not --remotes \| tail -1)^..HEAD` | | `--changed` | Unstaged changes | `git diff --name-only` | | `--all` | Full codebase | Glob source files, parallel agents | | `--multi` | Add external opinions | Combines with any scope above; invokes `second-opinion --quick` | `--unpushed` derives its range from `git rev-list HEAD --not --remotes` (oldest unpushed commit's parent → HEAD). If nothing is unpushed, or there is no remote/upstream (or th