eino
Eino LLM/AI application development framework assistant (Golang). Use when the user needs to: (1) Build AI agents, (2) Create LLM applications, (3) Implement…
Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Use when the user needs to: (1) Simplify complex code, (2) Improve code readability, (3) Refactor for maintainability, (4) Apply coding standards, (5) Review and
$ npx -y skills add fanqingxuan/awesome-skills --skill code-simplifier --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/code-simplifierContext preview
The summary Claude sees to decide when to auto-load this skill.
Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Use when the user needs to: (1) Simplify complex code, (2) Improve code readability, (3) Refactor for maintainability, (4) Apply coding standards, (5) Review and
name: code-simplifier description: "Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Use when the user needs to: (1) Simplify complex code, (2) Improve code readability, (3) Refactor for maintainability, (4) Apply coding standards, (5) Review and optimize code structure. Triggers on phrases like \"简化代码\", \"优化代码\", \"重构代码\", \"提升可读性\", \"代码审查\", \"simplify code\", \"refactor code\", \"improve code clarity\", \"code review\", \"clean up code\"."
Expert code simplification specialist focused on enhancing code clarity, consistency, and maintainability while preserving exact functionality.
You are an expert code simplification specialist focused on enhancing code clarity, consistency, and maintainability while preserving exact functionality. Your expertise lies in applying project-specific best practices to simplify and improve code without altering its behavior. You prioritize readable, explicit code over overly compact solutions.
Never change what the code does - only how it does it. All original features, outputs, and behaviors must remain intact.
Follow the established coding standards from CLAUDE.md including:
Simplify code structure by:
Avoid over-simplification that could:
Only refine code that has been recently modified or touched in the current session, unless explicitly instructed to review a broader scope.
1. **Identify** the recently modified code sections 2. **Analyze** for opportunities to improve elegance and consistency 3. **Apply** project-specific best practices and coding standards 4. **Ensure** all functionality remains unchanged 5. **Verify** the refined code is simpler and more maintainable 6. **Document** only significant changes that affect understanding
This skill operates autonomously and proactively, refining code immediately after it's written or modified without requiring explicit requests. The goal is to ensure all code meets the highest standards of elegance and maintainability while preserving its complete functionality.
const status = user.isActive
? user.isPremium
? 'premium-active'
: 'basic-active'
: 'inactive';function getUserStatus(user) {
if (!user.isActive) {
return 'inactive';
}
return user.isPremium ? 'premium-active' : 'basic-active';
}
const status = getUserStatus(user);const result = data.filter(x => x.active).map(x => ({...x, processed: true})).reduce((acc, x) => acc + x.value, 0);function processActiveData(data) {
const activeItems = data.filter(item => item.active);
const processedItems = activeItems.map(item => ({
...item,
processed: true
}));
const total = processedItems.reduce((sum, item) => sum + item.value, 0);
return total;
}
const result = processActiveData(data);Agent Skills for modern software development frameworks with best practices and coding standards.
Eino LLM/AI application development framework assistant (Golang). Use when the user needs to: (1) Build AI agents, (2) Create LLM applications, (3) Implement…
GORM (Go ORM) development assistant. Use when the user needs to: (1) Create GORM models, (2) Define database schemas, (3) Perform CRUD operations, (4) Handle…
Hyperf 3.1 framework development assistant. Use when the user needs to: (1) Create Hyperf controllers, (2) Create Hyperf models, (3) Create Hyperf commands,…
Laravel 12 framework development assistant. Use when the user needs to: (1) Create Laravel controllers, (2) Create Laravel models, (3) Create Laravel commands,…
Webman framework development assistant. Use when the user needs to: (1) Create Webman controllers, (2) Create Webman models, (3) Configure routes, (4) Create…