Back to skills
SKILL.md
Code Smells
ASecuritySub-skill of code-reviewer: Code Smells (+1).
- 17 stars
- 0 votes
- 0 copies
- 0 views
- Added September 9, 2026
Security analysis
100/100npx -y skills add vamseeachanta/workspace-hub --skill code-smells --agent claude-codeAre you the author of Code Smells?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/vamseeachanta-code-smells)---
name: code-reviewer-code-smells
description: 'Sub-skill of code-reviewer: Code Smells (+1).'
version: 1.0.0
category: development
type: reference
scripts_exempt: true
---
# 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 |
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.