code-simplification
Simplify code without changing behavior so it becomes easier to read, test, and extend. Use when code works but is overly complex, duplicated, tightly coupled, or difficult to review safely.
- License 许可
- MIT
- 最近更新
- 2026-06-26
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- code-simplification
- description
- Simplify code without changing behavior so it becomes easier to read, test, and extend. Use when code works but is overly complex, duplicated, tightly coupled, or difficult to review safely.
03 SKILL.md 正文
code-simplification
清楚勝過聰明。
目標
- 降低複雜度
- 降低耦合
- 保持行為不變
做法
- 刪除死碼
- 合併重複邏輯
- 切出明確函式或模組
- 改善命名
- 把隱含規則變明示
規則
- 先有測試或其他保護網
- 一次只做一種簡化
- 不把重構包進功能變更
- 複雜度下降要能從 diff 看出來
04 同仓库更多 Skills
website-best-practices
Build websites with strong semantic HTML, accessibility, performance, content structure.
using-agent-skills
Meta skill entrypoint. Select the right workflow skill for the current project phase, initialize required docs, and keep execution aligned with the project lifecycle.
ui-ux-designer
Create interface designs, design systems, and UX improvements with accessibility-first guidance.
typescript-best-practices
Apply TypeScript best practices for strict mode, safe narrowing, tsconfig safety, robust error handling.
tool-discovery-and-installation
Detect missing skills, MCP servers, CLIs, and sandbox tools; choose safe install paths; install or guide tool setup with explicit authorization and verification.
text-to-lottie
Generate or refine production-ready Lottie animations for web and app UI work.