重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
npx skills add https://github.com/aktsmm/agent-skills --skill code-simplifier一份关于在保持功能不变的前提下简化和优化代码的指南。
绝不改变代码的功能——只改变其实现方式。
遵循项目配置中已建立的编码标准(CLAUDE.md、.editorconfig、ESLint 等):
通过以下方式简化代码结构:
关键规则:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
避免可能导致以下情况的过度简化:
除非明确指示审查更广泛的范围,否则只优化最近修改或接触过的代码。
1. 识别最近修改的代码部分
2. 分析改进优雅性和一致性的机会
3. 应用项目特定的最佳实践和编码标准
4. 确保所有功能保持不变
5. 验证优化后的代码更简单、更易维护
6. 仅记录影响理解的重要变更
常见模式请参阅 references/refactoring-patterns.md。
提交重构后的代码前:
触发短语:
工作流程:
每周安装量
44
代码仓库
GitHub 星标数
9
首次出现
2026年1月24日
安全审计
安装于
opencode39
gemini-cli38
codex37
cursor37
cline36
github-copilot35
A guide for simplifying and refining code while preserving functionality.
Never change what the code does - only how it does it.
Follow established coding standards from project configuration (CLAUDE.md, .editorconfig, ESLint, etc.):
Simplify code structure by:
Critical Rules:
Avoid over-simplification that could:
Only refine code that has been recently modified or touched, 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
See references/refactoring-patterns.md for common patterns.
Before submitting refactored code:
Trigger phrases:
Workflow:
Weekly Installs
44
Repository
GitHub Stars
9
First Seen
Jan 24, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode39
gemini-cli38
codex37
cursor37
cline36
github-copilot35
Next.js 15+ 最佳实践指南:文件约定、RSC边界、异步模式与性能优化
1,400 周安装