# Oop Concepts

> Design object-oriented software from requirements: the 4 pillars, SOLID, GoF design patterns, composition vs inheritance, interface vs abstract class, coupling and cohesion, UML class diagrams, OOP anti-patterns, and when OOP fits vs procedural/functional.

Oop Concepts is a free AI agent skill on Agensi by Maulana Ruhaedi Putra, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Maulana Ruhaedi Putra](https://www.agensi.io/creators/maulana-ruhaedi-putra)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.0
- Last updated: 2026-11-30
- Security: scan passed (2026-11-30); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/oop-concepts
- Tags: ai-agents, python, typescript, uml, solid

## About this skill

Design object-oriented software from requirements: the 4 pillars, SOLID, GoF design patterns, composition vs inheritance, interface vs abstract class, coupling and cohesion, UML class diagrams, OOP anti-patterns, and when OOP fits vs procedural/functional.

## Requires

- Python

## Known limitations

Java code is illustrative only and not validated via compiler. Mermaid diagrams require external rendering support.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Oop Concepts skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill help prevent "spaghetti code" in new projects?

This skill eliminates common architectural debt like "god objects" and rigid inheritance by enforcing SOLID principles and composition-first design during the initial modeling phase.

### Which programming languages and environments are fully supported?

The skill is optimized for Python 3.12 and TypeScript/Node.js 24 environments, providing implementation-ready class structures and Mermaid UML diagrams for these languages.

### What specific deliverables are included in this skill purchase?

You receive the full architectural workflow, including CRC modeling templates, a SOLID design auditing checklist, and automated Mermaid UML generation for visualizing class relationships.

### Can I use this skill to refactor existing legacy code, or is it only for new projects?

Yes, the "Design Auditing" feature allows you to input existing code to identify anti-patterns like Primitive Obsession and receive specific refactoring recommendations.

### Does this skill generate the final application logic or just the class structures?

While the skill provides the architectural blueprints and interface definitions, the developer is responsible for implementing the specific business logic within the generated class structures.

### Why is this better than simply asking a general AI to "write an OOP class"?

Unlike basic prompts, this skill uses a structured CRC (Class-Responsibility-Collaborator) framework to ensure logic is placed according to the Information Expert pattern rather than creating anemic data models.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
