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.
- 01 Refinement Principles
- 1. Preserve Functionality
- 2. Apply Project Standards
- 3. Enhance Clarity
- 4. Maintain Balance
- 5. Focus Scope
- 02 Refinement Process
- 03 Examples
- Before: Nested Ternaries
- After: Clear Switch Statement
- Before: Overly Compact
- After: Clear Steps
- Before: Redundant Abstraction
- 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ở.