skilly. Buy ad slot
All skills
Community / AGENT SKILL

code-simplifier

bryanzk/MyCodexEnv
0 installs 0 GitHub stars
0

Simplify recently modified code for clarity and maintainability while preserving behavior, following CLAUDE.md project standards.

BEFORE YOU INSTALL

Understand the trade-offs.

SECURITY REVIEW

Not yet assessed

Review the original instructions and requested permissions before installing.

No security review is available for this catalog entry yet.

SKILL QUALITY

Not yet assessed

How clearly the skill guides your agent, how complete its workflow is, and how you can check the outcome.

No quality assessment is available for this catalog entry yet.

The full skill.

Original instructions from the publisher’s SKILL.md

# Code Simplifier

Use this skill when the user wants code simplified or cleaned up without changing behavior.

## Scope

- Only edit code the user selected or explicitly referenced.
- If no selection is given, focus on files recently modified in this session.

## Standards

Follow `CLAUDE.md` for project-specific rules. Key expectations:

- Use ES modules with proper import sorting and extensions.
- Prefer `function` keyword over arrow functions.
- Add explicit return types for top-level functions.
- React components use explicit Props types.
- Avoid try/catch when possible; follow existing error handling patterns.
- Avoid nested ternaries; use switch or if/else chains.

## Simplification Guidelines

- Preserve behavior exactly; change structure only for clarity.
- Reduce unnecessary nesting and remove redundant abstractions.
- Use clear, explicit names; avoid overly compact code.
- Remove comments that restate obvious code.

## Output

- Provide updated code only.
- Add up to 3 concise bullets describing significant changes.

Skill folder

Files included alongside SKILL.md in the publisher’s repository.