AMD's official meta-skill: permanently reroutes an agent's image generation, text-to-speech and speech-to-text to a local Lemonade Server instead of a paid cloud API.
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
CodeQL, Semgrep and SARIF static-analysis toolkit from Trail of Bits: taint tracking, fast pattern scans and merged, deduplicated security findings for coding agents.
Microsoft's official Playwright skill — drives a real browser from the command line using accessibility snapshots and element refs, and plans, generates and heals Playwright tests.
Google's official agent skill for writing production Maps Platform code — grounded in freshly fetched docs, with a demo key path that needs no billing account.