oop-principles

Community

Assess TypeScript/JavaScript code against object-oriented principles.

Authorbsene
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill evaluates TypeScript/JavaScript code against Dave Thomas's object-oriented principles and the Tell Don't Ask rule, helping developers identify and refactor class-oriented anti-patterns.

Core Features & Use Cases

  • OO Principles Analysis: Analyze code for adherence to principles like single responsibility, open/closed, and Liskov substitution.
  • Tell Don't Ask Rule: Identify and suggest refactoring for code that violates the Tell Don't Ask rule.
  • Anti-Patterns Detection: Detect common anti-patterns such as data classes, invalid after construction classes, and over-inheritance.
  • Refactoring Guidance: Provide decision trees and checklists for refactoring classes into more efficient structures.

Quick Start

Use the oop-principles skill to analyze your TypeScript/JavaScript code and receive feedback on object-oriented design principles.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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-principles
Download link: https://github.com/bsene/approvalsTypescript/archive/main.zip#oop-principles

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