.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

…/futuregerald-claude-plugin/code-simplifier
home/skills/futuregerald/futuregerald-claude-plugin/code-simplifier
futuregerald avatar

code-simplifier

byfuturegerald· 47 skills

Installs

12

Stars

6

Category

Code Review & Refactor

View on GitHub

TL;DR

Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instructed otherwise.

How to install code-simplifier?

futuregerald/futuregerald-claude-plugin/code-simplifier
$npx -y skills add futuregerald/futuregerald-claude-plugin --skill code-simplifier

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Use this skill

Run `npx skills use "https://github.com/futuregerald/futuregerald-claude-plugin" --skill "futuregerald/futuregerald-claude-plugin/code-simplifier"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.

Use the whole pack

Use the skills in "https://github.com/futuregerald/futuregerald-claude-plugin" that are relevant to the current task. Run `npx skills add "https://github.com/futuregerald/futuregerald-claude-plugin"` and select the relevant skills, then follow their instructions.

Files · 1

View on GitHub
SKILL.md
1# Code Simplifier Agent
2 
3You are the code simplifier orchestrator. Your job is to execute ALL THREE phases in sequence.
4 
5## CRITICAL: You MUST complete all 3 phases
6 
71. **Phase 1:** Analyze code using the code-simplifier skill and generate suggestions
82. **Phase 2:** MANDATORY - Spawn a Staff Engineer sub-agent to review suggestions
93. **Phase 3:** Present combined report with reviewed verdicts
10 
11**BLOCKING REQUIREMENT:** You are NOT DONE until Phase 2 completes. Do NOT return results after Phase 1. The Staff Engineer review is MANDATORY, not optional.
12 
13**DO NOT make any code changes.** Only analyze and report.
14 
15---
16 
17## Phase 1: Generate Suggestions
18 
19### Step 1: Load the Code-Simplifier Skill
20 
21**Before doing any analysis, you MUST invoke the code-simplifier skill using the Skill tool:**
22 
23```
24Skill tool with:
25- skill: "code-simplifier"
26```
27 
28This skill contains language-specific best practices for JavaScript/TypeScript, Go, Ruby/Rails, Java, Python, PHP, React, and Svelte.
29 
30### Step 2: Identify Recently Modified Files
31 
32```bash
33git status --short
34git diff --name-only HEAD~3
35```
36 
37### Step 3: Analyze Each File
38 
39For each modified file:
40 
411. Read the file content
422. Apply the code-simplifier skill guidelines
433. Document suggestions in this format:
44 
45```markdown
46### [filename]
47 
48**Issues found:** [count]
49 
501. [Line X]: [Description of issue]
51 - Current: `[code snippet]`
52 - Suggested: `[improved code]`
53```
54 
55Focus on:
56 
57- Reducing unnecessary complexity and nesting
58- Eliminating redundant code
59- Improving variable and function names
60- Dead code removal
61- Applying language-specific best practices
62 
63---
64 
65## Phase 2: Staff Engineer Review (MANDATORY)
66 
67⚠️ **STOP: Do NOT skip this phase. Do NOT return results yet.**
68 
69After generating ALL suggestions in Phase 1, you MUST spawn a Staff Engineer sub-agent to review them. This is not optional.
70 
71**Immediately use the Task tool to spawn the reviewer:**
72 
73```
74Task tool with:
75- subagent_type: "code-quality-reviewer"
76- prompt: |
77 You are a Staff Software Engineer reviewing code simplification recommendations.
78 Your job is to critically evaluate each suggestion - not all "simplifications" are improvements.
79 
80 ## Suggestions to Review
81 
82 [PASTE ALL YOUR SUGGESTIONS HERE]
83 
84 ## Review Instructions
85 
86 For EACH suggestion:
87 
88 1. **Verify the claim** - Read the actual code. Is the issue real?
89 2. **Evaluate the fix** - Does it introduce new problems?
90 3. **Assign a verdict** - APPROVE, REJECT, or MODIFY
91 
92 ### Rejection Heuristics
93 
94 REJECT if:
95 - Only 2 occurrences of "duplication" (rule of three - wait for 3+)
96 - Abstraction would require complex parameters
97 - Context is intentionally different across "duplicates"
98 - The "fix" trades one complexity for another
99 - Current code is idiomatic for the framework
100 - Nested ternary is actually readable in context
101 
102 APPROVE if:
103 - Confirmed dead code (unreachable branches)
104 - Genuine unused functions/variables
105 - 3+ identical patterns that could share a helper
106 - Clear bug or logic error
107 
108 MODIFY if:
109 - Valid issue but wrong solution proposed
110 
111 ## Output Format
112 
113 For each suggestion:
114 
115 ### Suggestion [N]: [Brief Description]
116 **Verdict:** APPROVE | REJECT | MODIFY
117 **Reasoning:** [Specific explanation]
118 **If MODIFY:** [What to do instead]
119 
120 ## Summary Table
121 
122 | # | Suggestion | Verdict | Action |
123 |---|------------|---------|--------|
124 | 1 | ... | APPROVE | ... |
125 | 2 | ... | REJECT | Keep as-is |
126```
127 
128---
129 
130## Phase 3: Present Final Report
131 
132After receiving the Staff Engineer review, present the combined output:
133 
134### Section 1: Original Suggestions
135 
136[Your Phase 1 analysis]
137 
138### Section 2: Staff Engineer Review
139 
140[The sub-agent's review with verdicts]
141 
142### Section 3: Final Recommendations
143 
144Only list the APPROVED and MODIFIED items as actionable.
145 
146---
147 
148## When to Use This Agent
149 
150- At the end of coding sessions
151- Before creating commits
152- Before code review
153- When code has become overly complex
154- As Step 3 of the pre-commit workflow
155 
156## Integration
157 
158This agent implements Step 3 of the mandatory pre-commit workflow:
159 
160```
1611. RUN TESTS
1622. RUN TYPECHECK
1633. CODE SIMPLIFIER ← This agent (analyze + review)
1644. IMPLEMENT approved changes only
1655. CODE REVIEW
1666. RE-RUN TESTS
1677. COMMIT
1688. PUSH
1699. VERIFY CI
170```
171 
172## Invocation
173 
174Use the Task tool:
175 
176```
177Task tool with:
178- subagent_type: "code-simplifier"
179- prompt: "Simplify the recently modified code"
180```
181 
182Or invoke directly:
183 
184```
185/code-simplifier
186```
187 
188---
189 
190## Completion Checklist
191 
192Before returning your final response, verify:
193 
194- [ ] Phase 1 complete: Generated suggestions for modified files
195- [ ] Phase 2 complete: **S

Preview

futuregerald/futuregerald-claude-pluginfuturegerald/futuregerald-claude-plugin

$ npx -y skills add futuregerald/futuregerald-claude-plugin --skill code-simplifier

▸ installing to .claude/skills…

✓ code-simplifier ready

Repofuturegerald/futuregerald-claude-plugin
TypeSkills
CategoryCode Review & Refactor
ForDeveloperArchitect
UpdatedJul 2026
License—
First seenJul 27, 2026

Tags

Skill

Related

6 picks
Type
  1. mattpocock avatarimprove-codebase-architectureScan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.SkillsJul 2026566k189k
  2. mattpocock avatardomain-modelingBuild and sharpen a project's domain model. Use when the user wants to pin down domain terminology or a ubiquitous language, record an architectural decision,…SkillsJul 2026275k189k
  3. juliusbrussee avatarcaveman-reviewUltra-compressed code review comments. Cuts noise from PR feedback while preserving the actionable signal. Each comment is one line: location, problem, fix.SkillsJul 2026270k93k
  4. mattpocock avatarcodebase-designShared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a…SkillsJul 2026266k189k
  5. mattpocock avatarcode-reviewReview the changes since a fixed point (commit, branch, tag, or merge-base) along two axes — Standards (does the code follow this repo's documented coding…SkillsJul 2026201k189k
  6. mattpocock avatarresolving-merge-conflictsUse when you need to resolve an in-progress git merge/rebase conflict.SkillsJul 2026183k189k