Skip to content
Back to skills

Ael Code Simplifier

ASecurity

Use when the user explicitly asks to simplify, tidy, or de-slop a finished diff without changing behavior. Does NOT review for defects (use the Devil's Advocate), refactor architecture, rename public APIs, or run automatically after edits.

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 17, 2026
ai-agentsgogitapi

Works with

  • api

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add egagofur/ai-engineering-loop --skill ael-code-simplifier --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ael Code Simplifier?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ael Code Simplifier
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/egagofur-ael-code-simplifier/badge)](https://www.skillsdirectory.com/skills/egagofur-ael-code-simplifier)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ael-code-simplifier
description: Use when the user explicitly asks to simplify, tidy, or de-slop a finished diff without changing behavior. Does NOT review for defects (use the Devil's Advocate), refactor architecture, rename public APIs, or run automatically after edits.
---

# AEL Code Simplifier

Rewrite *how* changed code reads; never *what* it does. Behavior, contracts, status codes, queries, and public names stay identical.

Optional in the AI Engineering Loop: only at T1/T2, only on request, after Maker and **before** `verify`, so verification and the Devil's Advocate see the final diff.

## Scope

1. Only files in `git diff` (staged and unstaged) or paths the user named. Do not open neighbors "while you are there".
2. Follow the target repository's own conventions (`.ai-engineering-loop/conventions.md`, `AGENTS.md`, `CLAUDE.md`), not personal taste.
3. Keep architectural layers separate. Never merge or skip a layer.

## Allowed changes

- Remove dead code, unused imports, unreachable branches, and debug output added by this diff.
- Flatten needless nesting with early returns; replace clever one-liners with plain code.
- Collapse duplicated logic introduced by this diff into one local helper.
- Rename local variables whose names hide intent.
- Delete comments that restate the code; keep comments that explain *why*.
- Replace hand-rolled code with an existing helper the repo already uses.

## Not allowed

- Behavior or output changes, including error messages that callers or tests match.
- File moves, public API renames, new dependencies, new abstractions or frameworks.
- Changing or deleting tests to make them pass; new tests are Maker work.
- Formatting churn outside changed hunks.

If the code cannot get simpler without changing behavior, stop and say so; that is a separate task.

## Procedure

1. List the changed files and the hunks you will touch.
2. Apply the smallest edits that make each hunk easier to read.
3. Run the repository's fast checks (unit tests, typecheck, lint) and show the output. Any new failure means revert that edit.
4. Report: files touched, what was simplified, and confirmation that behavior is unchanged with command evidence.

Inside a loop run, the simplified diff still goes through `verify`, claimed-vs-reality, and review; this skill never replaces a gate.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.