Simplify complex code and reduce technical debt while preserving exact runtime behavior.
Applies clarity-over-cleverness principles to flatten nesting, remove redundant abstractions, and clean up recently modified code without altering behavior.
Category: Development
Agents: Claude CodeCodexGemini CLIOpenCodeKilo CodeAntigravity
Helps SBQ workflows: Refactor, Code review
Licence: MIT · Source
Code simplification is a third-party skill published in the addyosmani/agent-skills repository on GitHub. SBQ lists it and does not own it; the publisher’s licence terms apply.
Installation
Install
npx skills add addyosmani/agent-skills --skill code-simplification -a claude-code
npx skills add addyosmani/agent-skills --skill code-simplification -a codex
npx skills add addyosmani/agent-skills --skill code-simplification -a gemini
npx skills add addyosmani/agent-skills --skill code-simplification -a opencode
npx skills add addyosmani/agent-skills --skill code-simplification -a kilo
npx skills add addyosmani/agent-skills --skill code-simplification -a antigravity
Skill purpose
Reduce complexity while preserving observable behavior.
Practical workflow example
Simplify a nested account-access condition, then compare success and forbidden cases against the existing regression tests.
Prerequisites and compatibility
An understood behavior contract and relevant checks before refactoring.
Agent setup targets are listed above. Provider accounts, model access and permissions remain separate; a catalogue listing does not certify every model or plugin version.
Configuration and use in SBQ
Review the original source, install for the selected agent and finish any upstream configuration. Connect that profile in SBQ, assign it to a relevant workflow stage and specify the task, scope and expected evidence. Begin with a small task in an isolated branch or worktree and inspect the changed files and verification output.
Limitations
Shorter code is not automatically clearer or equivalent; validate edge cases.
Skills guide behavior; they do not grant model access, bypass permissions or guarantee correct code. Review tool access and never include credentials in task prompts.
Source, licence and attribution
Publisher: addyosmani. Original source URL. Catalogue licence: MIT. The matching licence or declaration was checked on 2026-12-03.
Copyright (c) 2025 Addy Osmani.
These examples are original SBQ editorial guidance. Upstream skill bodies, scripts and assets are not republished here. Retain upstream licence, copyright and NOTICE files when installing or redistributing the original material.