# Simplify Recently Modified Code

Code changes often leave behind duplicated logic, inconsistent style, or confusing structure. This skill reviews recently modified code and refines it for clarity while preserving behavior.

## Install

```bash
npx skillstore add brianlovin/simplify
```

## Metadata

- Status: approved
- Slug: simplify
- Skillstore revision: r1
- Version status: missing
- Tree hash: 19999493b7993c92005568ea2a81f8c282c2aa8a854012057d403e65398b0185
- Author: brianlovin
- GitHub username: brianlovin
- License: MIT
- Repository: https://github.com/brianlovin/claude-config/tree/main/skills/simplify/
- Ref: f93e9bb0daca99badb6a7e574b97737155d57cb3
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network
- Quality score: 79
- Quality tier: bronze
- Public page: https://skillstore.pages.dev/skills/simplify
- Manifest: https://skillstore.pages.dev/api/skills/simplify/manifest

## Capabilities

- Reviews recently modified code for unnecessary complexity, nesting, and redundancy.
- Applies project standards such as import sorting, explicit types, and React Props patterns.
- Improves variable and function names when clearer names improve maintainability.
- Consolidates related logic while preserving features, outputs, and behavior.
- Documents only significant changes that affect understanding.

## Use Cases

- Clean Up UI Changes: Refine recently edited React components for clearer props, simpler branches, and consistent project style.
- Prepare Refactors For Review: Reduce redundant logic and improve names before sending a pull request for human review.
- Standardize Team Code: Apply local readability and maintainability rules to touched files without changing behavior.

## Prompt Templates

### Simplify My Recent Changes

```
Use the simplify skill on the files I just changed. Preserve behavior and tell me only the meaningful refinements.
```

### Apply Project Style

```
Review my touched code against the project standards. Improve clarity, naming, imports, and type annotations without changing outputs.
```

### Refine React Components

```
Simplify the React components I edited. Keep explicit Props types, improve conditional rendering, and remove comments that only repeat the code.
```

### Constrain A Broad Refactor

```
Inspect the recent refactor for over-abstraction, nested logic, and unclear names. Make targeted simplifications, then summarize remaining tradeoffs.
```

## Limitations

- It relies on surrounding project standards being available and accurate.
- It does not replace tests or formal regression verification.
- It focuses on recently touched code unless the user requests broader review.
- It may avoid changes when simplification would reduce clarity.

## Best Practices

- Run the skill after implementation, before final tests and review.
- Keep the requested scope close to files changed in the current session.
- Review behavior-sensitive changes with tests after simplification.

## Anti Patterns

- Do not ask it to minimize line count as the main goal.
- Do not use it to rewrite unrelated areas without a clear scope.
- Do not accept simplifications that remove useful abstractions or context.

## Security Audit

- Audited at: 2026-07-07T05:35:42.236\+00:00
- Summary: All six static findings are false positives from prose in SKILL.md. The backtick, network, and blocker hits are code-style text, not malicious behavior. No prompt injection, data exfiltration intent, or malicious instruction was found.

## Stats

- Views: 174
- Downloads: 65
- Favorites: 0
- Popularity score: 0
