Maintaining Consistent Abstractions

Community

Design clean, focused classes with single-purpose abstractions.

Authorobra
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill eliminates poorly designed classes that mix multiple responsibilities, making code difficult to understand, maintain, and extend.

Core Features & Use Cases

  • Abstraction Analysis: Identify when classes mix domain logic with serialization, persistence, or unrelated concerns.
  • Refactoring Guidance: Provides specific patterns to separate mixed concerns into focused classes.
  • Use Case: When reviewing an Employee class that contains both business logic methods like calculate_annual_salary() and serialization methods like to_json().

Quick Start

Analyze this class for abstraction consistency: class Employee { calculateAnnualSalary() { return this.salary * 12; } toJSON() { return JSON.stringify({...}); } }

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Maintaining Consistent Abstractions
Download link: https://github.com/obra/clank/archive/main.zip#maintaining-consistent-abstractions

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.