Sub-skill of code-reviewer: Code Smells (+1).
Scanned 9/9/2026
Install to Claude Code
npx -y skills add vamseeachanta/workspace-hub --skill code-smells --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Code Smells?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/vamseeachanta-code-smells)More formats (shields.io, HTML) on the badges page.
---
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 |
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Java Spring Boot 服务中关于身份验证/授权、验证、CSRF、密钥、标头、速率限制和依赖安全的 Spring Security 最佳实践。