reducing-entropy

Minimize final codebase size by biasing decisions toward deletion and simplification.

6|1|Updated Dec 29, 2025
One-click install
npx skills add https://github.com/mgajewskik/opencode-config --skill reducing-entropy-mgajewskik
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reducing-entropy
Source: https://github.com/mgajewskik/opencode-config/tree/main/skills/reducing-entropy
Command: npx skills add https://github.com/mgajewskik/opencode-config --skill reducing-entropy-mgajewskik

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Manual technique to counter codebase growth by biasing toward deletion and simplification, measuring success by the final code amount rather than effort.

Core Features & Use Cases

  • Bias toward deletion to reduce total code
  • Evaluate changes by final codebase size, not effort or churn
  • Use during refactoring, debt cleanup, and feature requests to avoid unnecessary complexity

Quick Start

Load at least one mindset from references/ and identify deletions that minimize the final codebase.

Frequently Asked Questions about reducing-entropy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce codebase size during refactoring without breaking existing behavior?

A delete-first mindset minimizes codebase size by biasing refactoring decisions toward deletion and simplification. You evaluate changes by final codebase size rather than effort, identifying deletions that preserve behavior while reducing total code.

What metrics should I use to measure refactoring success beyond effort and code churn?

Use final codebase size as the primary refactoring metric instead of effort or churn. This approach enforces a final-code metric that measures success by total code remaining, encouraging decisions that actively minimize codebase volume.

When should I apply a deletion-first approach to technical debt cleanup?

Apply a deletion-first approach during technical debt cleanup when codebase growth threatens maintainability. It evaluates whether changes reduce total code, prompting you to identify what can be deleted while preserving behavior.

Can I use code minimization techniques for new feature requests to avoid unnecessary complexity?

Yes, code minimization techniques apply during feature requests to avoid unnecessary complexity. By evaluating feature implementations against a final-code metric, you ensure changes reduce total code rather than introducing additional bloat.

What is software entropy and how does it relate to codebase growth?

Software entropy is the gradual increase in codebase complexity and size over time. This approach counters entropy by applying a manual technique that biases toward deletion and simplification, measuring success by final code amount rather than effort.