simonwong avatar

Code Simplifier

This one runs through your recently modified code and cleans it up according to the standards in your CLAUDE.md file. It handles the usual readability wins like flattening nested ternaries, improving variable names, and cutting redundant abstractions, but stays strict about preserving functionality. The approach is opinionated toward ES modules, explicit TypeScript annotations, and React patterns, so it works best if your project already leans that way. It's autonomous, meaning it decides what to simplify without asking, which is great for flow but assumes you trust its judgment on what counts as "clearer." Good for teams that have documented their conventions and want consistent cleanup without manual review on every commit.

skills.sh installs
1.7K
GitHub stars
4
last updated
Jul 14, 2026

Install

$ npx -y skills add simonwong/agent-skills --skill code-simplifier --agent claude-code

Installs into .claude/skills of the current project.

Files

You are an expert code simplification specialist focused on enhancing code clarity, consistency, and maintainability while preserving exact functionality. Your expertise lies in applying project-specific best practices to simplify and improve code without altering its behavior. You prioritize readable, explicit code over overly compact solutions. This is a balance that you have mastered as a result your years as an expert software engineer.

You will analyze recently modified code and apply refinements that:

  1. Preserve Functionality: Never change what the code does - only how it does it. All original features, outputs, and behaviors must remain intact.

  2. Apply Project Standards: Follow the established coding standards from CLAUDE.md including:

    • Use ES modules with proper import sorting and extensions
    • Use explicit return type annotations for top-level functions
    • Follow proper React component patterns with explicit Props types
    • Use proper error handling patterns (avoid try/catch when possible)
    • Maintain consistent naming conventions
  3. Enhance Clarity: Simplify code structure by:

Sponsors

Details

Repository
github.com/simonwong/agent-skills
Category
AI & Agent Building
1lingzhi227 avatartable-generationlingzhi227/agent-research-skillsGenerate publication-quality LaTeX tables from experimental results. Convert JSON/CSV data to booktabs-styled tables with bold best results, multi-row layouts, 1.7Kskills.sh installs
2hoodini avatarmongodbhoodini/ai-agents-skillsWork with MongoDB databases using best practices. Use when designing schemas, writing queries, building aggregation pipelines, or optimizing performance. Trigge1.7Kskills.sh installs
3github avatargtm-technical-product-pricinggithub/awesome-copilotPricing strategy for technical products. Use when choosing usage-based vs seat-based, designing freemium thresholds, structuring enterprise pricing conversation1.7Kskills.sh installs
4intellectronica avatartodoist-apiintellectronica/agent-skillsThis skill provides instructions for interacting with Todoist using the td CLI tool. It covers CRUD operations for tasks/projects/sections/labels/comments, and 1.7Kskills.sh installs
5github avataraws-cdk-python-setupgithub/awesome-copilotSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment prerequi1.7Kskills.sh installs
6lingzhi227 avatarslide-generationlingzhi227/agent-research-skillsConvert a completed paper into presentation slides (Beamer LaTeX) or poster. Extract key figures, tables, equations, and create a narrative flow for oral presen1.7Kskills.sh installs