Extract Glossary logo

Extract Glossary

Community
mizchi
extract-glossary

指定されたリポジトリ、複数リポジトリ、または GitHub organization から、ドメイン固有の専門用語、業界用語、社内・プロダクト用語、リポジトリ実装マップ、技術構成、オンボーディング向け Mermaid 構成図を抽出・生成するときに使う。ユーザーが「用語集を作る」「ドメイン辞書を作る」「オンボーディング資料にする」「repo/org を見て専門用語をまとめる」「AI が再確認しなくてよい知識ベースを作る」と依頼したら起動する。

Overview

Publishermizchi
Repositoryskills
Skill nameextract-glossary
Stars
333
Forks
4
Bundled files
Instructions only
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.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

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

Installation

Install the Extract Glossary 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.
  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/mizchi/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/extract-glossary .claude/skills/extract-glossary
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Extract Glossary 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 Extract Glossary 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 Extract Glossary 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.

extract-glossary

指定されたコードベースから、人間のオンボーディング資料兼 AI の再確認防止用ナレッジを作るためのスキル。 成果物は「用語辞書」「リポジトリ実装マップ」「技術構成」「小さな Mermaid 図」に分ける。

目的

  • 新規参加者が、業界用語・組織内用語・実装固有名を短時間で読めるようにする。
  • AI エージェントが同じ用語や構成を毎回聞き返さず、既存資料を参照して作業できるようにする。
  • コードベースの説明を、推測ではなく README/docs/schema/IaC/code 上の根拠に結びつける。

入力として受け取るもの

以下のどれでもよい。

  • ローカル checkout のパス: ../repo, ~/ghq/github.com/org/repo
  • GitHub URL: https://github.com/org/repo
  • 複数リポジトリのリスト
  • GitHub organization 名と絞り込み条件
  • 出力先: 既存 repo の docs、.claude/skills/<domain>-glossary/、任意の Markdown ファイル群

入力が曖昧な場合は、まず候補 repo と出力先を確認する。ただしローカルや GitHub から合理的に特定できる場合は探索を始める。

成果物の標準構成

スキルとして作る場合は以下を基本にする。

text
<domain>-glossary/
├── SKILL.md
├── references/
│   ├── glossary.md
│   ├── repository-map.md
│   └── architecture.md
└── assets/
    └── architecture-diagrams.md

通常の docs として作る場合も、同じ分割を保つ。

ファイル役割
glossary.md用語辞書。業界用語、ドメイン用語、組織内略称、実装固有名を分ける。
repository-map.mdrepo ごとの責務、主要ディレクトリ、見るべき入口、外部依存をまとめる。
architecture.md技術スタック、データフロー、インフラ、デプロイ、運用上の注意をまとめる。
architecture-diagrams.mdMermaid 図。巨大な一枚図ではなく、用途別の小さな図に分ける。
SKILL.mdAI がどの reference をいつ読むべきかだけを書く。詳細を詰め込みすぎない。

調査手順

1. スコープを確定する

  1. 対象 repo/org と対象 branch/commit を確認する。
  2. local checkout がある場合は git remote -vgit rev-parse HEAD を確認する。
  3. GitHub 上の repo を見る場合は default branch と URL を確認する。
  4. 成果物には、機械固有のローカルパスではなく GitHub URL を載せる。

ローカルパスを使って調査してもよいが、最終成果物では以下のように変換する。

text
/Users/me/ghq/github.com/org/repo/docs/foo.md
-> https://github.com/org/repo/blob/<branch-or-sha>/docs/foo.md

2. コーパスを作る

優先して読むもの:

  • README.md, CLAUDE.md, AGENTS.md, docs/, adr/, design/, architecture/
  • openapi.yaml, GraphQL schema, Protocol Buffers, SQL schema, migration, DB docs
  • Terraform, Packer, CDK, SAM, Helm, Kubernetes, GitHub Actions, deploy docs
  • package manifests: package.json, go.mod, Cargo.toml, composer.json, pyproject.toml, etc.
  • entrypoints and routing: main.*, routes.*, controller/resolver/handler files

避けるもの:

  • node_modules, vendor, generated code, build artifacts, minified files, lockfile details
  • 大量ログや fixture を主情報源にすること
  • 名前だけから断定すること

探索にはまず rg --filesrg を使う。

3. 用語候補を抽出する

用語は必ず分類する。

分類判断基準
業界用語RTB, SSP, VAST, OAuth, ETL社外でも通じる標準・業界語。
ドメイン用語Publisher, Campaign, Order, Placement事業領域の概念。社外語でもプロダクト内の意味を持つ。
組織内用語略称、旧称、チーム固有名README/docs/code に出るが外部標準ではない。
実装固有名service 名、directory 名、table prefixコードベース内の構成要素。
インフラ用語ECS, Snowflake, Meilisearch, Packer技術基盤として理解が必要な語。

各用語には以下を持たせる。

  • 用語
  • 意味
  • 分類
  • 主な実装・参照 repo
  • 根拠 URL
  • 注意点または混同しやすい語
  • 確度: confirmed / inferred / needs-check

inferred は名前・配置からの推定。断定文にしない。

4. リポジトリ実装マップを作る

repo ごとに以下をまとめる。

  • 何を実装しているか
  • 主要 component / directory
  • 技術スタック
  • 入口になる README/docs/source files
  • 他 repo との通信・データ依存
  • DB/schema/API/protocol の境界
  • 調査時に最初に見るべきファイル

複数 repo の関係は、まず粗い repo-level の対応表を作り、次に重要 repo だけ component-level に分解する。

5. 技術構成・インフラ構成をまとめる

最低限、以下の観点を分けて書く。

  • runtime request flow
  • config / master data flow
  • batch / ETL / report flow
  • auth / identity / user data flow
  • DB / search / cache / object storage
  • cloud resources and IaC ownership
  • deploy / rollback / observability
  • local development prerequisites

クラウド構成は「どのサービスを使っているか」と「どの repo が管理しているか」を分ける。

Mermaid 図の作り方

巨大な一枚図にしない。1 図 1 トピックにする。

推奨する小図:

目的
repository overviewrepo 間の大まかな責務と依存だけを見る。
config/data path管理画面や DB の設定が runtime に届く流れを見る。
request sequence実リクエストの runtime 通信を見る。sequenceDiagram を優先する。
integration entries外部 partner、webhook、protocol endpoint など入口別に見る。
infra ownershipTerraform/CDK/SAM などが何を管理するかを見る。
data pipelinelog/report/warehouse/search/indexing の流れを見る。

図の制約:

  • 1 図あたり 10 ノード前後、15 edge 前後を目安にする。
  • Mermaid の subgraph を深くしすぎない。重なりや長い交差線が出たら分割する。
  • edge label は短くする。説明は本文に逃がす。
  • protocol/schema の詳細図は、ユーザーが明示的に求めた場合だけ作る。
  • 生成物、schema、runtime 通信を同じ図に混ぜない。
  • レンダリング結果が読みにくいなら、図を増やして分割する。

出典・URL ルール

  • 成果物にはローカル絶対パスや ../repo を載せない。
  • 参照元は GitHub URL、公式 docs URL、またはユーザーが指定した永続 URL にする。
  • local checkout で調査した場合も、remote URL と branch/commit から GitHub URL に変換する。
  • private repo で URL が読めない可能性がある場合でも、読者が権限を持てば辿れる URL を載せる。
  • 不確かな場合は needs-check とし、根拠の弱さを明示する。

品質チェック

提出前に以下を確認する。

bash
# ローカルパス漏れ
rg -n -F '../' <output-dir>
rg -n '/Users/|/home/' <output-dir>

# Markdown の基本チェック
git diff --check

# Mermaid block 数と fence 対応
rg -n '(^```mermaid|^```$|^flowchart|^sequenceDiagram)' <diagram-file>

# mmdc があればレンダリング確認
command -v mmdc && mmdc -i <diagram-file> -o /tmp/diagrams.svg

mmdc がない場合は、その旨を最終報告に書く。

回答時の注意

  • 「現時点の repo 上では」と「推定」を分ける。
  • 業界用語と組織内用語を混ぜない。
  • 成果物の用途が onboarding なら、読む順番と調査入口を必ず入れる。
  • AI 用 skill にする場合、SKILL.md は薄く保ち、詳細は references/ に逃がす。
  • ユーザーが commit/push/PR を求めた場合だけ git publish flow に進む。

Frequently asked questions

What does the Extract Glossary AI skill do?

指定されたリポジトリ、複数リポジトリ、または GitHub organization から、ドメイン固有の専門用語、業界用語、社内・プロダクト用語、リポジトリ実装マップ、技術構成、オンボーディング向け Mermaid 構成図を抽出・生成するときに使う。ユーザーが「用語集を作る」「ドメイン辞書を作る」「オンボーディング資料にする」「repo/org を見て専門用語をまとめる」「AI が再確認しなくてよい知識ベースを作る」と依頼したら起動する。

Why use Extract Glossary on TypingMind?

Because you install it once and use it with any model. Extract Glossary 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 Extract Glossary in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/mizchi/skills/tree/main/extract-glossary. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Extract Glossary?

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 Extract Glossary?

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

Is the Extract Glossary AI skill free?

It is published on GitHub by mizchi. Check the repository for licensing terms. 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 👇