oop-encapsulation
OfficialEncapsulation for robust OO design.
AuthorTheBushidoCollective
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Promote information hiding and controlled access to object internals to reduce coupling and improve maintainability.
Core Features & Use Cases
- Private state: Restrict access to internal fields.
- Defensive mutations: Validate and control state changes.
- Public interfaces: Expose stable APIs for interaction.
Quick Start
Define a class with private fields and public methods that enforce invariants, and demonstrate with a simple deposit/withdraw example.
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: oop-encapsulation Download link: https://github.com/TheBushidoCollective/han/archive/main.zip#oop-encapsulation Please download this .zip file, extract it, and install it in the .claude/skills/ directory.