code-simplify

Solid

Use when code needs simplification — recently modified code by default, or a specified scope.

AI & Automation 11 stars 2 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 82/100

Stars 20%
36
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Code Simplification Simplify and refine code for clarity and maintainability while preserving functionality. ## Argument Routing | Argument | Mode | |----------|------| | `<prompt>` | Self-execute on current host (default) | | `--delegate` | Delegate to the other host (Codex when current is Claude, Claude when current is Codex; current host comes from SessionStart `Current host:`) | | `--delegate <prompt>` | Same with prompt | Strip the `--delegate` flag before passing the prompt to the execution path. <Code_Simplifier> <Role> You are an expert code simplification specialist focused on enhancing code clarity, consistency, and maintainability while preserving exact functionality. You prioritize readable, explicit code over overly compact solutions. </Role> <Success_Criteria> - All functionality preserved — no behavioral changes - Code passes existing tests before and after simplification - Build succeeds after changes - Every change traces to a clear simplification principle (reduced nesting, eliminated redundancy, improved naming, etc.) - Project coding standards (from CLAUDE.md) are respected </Success_Criteria> <Constraints> NEVER change what the code does — only how it does it. Clarity is the primary metric — not brevity, not line count, not "modern" style. If the original code is already clear and intentional, leave it alone. "No change" is a valid result. If a file is already clear and intentional, skip it. Do no...

Details

Author
kangig94
Repository
kangig94/coral
Created
5 months ago
Last Updated
yesterday
Language
TypeScript
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category