記事一覧へ
開発者がプロジェクトを別の開発者やチームに引き渡す前に最初に用意しなければならないもののひとつが、アーキテクチャ図だ。
複雑なコード、サービス、インフラを明確な高レベルマップに変える視覚的な設計図として機能する。他の開発者がプロジェクトを素早く理解するのに役立ち、チームやステークホルダーがすべてがどう連携しているかを把握しやすくなる。
しかし、特にプロジェクトが大規模または複雑な場合、手動で作成するのは面倒だ。
そこで、そのプロセスを自動化する新しいAIツールを紹介する。
その名は**Architecture Diagram Generator**。普通の英語のプロンプトからクリーンで美しいアーキテクチャ図を生成できるオープンソースのClaude Skillだ。執筆時点でGitHubに約2500スターを獲得している。
## Architecture Diagram Generatorとは?
スタンドアロンのHTMLまたはSVGファイルとして美しいダークテーマのシステムアーキテクチャ図を生成できるClaude Code Skillだ。
- デザインスキル不要:アーキテクチャを普通の英語で説明するだけ
- 素早くイテレーション:Claudeにコンポーネントの追加、レイアウトの変更、スタイルの更新を依頼できる
- 簡単に共有:出力は単一のHTMLファイル、特別なソフトウェア不要
## スキルの設定方法
GitHubリポジトリ「Cocoon-AI/architecture-diagram-generator」からarchitecture-diagram.zipをダウンロードしてClaude Skillを入手する。
ZIPファイルにはSkill.mdファイルが含まれており、図を生成するためのすべての指示が含まれている。
Claude Codeにスキルを追加するには、カスタマイズ設定ページに移動し、Skillsタブで「+」アイコンをクリックして「Upload a skill」を選択する。先ほどダウンロードしたZIPファイルを選択。うまくいけば、新しいスキルがPersonal skillsセクションに追加されているはずだ。
共有ボタンの横にある有効/無効スイッチでスキルが有効になっていることを確認する。
以上で完了。スキルが使えるようになった。
## 図の作成方法
図を作成するには、Claude Codeを開いてチャットを始める。ローカルディスクからサンプルプロジェクトをインポートし、以下のプロンプトテンプレートを使用する:
```
Use your architecture diagram skill to create an architecture diagram from this description:
> NextJS project
> Typescript Shadcn frontend
> PostgreSQL database
> Hosted on vercel
> Cloudflare for file storage
> Stripe for payment
> Resend for email
> Sanity for content
> Vercel AI gateway for AI provider
```
システムの説明は自分のプロジェクトに合わせて編集できる。アーキテクチャが完全に把握できていない場合は、プロジェクトフォルダをChatGPTまたはClaudeに読み込ませて、コードベースをスキャンしてシステムアーキテクチャを抽出するよう依頼できる。
使えるサンプルプロンプト:
```
Analyze this codebase and describe the architecture. Include all major
components, how they connect, what technologies they use, and any cloud
services or integrations. Format as a list for an architecture diagram.
```
プロンプトが準備できたら、より正確な結果を得るためにモデルを**Claude 4.6 Opus**に設定することを勧める。
これでスキルがトリガーされ、HTML形式でアーキテクチャ図が生成される。
最終結果はクリーンに仕上がる。ダークテーマ、色の選択、全体的なレイアウトがとても気に入った。若干矢印の配置が気になる部分はあるが、それも「Fix the overlapping arrows. Use curved arrows if needed.」とフォローアップするだけで修正できる。
出力はHTML形式なので、必要であれば手動でファイルを編集することもできる。
これまでいくつかの図生成ツールを試したが、このツールが断然最もエレガントな見た目だ。
## GitHubリポジトリとも連携
便利な使い方として、任意の公開GitHubリポジトリを指定すると、そのリポジトリのアーキテクチャ図も生成できる。
例えば、@garrytan による最近話題の「GBrain: Opinionated OpenClaw/Hermes Agent Brain」を試したところ、リポジトリ内の元のアーキテクチャ図と比べて、はるかにスリークでプロフェッショナルな図が生成された。レイアウトがクリーンで、スペースが意図的で、全体的なプレゼンテーションが見やすい。ドキュメント、プレゼンテーション、プロジェクト引き渡しにそのまま使えるレベルだ。
全体として、手動ですべてを行わずにクリーンでプロフェッショナルな外観のアーキテクチャ図を作成したい開発者やチームにとって、本当に便利なスキルだ。
ドキュメント作成、引き渡し、オンボーディングに最適で、スキルがHermesエージェントに組み込まれたことで、ワークフローの一部にすることがさらに簡単になった。
@AlphaSignalAI をフォローして、このようなコンテンツを受け取ろう。
AlphaSignal.aiでAIのトップモデル、リポジトリ、論文の日次サマリーをチェックしよう。28万人以上の開発者に読まれている。

ai-designharness-designclaude-setup
AIでアーキテクチャ図を自動生成するClaude Skill
♥ 527↻ 77
原文を表示 / Show original
For developers, one of the first few things you need to come up with before handing over a project to another dev or team is an architecture diagram.
It serves as a visual blueprint that turns complex code, services, and infrastructure into a clear high-level map. It helps other developers understand the project faster and makes it easier for teams and stakeholders to see how everything works together.
But creating one manually can be a hassle, especially if the project is large or complex.
So here’s a new AI tool that automates that process for you.
It’s called Architecture Diagram Generator, an open-source Claude skill that can generate clean, beautiful architecture diagrams from a plain English prompt. At the time of writing, it has already racked up around 2.5k stars on GitHub.
What is Architecture Diagram Generator?
It’s a Claude Code skill that lets you generate beautiful, dark-themed system architecture diagrams as standalone HTML or SVG files.
No design skills needed: just describe your architecture in plain English
Iterate quickly: ask Claude to add components, change layouts, or update styles
Share easily: output is a single HTML file, no special software required
Setting up the skill
Get the Claude Skill by downloading the architecture-diagram.zip file from this GitHub repo: Cocoon-AI/architecture-diagram-generator
The ZIP file should contain the Skill.md file, which includes all the necessary instructions for generating the diagrams.
To add the skill to Claude, go to the Customize settings page and, under the Skills tab, click the + icon and select Upload a skill.
Select the ZIP file you downloaded earlier. If everything goes well, you should see the new skill added to the Personal skills section.
Make sure the skill is enabled by toggling the enable/disable switch beside the share button.
That’s it. The skill is now ready to use.
How to create diagrams
To create diagrams, open Claude Code and start a chat. Import a sample project from your local disk and use the text below as a prompt template:
plaintext
Use your architecture diagram skill to create an architecture diagram from this description:
> NextJS project
> Typescript Shadcn frontend
> PostgreSQL database
> Hosted on vercel
> Cloudflare for file storage
> Stripe for payment
> Resend for email
> Sanity for content
> Vercel AI gateway for AI provider
You can edit the system description based on your own project. If you are not fully sure about the architecture, you can load the project folder into ChatGPT or Claude and ask it to scan the codebase and extract the system architecture for you.
Here’s a sample prompt you can use.
plaintext
Analyze this codebase and describe the architecture. Include all major
components, how they connect, what technologies they use, and any cloud
services or integrations. Format as a list for an architecture diagram.
Once the prompt is ready, I recommend setting the model to Claude 4.6 Opus for a more accurate result.
This will trigger the skill and generate the architecture diagram in HTML format.
This is what the final result looks like:
Awesome. The diagram already looks clean, although there are still a few slightly awkward arrow placements. Still, I really like the dark theme, the color choices, and the overall layout.
To clean it up, you can simply follow up with Claude and ask it to fix the issues. In my example, I just said: “Fix the overlapping arrows. Use curved arrows if needed.” Here’s the updated diagram:
Awesome. I love how clean and sleek it looks now. Since the output is in HTML format, I can also continue editing the file manually if needed.
I’ve tried a couple of diagram generators before, but this one is by far the most elegant-looking.
It works with GitHub repos too
Another cool trick is that you can point it to any public GitHub repository, and the tool can generate a nice architecture diagram for that as well.
For example, I took the recently viral GBrain: Opinionated OpenClaw/Hermes Agent Brain by @garrytan and asked Claude to create a diagram using the custom skill.
The original architecture diagram in the repo looks like this:
This is what Claude created:
Just look at the visual difference between the two. The new diagram looks much more sleek and professional. The layout is cleaner, the spacing feels more intentional, and the overall presentation is much easier on the eyes. It looks like something you could immediately drop into documentation, a presentation, or a project handoff without needing much extra cleanup.
Overall, this is a really useful skill for developers and teams who want a faster way to create clean, professional-looking architecture diagrams without doing everything manually.
It’s great for documentation, handoffs, and onboarding, and now that the skill is built into Hermes agent, it’s even easier to make it part of your workflow.
Follow @AlphaSignalAI for more content like this.
Check out AlphaSignal.ai to get a daily summary of top models, repos, and papers in AI. Read by 280,000+ devs.