/superior-skills:superior-leanfrom superior-skills
Guides reducing code complexity by reusing existing capabilities, removing unjustified abstractions, dependencies, and duplication. Useful when over-engineering is in scope.
Ships in superior-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.
Solve the complete requested problem with the least new surface area. Economy applies to the solution, not to understanding, correctness, or verification.
Trace the affected flow and inspect callers before editing. Prefer, in order:
Before adding a function, handler, component, hook, service, validation rule, or other behavior, search the relevant feature and shared code by purpose as well as plausible names. Inspect existing implementations and consumers rather than assuming similar names imply the same behavior. Compare inputs, outputs, side effects, error handling, platform and lifecycle, authorization, and ownership where relevant.
Reuse a suitable existing capability. If it nearly fits, extend or improve its existing owner when that preserves its contract and follows the project's structure; trace direct and indirect consumers and verify affected callers. Add a separate implementation when the existing behavior, ownership, or constraints differ, or adapting it would introduce inappropriate coupling or break compatibility. Keep the search proportional to the change and report material tradeoffs.
Stop at the first option that completely satisfies realistic behavior and fits the codebase. Fewer lines in the wrong layer are not simpler.
Consider splitting a file when distinct responsibilities, independent change or test needs, or a meaningful trust or dependency boundary make the current owner hard to maintain. Line count is a signal for inspection, not a mandatory threshold. Preserve cohesive code together when splitting would add indirection without a concrete benefit. Follow framework discovery and existing project conventions, and update affected imports, registrations, exports, and tests when moving code.
Load superior-architecture when project structure, module ownership, or dependency boundaries are the primary concern; keep complexity reduction and safe removal here.
Read references/complexity-decisions-and-safe-removal.md when removing or collapsing a shared abstraction, dependency, configuration path, extension point, or code that appears unused. Use it to distinguish accidental machinery from a real boundary and to trace indirect consumers before deletion.
Challenge:
Prefer deletion when behavior remains intact. Do not compress straightforward code into clever expressions merely to reduce line count.
Preserve an abstraction when evidence shows that it owns a real shared contract, external boundary, existing variation, compatibility transition, framework lifecycle, or independently testable policy. One implementation alone neither proves nor disproves that value.
Do not simplify away:
Prove that removed machinery had no required consumers and that behavior remains intact. Use focused tests for non-trivial branches, parsers, state transitions, financial paths, and security-sensitive flows. For a review, distinguish observed complexity from hypothetical cleanup and recommend only changes with a concrete payoff.
Report what became simpler, what was deliberately preserved, and the real condition that would justify adding complexity later.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub kodekateam/superior-skills --plugin superior-skills19 skills in this plugin
/superior-accessibilityReview or implement interface accessibility for semantics, keyboard operation, focus, contrast, status communication, zoom, and assistive technology. Use when accessibility is explicitly requested, required by the product contract, or a changed interaction creates substantial accessibility risk. Do not activate for every visual edit or use it as a generic design audit./superior-api-securityImplement, harden, or review defensive security controls for REST APIs, including authentication and authorization boundaries, validation, rate limiting, abuse prevention, resource limits, SSRF defenses, safe errors, logging, and security tests. Use when API security, endpoint hardening, threat review, rate limiting, token handling, or sensitive business-flow protection is an explicit concern. Do not use for ordinary endpoint logic without meaningful security scope or for offensive exploitation./superior-architectureDesign, implement, or assess project structure, module ownership, dependency boundaries, and safe file or folder organization. Use when project architecture, feature placement, separation of responsibilities, or architectural refactoring is a primary concern, including new framework projects. For a read-only assessment, do not modify files unless the user also requests changes; do not activate merely because ordinary feature work adds a file./superior-code-reviewReview a code change, diff, commit, branch, or pull request for actionable defects, regressions, security risks, compatibility breaks, and missing verification. Use when code review is the primary requested outcome. Keep the review read-only unless the user explicitly asks to implement fixes; do not use as a substitute for implementation or a specialized visual audit./superior-commentsAdd, revise, or remove source-code comments while preserving executable behavior. Use for comment-only cleanup, documentation comments, TODO quality, and reducing narration. Do not use when the requested change modifies logic./superior-copywritingWrite or revise user-facing product and marketing copy with a specific voice, verifiable claims, natural rhythm, and useful actions. Use for interface labels, onboarding, landing pages, help text, and product messaging. Do not use for code comments or neutral technical documentation unless tone editing is requested.Other plugins' skills for the same job