Oop Architect logo

Oop Architect

Community
ZhongliangGuo
oop-architect

OOP architecture planning and progress tracking for software projects. Generates Mermaid UML (class, sequence, component, state, and ER diagrams) inside CLAUDE.md with full typed signatures, visibility markers, implementation status on every class/method/relationship, and special notes for constraints. CLAUDE.md becomes a self-maintaining architecture blueprint. Use this skill whenever: the user starts a new project needing architecture planning; says "plan", "architect", "design the classes", "OOP", "UML", or "class diagram"; is building a multi-file project; asks to resume a project; wants to sync/refresh architecture after changes; triggers manually (e.g. /oop-architect); says "update CLAUDE.md", "update UML", or "sync architecture". Even if OOP isn't mentioned explicitly — if the project benefits from structured class design, suggest this skill.

Overview

PublisherZhongliangGuo
Repositoryoop-architect
Skill nameoop-architect
Stars
81
Forks
1
Bundled files
22
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 22 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by ZhongliangGuo on GitHub. Read the source before you install it.

Installation

Install the Oop Architect AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/ZhongliangGuo/oop-architect/tree/main
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ZhongliangGuo/oop-architect.git \
  .claude/skills/oop-architect
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Oop Architect in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Oop Architect on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Oop Architect is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

OOP Architect

A skill for designing, documenting, and tracking object-oriented software architecture using Mermaid UML diagrams inside CLAUDE.md.

Core Philosophy

This skill exists because vibe coding sessions get interrupted. When you return after hours or days, CLAUDE.md with live-updated UML lets you instantly see: what's built, what's not, how things connect, and what constraints exist.

The architecture should be language-agnostic in principle but language-aware in practice — the same OOP thinking applies everywhere, but UML adapts to each language's idioms.


Step 0 — Before Anything: Two Checks

Check A: Is OOP appropriate?

If the project is a single-file script, a one-off data transformation, a purely functional pipeline, or has no shared state between components — OOP adds complexity without value. In that case, tell the user directly and suggest a simpler approach. Do not force a class hierarchy.

Check B: Detect the mode

Assess the situation, then read the corresponding reference:

CLAUDE.md exists?Code exists?Mode
NoNoPhase 1 — Read references/new-project.md
NoYesPhase 3 — Read references/generate-from-code.md
YesYes, user wants to add a featurePhase 4 — Read references/extend-design.md
YesYes, code has changedPhase 2 — Read references/resync.md

Phase 2 vs Phase 4 disambiguation — when CLAUDE.md exists and both could apply, use these signals:

  • User describes something new to build ("add X", "design Y", "I want to implement Z") → Phase 4
  • User mentions drift, scanning, or syncing ("resync", "update CLAUDE.md", "scan the project", "things have changed") → Phase 2
  • User says something ambiguous ("let's continue", "keep going", "what's next") → ask: "Do you want to design a new feature, or sync the architecture with the current state of the code?"

Check C: Load language reference

Detect the primary language from file extensions, imports, or user statement. Read the matching file before generating any UML. If the language is not listed, read references/langs/generic.md.

LanguageReference
Pythonreferences/langs/python.md
Java / C# / Kotlinreferences/langs/java-csharp-kotlin.md
TypeScript / JavaScriptreferences/langs/typescript-javascript.md
Goreferences/langs/go.md
Rustreferences/langs/rust.md
C++references/langs/cpp.md
Swiftreferences/langs/swift.md
Rubyreferences/langs/ruby.md
PHPreferences/langs/php.md
Otherreferences/langs/generic.md

For multi-language projects, read all relevant language files and apply principle 8 (separate diagrams per layer).


Phase 1: Design from Scratch

Read references/new-project.md.


Important Principles

  1. UML is the source of truth for architecture. Code is the source of truth for implementation. CLAUDE.md bridges them.
  2. Keep diagrams readable. More than 15–20 classes in one diagram → split by module. Name each section after its module (### Class Diagram — Auth, ### Class Diagram — Payment). Cross-module relationships go in the component diagram, not across split class diagrams.
  3. Special notes are precious. They capture constraints that can't be derived from code.
  4. Status tracking enables resume. ✅/🔶/🔲 lets anyone instantly see what's done, what's next.
  5. Extensibility is designed, not accidental. Abstract base methods should be needed by every subclass — if only some subclasses need it, it belongs in a mixin or separate interface.
  6. CLAUDE.md is self-maintaining. The generated file contains its own update rules — this skill only runs for initial planning and full resyncs.
  7. Test code stays out of UML. Mock classes, fakes, and test fixtures don't belong in architecture diagrams. Exception: a test double that ships as part of the production library (e.g., an in-memory adapter intended for downstream users) should be included.
  8. Multi-language projects: separate diagrams per layer. For a project with e.g. a Python backend and TypeScript frontend, create one class diagram per language layer and label each section clearly. Cross-language boundaries (REST API, message queue) go in the component diagram, not in class relationships. Shared data contracts (request/response schemas) go in a dedicated section using the most expressive type system available.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Oop Architect AI skill do?

OOP architecture planning and progress tracking for software projects. Generates Mermaid UML (class, sequence, component, state, and ER diagrams) inside CLAUDE.md with full typed signatures, visibility markers, implementation status on every class/method/relationship, and special notes for constraints. CLAUDE.md becomes a self-maintaining architecture blueprint. Use this skill whenever: the user starts a new project needing architecture planning; says "plan", "architect", "design the classes", "OOP", "UML", or "class diagram"; is building a multi-file project; asks to resume a project; want...

Why use Oop Architect on TypingMind?

Because you install it once and use it with any model. Oop Architect is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Oop Architect in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ZhongliangGuo/oop-architect/tree/main. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Oop Architect?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Oop Architect?

As many as you like. As long as a model supports skills, you can use Oop Architect with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Oop Architect AI skill free?

Yes. It is published on GitHub by ZhongliangGuo under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇