/clairvoyance:abstraction-quality [file or module path]from clairvoyance
Evaluates whether abstractions are genuinely simplifying or structurally shallow. Use when layers feel redundant, wrappers add boilerplate, or an abstraction leaks implementation details.
Ships in clairvoyance. 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.
None: SKILL.md is the whole skill.
When invoked with $ARGUMENTS, focus the analysis on the specified file or module. Read the target code first, then apply the checks below.
Evaluate whether abstractions are genuine (hiding complexity) or false (adding layers without reducing what callers must know).
Can callers forget what's underneath? If yes, it's genuine. If callers must peek through to use it correctly, it's false.
A file system can safely hide which disk blocks store data. It cannot hide flush rules for durable storage. Databases depend on that guarantee.
Each layer should provide a fundamentally different way of thinking about the problem. If two adjacent layers have similar methods, similar parameters, similar concepts, the layering adds cost without value.
Check: compare the interface of each layer. Are they at different conceptual levels? Or is one just a thin rephrasing of the other?
Decorators are structurally committed to shallowness. A decorator that adds one behavior to a class with twenty methods has nineteen pass-throughs and one meaningful method.
For the full decorator-alternatives checklist, see deep-modules' "Decorator Alternatives" section.
Ask whether the new functionality really needs to wrap the existing functionality. If not, implement it independently.
See deep-modules' "Pass-Through Method Audit" fixes (Expose, Redistribute, Merge) for the full remedy taxonomy.
This skill asks "is the abstraction genuine?": does each layer provide a different way of thinking? deep-modules asks the follow-up: "is the module deep enough?": does the interface justify what's behind it? A layer can provide a genuinely different abstraction and still be shallow. Use this skill first to evaluate layer structure, then deep-modules to evaluate depth within each layer.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub codybrom/clairvoyance --plugin clairvoyance16 skills in this plugin
/code-evolutionEvaluates whether changes to existing code maintain or degrade design quality. Use when the user asks to review a diff or PR (for example before merging it), or asks about recently modified files, to judge whether each change looks designed-in or bolted-on. Not for scanning design smells (use red-flags) or assessing overall design investment (use strategic-mindset)./comments-docsReviews comment quality and documentation practices: the four comment types, comments-first workflow, and comment rot. Use when reviewing comments or docs, when comments just repeat the code, or when something is hard to describe in a sentence. Not for naming or code obviousness (use naming-obviousness)./complexity-recognitionOther plugins' skills for the same job