clean-code-ch06-objects-and-data-structures

Community

Enforce clean object-data boundaries in code.

Authorhatlesswizard
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps ensure code adheres to the object-data boundary concepts from Clean Code Chapter 6, preventing data structures from leaking internal state and promoting proper object design.

Core Features & Use Cases

  • Detects data abstraction violations by flagging getters/setters that expose internal fields and check for overexposed data
  • Identifies Data/Object Anti-Symmetry and Law of Demeter violations, including train wrecks and deep navigation
  • Flags hybrids, DTOs with business logic, and Active Record misuse
  • Useful for code reviews and refactoring planning across OO projects, especially when evaluating classes that mix behavior and data

Quick Start

Run the analysis against your codebase to surface violations of data abstraction, train wrecks, and hybrids in object-oriented designs.

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: clean-code-ch06-objects-and-data-structures
Download link: https://github.com/hatlesswizard/clean-code-skills/archive/main.zip#clean-code-ch06-objects-and-data-structures

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 471,000+ vetted skills library on demand.