Ce Simplify Code
技能 已验证 活跃Simplify and refine recently changed code for clarity, reuse, quality, and efficiency while preserving behavior.
To systematically improve the quality and maintainability of recently changed code by applying expert review processes and ensuring functional equivalence.
功能
- Automated code simplification and refinement
- Multi-agent parallel review for reuse, quality, and efficiency
- Behavior preservation through automated testing and linting
- Intelligent scope determination using git diffs or explicit user input
- Integration with project-specific best practices
使用场景
- Refining feature branches before opening a pull request
- Improving the clarity and efficiency of recently added code
- Ensuring code adheres to project-specific quality standards
- Automating parts of the code review process for maintainability
非目标
- Introducing new functionality or altering existing behavior
- Performing security vulnerability patching unless directly related to code quality/efficiency
- Replacing the need for human oversight in critical decision-making
- Operating on code outside of the specified scope (e.g., unrelated files or entire repositories without explicit direction)
工作流
- Identify code simplification scope based on user input or git diff.
- Launch three specialized reviewer agents in parallel: Code Reuse, Code Quality, and Efficiency.
- Aggregate findings from all agents.
- Apply fixes directly to the code based on agent feedback.
- Verify behavior preservation by running project typechecks, linters, and tests.
- Summarize improvements and any remaining issues.
实践
- Code Quality
- Code Refactoring
- Developer Workflow
- Test-Driven Development
先决条件
- Git repository with a defined base branch or staged/unstaged changes
- Project with a configured test suite or linter
- An environment capable of dispatching sub-agents
安装
请先添加 Marketplace
/plugin marketplace add EveryInc/compound-engineering-plugin/plugin install compound-engineering@compound-engineering-plugin质量评分
已验证类似扩展
Moyu (摸鱼)
100감지된 과잉 엔지니어링 패턴: (1) 사용자가 명시적으로 요청하지 않은 코드나 파일을 수정할 때 (2) 요청되지 않은 새로운 추상화 계층(클래스, 인터페이스, 팩토리, 래퍼)을 생성할 때 (3) 요청되지 않은 주석, 문서, JSDoc, 타입 주석을 추가할 때 (4) 요청되지 않은 새로운 종속성을 도입할 때 (5) 최소 편집 대신 파일 전체를 다시 작성할 때 (6) diff 범위가 사용자의 요청을 명백히 초과할 때 (7) 사용자가 "너무 많아", "거기는 건드리지 마", "X만 변경해", "간단하게", "그만"과 같은 신호를 보낼 때 (8) 발생할 수 없는 시나리오에 대한 오류 처리, 유효성 검사, 방어적 코드를 추가할 때 (9) 요청되지 않은 테스트, 설정 스캐폴딩, 문서를 생성할 때
Oh My Claudecode
100Process-first advisor routing for Claude, Codex, or Gemini via `omc ask`, with artifact capture and no raw CLI assembly
使用我的浏览器
100当工作依赖于用户实时浏览器会话或可见的渲染状态,而不是静态抓取时使用,尤其是在浏览器调试上下文或 DevTools 选择的元素或请求、登录仪表板或 CMS 流程、localhost 应用、上传、下载、媒体检查、DOM 或 iframe 检查、Shadow DOM,或看起来像软 404、身份验证墙、反机器人检查或速率限制的浏览器故障时。
Github
100Use gh for GitHub issues, PR status, CI/logs, comments, reviews, releases, and API queries.
Openclaw Testing
100Choose, run, rerun, or debug OpenClaw tests, CI checks, Docker E2E lanes, release validation, and the cheapest safe verification path.
ClawSweeper Skill
100Use for all ClawSweeper work: OpenClaw issue/PR sweep reports, commit-review reports, repair jobs, cloud fix PRs, @clawsweeper maintainer mention commands, trusted ClawSweeper-reviewed autofix/automerge, GitHub Actions monitoring, permissions, gates, and manual backfills.