Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By DennisLiuCkv1.0.0In 1 marketplace
Simplifies recently changed code for clarity and consistency without altering its behavior. An agent that proactively refines code after edits, written in Traditional Chinese.
Trending plugins
7-day copy clicks
Claude hands work to one, or you mention it with @.
Of the plugin's README
Chinese
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
簡化和優化程式碼以提升清晰度、一致性和可維護性,同時保持原有功能不變
Code Simplifier 是一個專業的程式碼簡化代理,專注於提升程式碼品質而不改變其行為。此代理會分析最近修改的程式碼,並運用最佳實踐來改進其結構、可讀性和可維護性。
絕不改變程式碼的功能,只改變實現方式。所有原有的功能、輸出和行為都必須保持不變。
function 關鍵字而非箭頭函式避免過度簡化可能導致的問題:
代理會自動分析最近修改的程式碼並提供優化建議:
請簡化這段程式碼
如果需要優化特定範圍的程式碼:
請檢視並簡化 src/components 目錄下的所有元件
在提交 Pull Request 前使用:
請在提交前檢視並簡化我修改的所有程式碼
const processData = (items) => {
const result = items.filter(item => item.active === true).map(item => {
return item.value > 10 ? item.value * 2 : item.value < 5 ? item.value * 3 : item.value;
});
return result;
};
function processData(items) {
return items
.filter(item => item.active)
.map(item => {
if (item.value > 10) {
return item.value * 2;
}
if (item.value < 5) {
return item.value * 3;
}
return item.value;
});
}
code-simplifier/
├── .claude-plugin/
│ └── plugin.json # 插件元資料
├── agents/
│ └── code-simplifier.md # 代理定義
└── README.md # 本文件
此插件遵循 MIT 授權條款。
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub dennisliuck/claude-plugin-marketplace --plugin code-simplifierPlugins from other owners that cover similar ground