/bitwild-team-kit:code-simplifierfrom bitwild-team-kit
Use when the user explicitly invokes `$code-simplifier`, names the code-simplifier skill and asks to use it, or explicitly asks to deslop recently written or modified code. Do not infer it from a generic cleanup request or a non-trivial edit. Run a separate, behavior-preserving refinement and slop-removal pass over a user-selected code scope, defaulting to recently written or modified code. Do not use for larger structural work such as cross-module consolidation, responsibility splits, or replacing an architecture; handle those as scoped engineering changes with proportionate behavior-preservation tests.
Ships in bitwild-team-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Refine recently changed code so the behavior stays the same while the path from intent to effect becomes easier to follow and free of generated code slop. Prefer direct, explicit code over clever compression, speculative defensive guards, and layers that only rename or forward values.
Run this workflow only as an explicitly invoked pass ($code-simplifier, naming code-simplifier,
or an explicit request to deslop recent changes). Cleanup that is naturally part of an
implementation remains ordinary engineering work and does not require this skill.
if statements bolted onto busy flows or feature-specific logic leaking into shared paths.try/catch blocks, or silent fallback defaults (?? '', ?? [],
catch { return null }) on trusted internal paths where declared types and narrowing already
guarantee the state; keep error handling at IO, process, network, FFI, and user-input
boundaries.any casts, unknown casts, or unnecessary
optionality used only to bypass type checking with the actual narrow type or explicit boundary
validation. Fix the underlying local issue instead of leaving @ts-ignore, @ts-expect-error,
eslint-disable, or // ignore: suppressions.data, result, temp,
item, processX, handleX) with the domain terms used in neighboring files.Note that..., Simply...),
task/PR history narration, section banners, and commented-out code.why comments recording invariants, ordering constraints,
ABI/protocol rules, or rejected alternatives forced by external systems we cannot reshape.Keep a boundary when it protects an invariant, changes ownership, validates or normalizes input, owns a distinct phase or lifecycle, isolates an external system, provides a deliberate public or test seam, or removes duplicated meaning. A single caller is a prompt to inspect a layer, not an automatic deletion rule.
A layer is suspect when it only:
Do not replace a shallow function with a namespace class, factory, extension type, or other shape unless that shape owns a real responsibility. The goal is fewer concepts and cognitive hops, not a preferred artifact type or the fewest lines.
When the user requested an edit, apply the simplification and keep the final summary concise (1–3 sentences naming only material changes and verification). When the request was review-only, report the concrete opportunities without editing.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub btwld/agent-plugins --plugin bitwild-team-kit40 skills in this plugin
/accessibility-reviewUse when checking an interface against accessibility criteria with explicit scope and evidence. Use relevant browser, native, or design tools to inspect behavior; a screenshot-only review cannot establish full conformance./ackUse when a Dart or Flutter project uses package:ack and needs to validate untrusted input, define a schema or bidirectional codec, generate an Ack model, import or export JSON Schema, or migrate between Ack versions. Also use when the user explicitly asks to adopt Ack for one of these tasks./architectureUse when choosing, evaluating, or remembering a technical design decision: technology selection, component boundaries, data ownership, or a chosen API contract. Give a concise recommendation and its reason, main trade-off, and conditions for reconsideration. Use clean-sheet-review to reopen an existing solution's whole framing, deep-code-review for code defects, and ordinary execution for an approved implementation./ci-loopUse when watching pull request CI checks, diagnosing failing PR jobs, and iterating on minimal targeted fixes until all required PR checks are green using `gh pr checks` as the source of truth. Do not use for authoring a new pull request description (`pr-authoring`) or performing a static code review without CI checks (`deep-code-review`).
/clean-sheet-reviewUse when an existing plan, spec, API, architecture, or implementation should be reconsidered from its purpose and first principles: "from first principles", "take a step back", "if we built this today", "what should survive", or "rethink this without being bound by previous design decisions". Derive a fresh proposal from real requirements, compare it with the existing solution, and explain code, migration, and document impact. Return keep, refine, simplify, redesign, split, or stop. Prefer deep-code-review for defects within a fixed design, architecture for focused decisions or developing a chosen API contract, and ordinary execution for an already-approved refactor. Not for first-time product discovery or an unrequested rewrite./competitive-briefUse when comparing competing products, substitutes, or partners to inform a product strategy, differentiation, pricing, or build-versus-buy decision. Produce a current, sourced comparison with implications; a simple competitor fact lookup needs no full brief.