Skip to content
Back to skills

Code Simplification

ASecurity

Use after a feature or fix is verified to simplify the changed code without changing behavior — wraps Claude Code's /simplify with finance and security carve-outs.

  • 8 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 13, 2026
securityrustsecurity

Works with

  • claude code

Security analysis

A100/100

Scanned November 13, 2026

npx -y skills add moberghr/mtk-agent-toolkit --skill code-simplification --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Simplification?

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

Security grade badge for Code Simplification
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/moberghr-code-simplification/badge)](https://www.skillsdirectory.com/skills/moberghr-code-simplification)

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: code-simplification
description: Use after a feature or fix is verified to simplify the changed code without changing behavior — wraps Claude Code's /simplify with finance and security carve-outs.
type: skill
user-invocable: false
---

# Code Simplification

## Overview

Simplify only verified code, only in the task's files. On Claude Code, run the built-in `/simplify` on the change; elsewhere, apply the same pass by hand. Then re-run build and tests.

## When To Use

- Implement Phase 6, or after a fix is green

## Workflow

**Never simplify away** — presumed load-bearing; if one looks dead, surface it to `security-and-hardening`:
- money arithmetic, decimal types, and rounding mode or order
- idempotency keys, deduplication, retry and concurrency guards
- audit-trail and compliance logging
- authn/authz checks, secret handling and redaction, trust-boundary validation
- migrations, and guards on delete/destructive operations

## Verification

- [ ] Behavior unchanged; build and tests pass; no carve-out removed or collapsed

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 security →

Comments

Loading comments…

Newsletter

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