Code style principle-based review - checks SRP (Single Responsibility Principle), DRY (Don't Repeat Yourself), Simplicity First, YAGNI (You Aren't Gonna Need It), and Type Safety. Also evaluates code structure and naming conventions. Automatically used when code review is needed.
Automatically performs code reviews when files are analyzed, checking against 5 core principles: SRP, DRY, Simplicity First, YAGNI, and Type Safety. Generates detailed reports with specific improvement suggestions and code examples for each issue found.
/plugin marketplace add devstefancho/claude-plugins/plugin install code-style-plugin@devstefancho-claude-pluginsThis skill is limited to using the following tools:
EXAMPLES.mdPRINCIPLES.mdA skill that provides professional code review based on code style principles. Claude directly analyzes code and generates detailed reports focusing on 5 core principles.
Classes, functions, and modules should have only one responsibility. Complex functions should be split into smaller functions.
The same logic should not be repeated. Common logic should be extracted into separate functions or utilities.
Prefer simple, easy-to-understand code over complex abstractions. Avoid over-engineering.
Do not add features that are not currently needed. Remove unnecessary code written for future use.
Minimize the use of any type. When using TypeScript, define clear types.
Identify Target Files
Principle-by-Principle Analysis
Generate Detailed Report
Provide Code Examples
any type used?interface and type used appropriately?See EXAMPLES.md for detailed examples and patterns See PRINCIPLES.md for detailed principle explanations
# Code Style Review Report
## 📄 File: [filename]
### ✅ Good Points
- [Good practices]
### ⚠️ Critical Issues
**Issue 1: [Title]**
- Location: [Line or function name]
- Principle: [Applicable principle]
- Description: [Detailed explanation]
- How to improve:
// Before [Current code]
// After [Improved code]
### 📢 Warnings
[Warning-level issues]
### 💡 Suggestions
[Suggestion-level improvements]
## 📊 Overall Assessment
- Overall code quality score: [X/10]
- Most important improvements: [Top 3]
This skill is automatically used in the following situations:
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.