clean-code-ch06-objects-and-data-structures
CommunityEnforce clean object-data boundaries in code.
Software Engineering#code-review#dto#clean-code#active-record#law-of-demeter#object-data-structures#hybrids
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 requiredComponents
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.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.