code_simplifier

Use when changed code should be reviewed for reuse, code quality, and efficiency, then cleaned up before finalizing.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "code_simplifier" with this command: npx skills add wimi321/code-simplify

Code Simplifier

Use this skill after making changes and before wrapping up.

Workflow

  1. Inspect the relevant diff or latest modified files.
  2. Review for existing utilities that should be reused.
  3. Review for code smell: parameter sprawl, copy-paste, leaky abstractions, or unnecessary comments.
  4. Review for efficiency problems: repeated work, unnecessary reads, event churn, and hot-path bloat.
  5. Fix confirmed issues and summarize what changed.

Guardrails

  • Prefer concrete fixes over broad stylistic churn.
  • Keep attention on changed code, not the whole codebase.
  • If no issue exists, say so explicitly.

Example Requests

  • Review my diff for duplicate logic and unnecessary complexity.
  • Clean up this changed code before I ship it.

Inputs

  • Relevant diff or changed files
  • Optional focus area

Outputs

  • Concrete cleanup changes
  • Short summary of improvements

Success Criteria

  • Duplication or awkward abstractions were reduced.
  • Performance regressions were checked.
  • No unnecessary churn was introduced.

Non-Goals

  • Massive style-only rewrites
  • Review of untouched code with no link to the change

Source Provenance

Derived from src/skills/bundled/simplify.ts.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Workflow Skillify

Use when a successful session or repeatable process should be captured as a reusable skill with steps, arguments, and invocation guidance.

Registry SourceRecently Updated
1301Profile unavailable
Coding

Verifier Skill Generator

Use when a project needs one or more verifier skills for web, CLI, or API runtime checks that the Verify agent can discover automatically.

Registry SourceRecently Updated
900Profile unavailable
Coding

Stuck Session Diagnosis

Use when another Claude Code session appears frozen, stuck, or abnormally slow and needs process-level diagnosis and reporting.

Registry SourceRecently Updated
1170Profile unavailable
Coding

Statusline Setup

Use when the user wants to configure Claude Code statusline UI by inspecting shell prompt configuration and updating the relevant settings.

Registry SourceRecently Updated
910Profile unavailable