Code Reviewer Code Smells

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

vamseeachanta 3e6b40d 898 B Updated

File contents

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

vamseeachanta/workspace-hub/tree/main/.agents/skills/_archive/development/code-reviewer/code-smells commit 3e6b40d402

Frequently asked questions

npx skillmds@latest add vamseeachanta/code-reviewer-code-smells