code-optimize
Skill1 starsChanged 45 days agoGPL-3.0View on GitHub
代码优化(小范围)的标准工作流:先理解再动手,按模块规划并实施优化(保持对外行为不变),编译/测试验证后按规范提交 git。当用户要求优化代码(重复代码抽取、局部性能提升、可读性提升、命名与局部结构改进等),或说"优化这段代码""清理小范围代码"时使用——只做小范围优化,改动保持对外行为不变;不属于本次优化的真实缺陷单列报告转 bug-fix,不夹带修复。即使未明确说"用 skill",只要涉及小范围代码优化/清理就应使用。结构性改造、分层/职责重构、实现迁移、批量同构改造(需要重构契约、测试基线与对抗性审查)用 refactor;新增或改变对外行为用 feature-dev;缺陷修复用 bug-fix。
1 other project uses a version of this.
Adopted by
Most recently taken up by
- hempq/symfony-claude-codetheir own version, first seen Oct 9, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- hempq/symfony-claude-code★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository30 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- app-packagingSkill
- bug-fixSkill
- check-rule-extractSkill
- code-reviewSkill
- comment-supplementSkill
- commit-createSkill
- db-querySkill
- doc-syncSkill
- feature-devSkill
- frontend-error-diagnoseSkill
- git-clean-branchesSkill
- git-history-rewriteSkill
- git-rollbackSkill
- git-worktreeSkill
- i18n-transformSkill
- log-diagnoseSkill
- module-batchSkill
- mr-createSkill
- nas-disk-diagnosticSkill
- opencode-batchSkill
- project-explainSkill
- refactorSkill
- repo-initSkill
- session-summarySkill
- skill-routerSkill
- spec-routeSkill
- task-commanderSkill
- unit-testSkill
The file
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

