Skip to content

45ck/oop-code-structure-skills

Repository files navigation

oop-code-structure-skills

oop-code-structure-skills logo

oop-code-structure-skills banner

MIT License 11 skills OOP

A platform-neutral object-oriented code structure skill pack for class design, cohesion, encapsulation, lifecycle decisions, equality semantics, visibility, and inheritance versus composition review.

Included skills

  • class-responsibility-checker
  • encapsulation-reviewer
  • constructor-sanity-checker
  • equals-hashcode-reviewer
  • static-vs-instance-reviewer
  • method-cohesion-checker
  • overloading-overriding-reviewer
  • inheritance-vs-composition-advisor
  • visibility-modifier-reviewer
  • immutability-opportunity-finder
  • object-lifecycle-reviewer
  • naming-and-abstraction-reviewer

Features

  • Preserves the original skills/, templates/, and examples/ source material
  • Mirrors packaged skills into both .claude/skills/ and .agents/skills/
  • Focuses on maintainable class design and object modelling decisions

Install

Option A: Install globally

git clone https://github.com/45ck/oop-code-structure-skills.git
cd oop-code-structure-skills
bash install.sh

This installs every packaged skill into both:

  • ~/.claude/skills/
  • ~/.agents/skills/

Option B: Copy into a project

cp -R .claude /path/to/your-project/
cp -R .agents /path/to/your-project/

Uninstall

bash uninstall.sh

Usage

/class-responsibility-checker current OrderService design
/encapsulation-reviewer domain model package
/constructor-sanity-checker aggregate creation flow
/inheritance-vs-composition-advisor notification strategy
/immutability-opportunity-finder current DTO and value objects
/naming-and-abstraction-reviewer service and repository layer

Repo structure

skills/                              original source skills
templates/                           reusable templates
examples/                            sample flow material
.claude/skills/<skill>/SKILL.md      packaged skill format
.agents/skills/<skill>/SKILL.md      mirrored packaged skill format
install.sh                           global installer
uninstall.sh                         global uninstaller
LICENSE                              MIT

Related workflow agents

Related skill packs

License

MIT

About

Object-oriented design skill pack for class responsibilities, encapsulation, composition, immutability, and code structure.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages