plugins/kronen/skills/reducing-entropy/SKILL.md
Delete dead code, remove unused files, and shrink the codebase. Applies a deletion-first mindset: measure success by how much code remains, not effort spent. Use when cleaning up after a feature, removing unused skills or plugins, simplifying over-engineered code, auditing for dead imports or unreachable paths, or deciding whether a refactor actually reduces complexity. Manual activation only.
npx skillsauth add hjemmesidekongen/ai reducing-entropyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
More code begets more code. Entropy accumulates. Every line added creates maintenance burden, cognitive load, and surface area for bugs. The natural drift of any codebase is toward bloat.
Less total code in the final codebase. Not less effort — less output. Success is measured by the end state, not by how much work was done. A PR that deletes 200 lines and adds 0 is better than one that replaces 200 lines with 150 "cleaner" lines.
Before every change, ask:
What is the smallest possible codebase that does what we need? Not the smallest diff. The smallest final result.
Does this change result in less total code? If not, justify why the increase is unavoidable.
What can we delete? Not refactor. Not rewrite. Delete. Remove entirely.
Exceptions and additional patterns: references/process.md.
Bias toward deletion. Measure the end state.
development
Creates a brand from scratch through market research and interactive sparring. Runs competitive research via Perplexity, then guides the user through positioning, audience, voice, values, and content pillars. Produces the full brand guideline set at .ai/brand/{name}/. Use when building a new brand, defining brand strategy for a product, or when /våbenskjold:create is invoked.
testing
Loads brand guidelines from .ai/brand/{name}/ and makes them available to the current context. Progressive disclosure: L1 confirms brand exists, L2 loads summary, L3 loads specific files on demand. Use when a downstream skill or user needs brand context, or when /våbenskjold:apply is invoked.
documentation
Guided reinvention of an existing brand guideline. Loads current brand from .ai/brand/{name}/, identifies what to keep vs change, and walks the user through targeted evolution. Preserves brand equity while updating positioning, voice, or values. Use when refreshing a brand or when /våbenskjold:evolve is invoked.
development
Codifies an existing brand from materials, samples, and references. Analyzes provided content to extract voice patterns, values, and positioning. Produces the same guideline format as brand-strategy. Use when a brand already exists but isn't documented, or when /våbenskjold:audit is invoked.