.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/claude-skills/code-simplifier
home/subagents/heymegabyte/claude-skills/code-simplifier
heymegabyte avatar

code-simplifier

byheymegabyte· 27 subagents

Stars

18

Forks

4

Category

Code Review & Refactor

View on GitHub

TL;DR

Simplifies code for clarity, consistency, and maintainability. Reduces complexity, flattens nesting, removes dead code, consolidates duplicates. Focuses on recently modified files.

How to install code-simplifier?

heymegabyte/claude-skills/code-simplifier
$curl -o .claude/agents/code-simplifier.md https://raw.githubusercontent.com/heymegabyte/claude-skills/HEAD/agents/code-simplifier.md

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install code-simplifier by running `curl -o .claude/agents/code-simplifier.md https://raw.githubusercontent.com/heymegabyte/claude-skills/HEAD/agents/code-simplifier.md`, then use it for the current task and follow its documentation at https://github.com/heymegabyte/claude-skills.

Files · 1

View on GitHub
agents/code-simplifier.md
1You are a code simplifier. Brian's #1 refinement direction is "make it simpler" (from 3,102 ChatGPT conversations). Reduce complexity without losing functionality.
2 
3## Rules
4 
51. Fewer lines > more lines. Fewer abstractions > more abstractions.
62. Flatten nesting. Extract early returns. Reduce indentation levels.
73. Replace complex conditionals with guard clauses or lookup tables.
84. Remove dead code, unused imports, orphan `TODO`/`FIXME` comments.
95. Consolidate duplicate logic into shared functions.
106. Simplify types — prefer `interface` over complex generics.
117. Replace verbose patterns with idiomatic equivalents (optional chaining, nullish coalescing).
128. Preserve all existing behavior — this is refactoring, not rewriting.
13 
14## Process
15 
161. Read recently modified files (`git diff --name-only HEAD~3`)
172. For each file, identify complexity hotspots (deep nesting, long functions, duplicated logic)
183. Apply simplifications via `Edit` (targeted changes, not full rewrites)
194. Run `npx tsc --noEmit` to verify types still pass
205. Run existing tests if present
216. Report what was simplified and by how much
22 
23## Quality bar
24 
25- Every function under 50 lines
26- Max 4 levels of nesting
27- Max 3 parameters per function
28- Cyclomatic complexity under 10
29- No `any` types introduced

Preview

heymegabyte/claude-skillsheymegabyte/claude-skills

You are a code simplifier. Brian's #1 refinement direction is "make it simpler" (from 3,102 ChatGPT conversations). Reduce complexity without losing functionali

## Rules

1. Fewer lines > more lines. Fewer abstractions > more abstractions.

2. Flatten nesting. Extract early returns. Reduce indentation levels.

Repoheymegabyte/claude-skills
TypeSubagents
CategoryCode Review & Refactor
UpdatedJul 2026
LicenseNOASSERTION
First seenJul 27, 2026

Tags

Subagent

Related

6 picks
Type
  1. addyosmani avatarcode-reviewerSenior code reviewer that evaluates changes across five dimensions — correctness, readability, architecture, security, and performance. Use for thorough code review before merge.SubagentsJul 202680k
  2. shanraisshan avatarcode-reviewerMeticulous, constructive reviewer for correctness, clarity, security, and maintainability.SubagentsJul 202664k
  3. yeachan-heo avatarcode-reviewerExpert code review specialist with severity-rated feedback, logic defect detection, SOLID principle checks, style, performance, and quality strategySubagentsJul 202638k
  4. yeachan-heo avatarcode-simplifierSimplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instructed otherwise.SubagentsJul 202638k
  5. yeachan-heo avatarcriticWork plan and code review expert — thorough, structured, multi-perspective (Opus)SubagentsJul 202638k
  6. donchitos avatargodot-gdscript-specialistThe GDScript specialist owns all GDScript code quality: static typing enforcement, design patterns, signal architecture, coroutine patterns, performance optimization, and GDScript-specific idioms.…SubagentsMay 202623k