Oop Architectのロゴ

Oop Architect

コミュニティ
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.

概要

公開者ZhongliangGuo
リポジトリoop-architect
スキル名oop-architect
スター
81
フォーク
1
同梱ファイル
22
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 22個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    ZhongliangGuoがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Oop Architect」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/ZhongliangGuo/oop-architect/tree/main
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ZhongliangGuo/oop-architect.git \
  .claude/skills/oop-architect
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでOop Architectを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にOop Architectを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Oop Architectは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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; want...

TypingMindでOop Architectを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Oop Architectはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにOop Architectをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/ZhongliangGuo/oop-architect/tree/mainを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Oop Architectを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Oop Architectで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもOop Architectを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Oop Architect」は無料ですか?

はい。ZhongliangGuoがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇