simplify
Review the changed code for reuse, simplification, efficiency, and altitude cleanups, then apply the fixes.
Skill by HMBSbige
Chalk Labs
Need help deploying simplify?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/hmbsbige-simplify
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
simplify- Description
- Review the changed code for reuse, simplification, efficiency, and altitude cleanups, then apply the fixes. Quality only — it does not hunt for bugs; use code-review for that.
- License
- MIT
- Instructions
- 39 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
`simplify → 4 cleanup subagents in parallel when available → apply the fixes`
When a target was supplied, prepend:
`Review target: <target>`
You are improving the quality of the changed code, not hunting for bugs. Review it for reuse, simplification, efficiency, and altitude issues, then fix what you find. Do not look for correctness bugs — that is what `code-review` is for.
## Phase 0 — Gather the diff
Run `git diff @{upstream}...HEAD` (or `git diff main...HEAD` / `git diff HEAD~1` if there's no upstream) to get the unified diff under review. If there are uncommitted changes, or the range diff is empty, also run `git diff HEAD` and include the working-tree changes in scope — the review often runs before the commit. If a PR number, branch name, or file path was passed as an argument, review that target instead. Treat this diff as the review scope.
## Phase 1 — Review
When the current agent can launch independent subagents, launch **4 independent review subagents** through the available subagent mechanism, all in a single message so they run concurrently. Pass each subagent the diff and one of the four angles below. Each returns its findings with `file`, `line`, a one-line `summary`, and the concrete cost (what is duplicated, wasted, or harder to maintain).
When no subagent mechanism is available, use a single-pass inline cleanup: work through all four angles below yourself, in the same context, in one pass — do not skip an angle for lack of fan-out. Record findings with the same fields and concrete-cost requirement.
### Reuse
Flag new code that re-implements something the codebase already has — search shared/utility modules and files adjacent to the change, and name the existing helper to call instead.
### Simplification
Flag unnecessary complexity the diff adds: redundant or derivable state, copy-paste with slight variation, deep nesting, dead code left behind. Name the simpler form that does the same job.
### Efficiency
Flag wasted work the diff introduces: redundant computation or repeated I/O, independent operations run sequentially, blocking work added to startup or hot paths. Also flag long-lived objects built from closures or captured environments — they keep the entire enclosing scope alive for the object's lifetime (a memory leak when that scope holds large values); prefer a class/struct that copies only the fields it needs. Name the cheaper alternative.
### Altitude
Check that each change is implemented at the right depth, not as a fragile bandaid. Special cases layered on shared infrastructure are a sign the fix isn't deep enough — prefer generalizing the underlying mechanism over adding special cases.
## Phase 2 — Apply the fixes
Wait for all four subagents to complete, or finish the single inline pass when no subagent mechanism is available. Dedup findings that point at the same line or mechanism, and fix each remaining one directly. Skip any finding whose fix would change intended behavior, require changes well outside the reviewed diff, or that you judge to be a false positive — note the skip rather than arguing with it. Finish with a brief summary of what was fixed and what was skipped (or confirm the code was already clean). For the inline fallback, state clearly that this was a single-pass review done without the full 4-subagent fan-out.From HMBSbige/skills, MIT.
More from HMBSbige/skills
- 0.587score
code-review
HMBSbige
Review the current diff, or a PR number/branch/path target, for correctness bugs (plus reuse/simplification/efficiency cleanups where the model's review…
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
dotnet-cpu-hot-paths
HMBSbige
Use when implementing, optimizing, or reviewing performance-critical C#/.NET scalar or SIMD hot paths whose throughput depends on RyuJIT code generation
SkillAFreshness: A★ 1Claude Code +9 - 0.586score
wsl-pwsh
HMBSbige
在 Windows 的 pwsh 中调用 WSL 程序,或执行需要 Bash 管道、变量、重定向或多行脚本的 WSL 命令时
SkillAFreshness: A★ 1Claude Code +9 - 0.541score
csharp-style
HMBSbige
Use when writing, editing, reviewing, or refactoring C#/.NET code
SkillBFreshness: B★ 1Claude Code +9 - 0.497score
systematic-debugging
HMBSbige
Use when diagnosing a bug, test or build failure, performance regression, intermittent fault, or other unexpected technical behavior.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
verification-before-completion
HMBSbige
Use immediately before claiming that implementation, a bug fix, refactor, review remediation, build, test state, or generated artifact is complete, correct…
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
git-conventions
HMBSbige
Use when creating, editing, reviewing, or suggesting Git commit messages
SkillCFreshness: C★ 1Claude Code +9 - 0.467score
testing-strategy
HMBSbige
Use when a code change needs a testing approach chosen or revised, or when writing or changing nontrivial tests whose falsifiability, boundary, doubles, or…
SkillCFreshness: C★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jul 18, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/HMBSbige/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from HMBSbige
- 0.587score
code-review
HMBSbige
Review the current diff, or a PR number/branch/path target, for correctness bugs (plus reuse/simplification/efficiency cleanups where the model's review…
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
dotnet-cpu-hot-paths
HMBSbige
Use when implementing, optimizing, or reviewing performance-critical C#/.NET scalar or SIMD hot paths whose throughput depends on RyuJIT code generation
SkillAFreshness: A★ 1Claude Code +9 - 0.586score
wsl-pwsh
HMBSbige
在 Windows 的 pwsh 中调用 WSL 程序,或执行需要 Bash 管道、变量、重定向或多行脚本的 WSL 命令时
SkillAFreshness: A★ 1Claude Code +9 - 0.541score
csharp-style
HMBSbige
Use when writing, editing, reviewing, or refactoring C#/.NET code
SkillBFreshness: B★ 1Claude Code +9 - 0.497score
systematic-debugging
HMBSbige
Use when diagnosing a bug, test or build failure, performance regression, intermittent fault, or other unexpected technical behavior.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
verification-before-completion
HMBSbige
Use immediately before claiming that implementation, a bug fix, refactor, review remediation, build, test state, or generated artifact is complete, correct…
SkillCFreshness: C★ 1Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get simplify running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
simplify skill. Agent Mart. https://agentmart.dev/skills/hmbsbige-simplify (last updated 2026-10-24)