Diagnoses wrong gradients in differentiable NVIDIA Warp programs by measuring first — comparing autodiff against finite differences on a shrunk reproduction before proposing any fix.
Code SimplificationSkill
Summary
Reduces accumulated complexity without changing behaviour, using Chesterton's Fence to avoid deleting the thing that was load-bearing.
Features
- Behaviour-preserving simplification
- Chesterton's Fence guard against deleting load-bearing code
- Targets code that works but is hard to read or extend
- Part of a 24-skill engineering workflow collection
Install This Skill
Add this skill to your favorite AI agent in a few steps.
Skill Content
Usage Instructions
Learn how to use this skill with different AI agents.
Description
Most codebases do not get complicated by a bad decision; they get complicated by twenty reasonable ones. This skill gives an agent a disciplined way to walk that back: simplify for clarity while preserving exact behaviour, and treat anything you do not understand as load-bearing until you do.
That second half is what makes it usable on real code. Chesterton's Fence is the governing rule — the odd-looking branch, the defensive null check, the retry nobody can explain are not removed because they look unnecessary, they are investigated first. An agent left to its own judgement will happily delete all three and produce a diff that reads beautifully and breaks in production.
Use it when code works but is harder to read, maintain or extend than it should be, or when reviewing something that has silted up over time. It pairs naturally with the collection's code-review skill: one finds the complexity, the other removes it safely.
One of 24 skills in Addy Osmani's agent-skills collection of production engineering workflows for AI coding agents. MIT licensed.
Related Skills
Google's official skill for the gws CLI — drive Gmail, Drive, Calendar, Sheets, Docs, Chat and Admin APIs from an agent, with Model Armor screening.
Netlify's official skill for zero-config managed Postgres — querying from Functions, Drizzle setup, migrations and per-preview database branches.
Official WordPress skill for Gutenberg block work: block.json, attributes and serialization, dynamic rendering, and the deprecation path that keeps existing content valid.
