/hal-skills:fuck-over-engineering [path, module, or area — omit for whole repo]from HAL Skills
Audits codebases for over-engineering: dead code, reinvented stdlib, needless dependencies, and single-implementation abstractions. Reports ranked cuts and applies selected ones.
Ships in HAL Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Audit the scope for over-engineering and report what to cut. The best outcome is a shorter codebase with the same behavior. The argument is the scope; without one, the whole tree. Read what the scope holds before judging it, and fan out subagents when it will not fit in context.
delete: dead code, unused flexibility, speculative feature, special-case branch no input reaches. Nothing replaces it.reuse: hand-written code, or a near-duplicate, that a helper in this codebase or an installed dependency already provides. Name the helper or function.stdlib: hand-rolled thing, or a dependency, that the language's standard library ships. Name the function.native: dependency or code doing what the platform already does. Name the feature.yagni: abstraction with one implementation, factory with one product, wrapper that only delegates, file exporting one thing, config or flag nobody sets, layer with one caller.shrink: same logic, fewer lines. Show the shorter form.Every finding cites the evidence that makes it a cut: caller count, implementation count, or the stdlib or platform feature and the version that ships it. Count callers through dynamic dispatch, entry points, hooks, and tests, not grep alone. A published package's public export is not a cut at zero in-repo callers: its callers live outside the repo. For a branch no input reaches or a flag nobody sets, cite what rules the input out: the validation upstream, every set site, or the commit that added it. When you cannot settle a count, say so instead of writing 0. Verify stdlib: and native: claims against current docs (the find-docs skill when present) before asserting them.
A finding removes lines or concepts; moving them between files is a refactor, not a cut. Fewer, bigger cuts beat a long list: a shrink: that saves two lines earns a slot only when it also removes a concept.
Use AskUserQuestion in Claude Code or request_user_input in Codex when available. Use plain text when neither tool is available.
One line per finding, numbered, ranked biggest cut first:
N. <tag> <what to cut>. <replacement>. <evidence>. [path:line]
delete: omits the replacement sentence. End with net: -<N> lines, -<M> deps possible. Nothing to cut: Lean already. Ship.
1. yagni: AbstractRepository with one implementation. Inline it. 1 subclass, 3 call sites typed to the base. [repo.py:88]2. reuse: hand-rolled slugify. python-slugify is installed, slugify(). 1 caller. [utils/text.py:10-31]3. delete: retry wrapper around an idempotent local call. 0 callers outside its own test. [src/net.py:52-71]Then offer the findings in ranked batches, collect the user's picks, and apply only those. Run the project's checks before the first cut and again after the cuts: a cut that fails a check is reverted and reported, not patched around. Done when the checks pass as they did before the cuts and you have reported the actual net:.
Over-engineering and complexity only: correctness bugs, security holes, and performance belong to a normal review pass. Trust-boundary validation, data-loss handling, security, and accessibility are never cuts. A single smoke test or assert-based self-check is the minimum, not bloat. Tests enter the report only as a side effect of a deleted target.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
13 skills in this plugin
/audit-agent-settingsUse when auditing Claude Code or Codex settings and env vars against the latest docs to suggest tailored changes/best-practicesUse when about to choose, configure, or refine a tool, library, config format, API pattern, or project setup, or before proposing a design or fix of your own — research current guidance, pitfalls, and prior art for the problem it solves first; already knowing an approach, or assuming no prior art exists, is not an exemption. Also use when the user asks about best practices, gotchas, or recommended patterns/blindspotUse when the user asks for a blindspot pass or to find their unknown unknowns, or signals unfamiliarity with a domain, tool, or codebase area ("never used X", "first time doing Y", "no idea where to start", "don't know what I don't know") before working there. Maps the areas their request leaves unnamed, purpose and shape before mechanics, shows how people usually answer each and why, and asks which to explore next, so unknown unknowns become known unknowns they can prompt with. Recommendations on a tool already chosen belong to best-practices/commitUse when making any git commit. Pass the failure, false claim, or risk the changes fix as the argument; for an addition or a filled gap, pass what it adds — never an invented why./differenceCompare A vs B, weigh pros and cons of A, B, C, ..., or explain the nuance between sentences — a quick answer from what the model already knows/prUse when the user explicitly asks to push the current branch and open a PR, rewrite an open PR's title and body from its commits, or wait for CI and merge itnpx claudepluginhub vinta/hal-9000 --plugin hal-skillsOther plugins' skills for the same job