# Code Reviewer Code Smells

> Sub-skill of code-reviewer: Code Smells (+1).

- Skill: `vamseeachanta/code-reviewer-code-smells` (Agent Skill)
- Install (CLI): `npx skillmds@latest add vamseeachanta/code-reviewer-code-smells`
- Raw SKILL.md: https://api.skillmd.com/api/skills/vamseeachanta/code-reviewer-code-smells/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: vamseeachanta (https://skillmd.com/u/vamseeachanta)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/vamseeachanta/code-reviewer-code-smells

---


# Code Smells (+1)

## Code Smells


| Pattern | Problem | Solution |
|---------|---------|----------|
| God Object | Class does too much | Split responsibilities |
| Feature Envy | Method uses other class more | Move to appropriate class |
| Long Method | Hard to understand | Extract smaller methods |
| Magic Numbers | Unclear meaning | Use named constants |
| Deep Nesting | Hard to follow | Early returns, extraction |

## Security Issues


| Pattern | Problem | Solution |
|---------|---------|----------|
| SQL Concat | Injection risk | Parameterized queries |
| Eval Usage | Code injection | Safe alternatives |
| Weak Crypto | Breakable encryption | Strong algorithms |
| CORS * | Access control bypass | Specific origins |
| Console Secrets | Credential exposure | Remove before commit |

