書籍や章、システム設計について、ファイルを変更せずに資料を読み、根拠を添えて質問に回答します。
- 書籍や章の内容を確認したいとき
- 設計の仕組みを説明してほしいとき
- 変更せず資料の根拠を知りたいとき
システムや依存関係の説明から、構成要素と呼び出しの向きを整理したMermaid図を作り、構文を検証してMarkdownで提示します。
Create concise, syntax-verified Mermaid architecture diagrams. Use when the user asks to diagram a chapter topic, system, component, dependency flow, or supplied description in Mermaid.
実行スコア 未検証
インストール方法を見るシステムや章の説明をもとに、サービス、データストア、人、依存関係を絞り込んだMermaidの構成図を作成します。矢印は呼び出しや読み書きの向きを示し、必要な場合だけ通信方法などのラベルを付けます。章の内容を図にする場合は該当ファイルを読んで、説明にある名称と整合させます。作成した図は指定バージョンのMermaid CLIで構文を検証し、問題があれば修正してから、図と短い説明を提示します。
システムの構成やコンポーネント間の関係を図にしたいとき、依存関係の流れを共有したいとき、章の内容を図解したいときに向いています。手順書のような手作業を稼働中のサービスと同列に描かず、必要に応じて区別して表します。
検証にはnpx -y @mermaid-js/mermaid-cli@11.16.0を使います。GitBookではMermaidのコードブロックが標準で表示されない場合があり、公開章ではSVG画像にするか、プラグインの有効化確認が必要です。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Draw a mermaid architecture diagram in markdown for: $ARGUMENTS
svc[api-gateway]. Use [(...)] for datastores, [[...]]-style queues only if the chapter does. Humans (user, operator) are triangles: user@{ shape: tri, label: "user" }.cron["nightly compaction job (spawned, exits when done)"]). Never draw a manual procedure as a peer of running infrastructure; give it its own subgraph titled as manual.A --> B means A calls/reads/writes B — never the reverse. Label an edge (A -->|gRPC| B) only when the relationship isn't obvious.flowchart TB; LR only if much wider than deep. subgraph only for real boundaries (region, cluster, trust zone, sync vs. async path).en/<file>.md) — don't diagram from guesswork. Keep names consistent with the chapter's prose.Syntax gotchas: quote labels containing (, ), [, { (a["Queue (SQS)"]); never name a node bare end or graph; quote subgraph titles with spaces.
.mmd file under .agents/tmp/ (gitignored).npx -y @mermaid-js/mermaid-cli@11.16.0 -i <file>.mmd -o <file>.svg; exit 0 means valid. The version is pinned deliberately (supply chain) — bump consciously.A single ```mermaid fenced block plus a short explanation of the key flow. If asked to put it in a file, insert the verified block there.
Book caveat: the GitBook build (gitbook-cli, Node 10) does not render Mermaid fences by default. For published chapters, either render the verified .mmd to an image under images/ (-o images/<name>.svg, referenced as ../images/<name>.svg) or confirm a Mermaid plugin is enabled in book.json before leaving a raw fence in a chapter. Mirror the diagram in both en/ and zh-CN/ (translate labels only).
まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
書籍や章、システム設計について、ファイルを変更せずに資料を読み、根拠を添えて質問に回答します。
`.pm`の作業項目を順に確認し、実装・完了処理・保留・無効項目の整理を進め、対応できる項目がなくなるまで作業します。
本の公開作業ボードを確認・整理し、作業の追加、完了、保留、取り下げなどを反映します。状態や未解決の課題も把握できます。
本のロードマップ案を読者への影響から整理し、マイルストーンやタスク候補に分解します。公開ボードへ反映するための提案文を作成します。
現在のブランチの変更を確認し、リモートの更新を取り込んでからコミットしてプッシュします。依頼に沿って変更を公開する作業を進めます。