eino
Eino LLM/AI application development framework assistant (Golang). Use when the user needs to: (1) Build AI agents, (2) Create LLM…
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
Claude Code
$ npx -y skills add fanqingxuan/awesome-skills --skill code-simplifier --agent claude-code
Codex
$ npx skills add fanqingxuan/awesome-skills --skill code-simplifier -a codex -y
Cursor
$ npx skills add fanqingxuan/awesome-skills --skill code-simplifier -a cursor -y
Gemini CLI
$ npx skills add fanqingxuan/awesome-skills --skill code-simplifier -a gemini-cli -y
GitHub Copilot
$ npx skills add fanqingxuan/awesome-skills --skill code-simplifier -a github-copilot -y
OpenCode
$ npx skills add fanqingxuan/awesome-skills --skill code-simplifier -a opencode -y
Windsurf
$ npx skills add fanqingxuan/awesome-skills --skill code-simplifier -a windsurf -y
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…
GORM (Go ORM) development assistant. Use when the user needs to: (1) Create GORM models, (2) Define database schemas, (3) Perform…
Hyperf 3.1 framework development assistant. Use when the user needs to: (1) Create Hyperf controllers, (2) Create Hyperf models,…
Laravel 12 framework development assistant. Use when the user needs to: (1) Create Laravel controllers, (2) Create Laravel…
Webman framework development assistant. Use when the user needs to: (1) Create Webman controllers, (2) Create Webman models, (3)…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.