Skip to content

Phở Founder Lifetime: $59 once, 1 year of Phở AI included. Limited seats. See the offer

Engineering · Skill

Code Simplifier

Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Use when asked to "simplify code", "clean up code", "refactor for clarity", "improve readability", or review recently modified code for elegance. Focuses on project-specific best practices.

Open in Phở

What the skill covers

The sections of its instructions, in order.

  1. 01 Refinement Principles
  2. 1. Preserve Functionality
  3. 2. Apply Project Standards
  4. 3. Enhance Clarity
  5. 4. Maintain Balance
  6. 5. Focus Scope
  7. 02 Refinement Process
  8. 03 Examples
  9. Before: Nested Ternaries
  10. After: Clear Switch Statement
  11. Before: Overly Compact
  12. After: Clear Steps
  13. Before: Redundant Abstraction
  14. After: Direct Check

More in Sentry engineering practices

  • Find Bugs

    Find bugs, security vulnerabilities, and code quality issues in local branch changes. Use when asked to review changes, find bugs, security review, or audit code on the current…

  • Sentry Commit Messages

    Use for every request to commit changes or draft a commit message. Creates Sentry-style conventional commits with issue references.

  • PR Writer

    Create or refresh reviewer-facing PR titles and descriptions. Use when opening a PR, updating its title or body, or preparing branch changes for review.

  • Maintaining AGENTS.md

    Creates and maintains concise AGENTS.md and CLAUDE.md project instruction files. Use when asked to create AGENTS.md, update AGENTS.md, maintain agent docs, set up CLAUDE.md…

  • Prompt Optimizer

    Creates, optimizes, and iteratively refines agent prompts, system prompts, developer prompts, and reusable prompt templates. Use when asked to improve a prompt, optimize a system…

Similar engineering skills

Frequently asked questions

What does Code Simplifier do?

Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Use when asked to "simplify code", "clean up code", "refactor for clarity", "improve readability", or review recently modified code for elegance. Focuses on project-specific best practices.

Is Code Simplifier free to use?

Yes. Code Simplifier is published by Sentry under the Apache 2.0 licence, and you can use it with a free Phở account.

How do I use Code Simplifier in Phở?

Press Open in Phở, then Try to apply it to your next message, or add the Sentry engineering practices set so Phở loads it whenever a request matches.

Does Code Simplifier need other tools?

No. It works in a normal Phở chat with what you type or upload.

Copied unchanged from getsentry/skills at commit 0c464f4 and credited to Sentry, who is not affiliated with Phở. The full instructions and licence text ship with the skill inside Phở.