Skip to content
Agentmart
Submit a tool

exhtml

概念・仕組み・調査内容を、用語集・目次・図・コードを備えたHTMLで解説するSkill。 同梱のtemplateを埋めて作成し、既存のexhtml成果物は本文だけを更新する。 ユーザーが「HTMLで解説して」「HTMLにまとめて」のように依頼したら使うこと。…

Skill by mjun0812

IndexedMIT★ 1
Write a review

Chalk Labs

Need help deploying exhtml?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/mjun0812-exhtml

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

概念・仕組み・調査内容を、用語集・目次・図・コードを備えたHTMLで解説するSkill。 同梱のtemplateを埋めて作成し、既存のexhtml成果物は本文だけを更新する。 ユーザーが「HTMLで解説して」「HTMLにまとめて」のように依頼したら使うこと。 Markdownでのまとめや、図やスライド単体の作成には使わない。

Use cases: documents, frontend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/exhtml

Tools it pre-approves 10

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Read,
  • Write,
  • Edit,
  • Glob,
  • Grep,
  • Bash(python3:*),
  • Bash(date:*),
  • Bash(open:*),
  • Bash(ls:*),
  • Bash(cat:*)

What's inside

Skill name
exhtml
Description
概念・仕組み・調査内容を、用語集・目次・図・コードを備えたHTMLで解説するSkill。 同梱のtemplateを埋めて作成し、既存のexhtml成果物は本文だけを更新する。 ユーザーが「HTMLで解説して」「HTMLにまとめて」のように依頼したら使うこと。 Markdownでのまとめや、図やスライド単体の作成には使わない。
License
MIT
Allowed tools
Read,, Write,, Edit,, Glob,, Grep,, Bash(python3:*),, Bash(date:*),, Bash(open:*),, Bash(ls:*),, Bash(cat:*)
Instructions
155 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts
  • Pre-approves some shell commands

Files (6)

  • README.md
  • README_ja.md
  • SKILL.md
  • openai.yaml · agents/
  • template.html · assets/
  • check_exhtml.py · scripts/

SKILL.md (first lines)

# exhtml

概念・仕組み・調査内容を、読み手が原文を読まなくても理解できる1枚のHTMLにする。
見た目はtemplateで固定し、内容だけを書く。
用語集を右、目次を左に置き、既定はダークでライトへ切り替えられる。

## 併用推奨

文章の規範は `japanese-tech-writing`, `cognitive-rhythm-writing`, `stop-ai-slop-jp` skillに従う。
インストールされていれば、Skill toolで `japanese-tech-writing`、`cognitive-rhythm-writing`、`stop-ai-slop-jp` を呼んで読み込む。
exhtmlは構成と見た目だけを定め、文章の書き方は再定義しない。

## 成果物

- HTML 1ファイル。ビルド不要でブラウザが直接開ける
- 保存先は`/tmp/YYYY-MM-DD-<内容を表す英語slug>.html` に保存する。同名ファイルがあれば上書きする

## 手順

1. 対象を確定する。会話で確立した内容、指定されたファイル、調査結果のどれでもよい。曖昧なら会話全体から推定する
2. 想定読者を決める。依頼や会話から読み手が分からなければ、依頼したユーザー本人を想定読者とする
3. 構成を決める。背景 → 本文 → 関連事項の順を基本とする。
4. 新規なら `assets/template.html` をコピーしてプレースホルダーを埋める。更新なら本文・用語集・`updated` を書き換える。テンプレート部分は編集しない。
5. 作成した本文をもとに、用語集を作成する。
6. 使っていない任意ブロック (mathjax / shiki / mermaid) を削除する
7. 検査scriptを実行し、`ok` になるまで修正する。検査を通していないファイルを成果物として報告しない

   ```bash
   python3 "<skill-dir>/scripts/check_exhtml.py" <file.html>
   ```

   `<skill-dir>` はこのSKILL.mdがあるディレクトリを指す

8. macOSなら `open <file.html>` で開く。
9. 「何を書いたか / 保存先 」を報告し、本文は再掲しない

## テンプレート

場所は `assets/template.html` 。

| プレースホルダー | 内容                                                                                       |
| ---------------- | ------------------------------------------------------------------------------------------ |
| `{{TITLE}}`      | h1と 主題の`<title>`。内容に合わせた明確なものにする                                       |
| `{{CREATED}}`    | 作成日 `YYYY-MM-DD` (`date +%Y-%m-%d`)                                                     |
| `{{UPDATED}}`    | 更新日 `YYYY-MM-DD`。新規作成時は作成日と同じ                                              |
| `{{MODEL}}`      | 書いたモデル名 (例: `claude-fable-5-1`)。                                                  |
| `{{LEDE}}`       | h1直下のリード文。1〜2文                                                                   |
| `{{SUMMARY}}`    | 冒頭要約の `<li>` を1〜3個                                                                 |
| `{{BODY}}`       | 本文。h2/h3には必ず英語の `id` を付ける (目次はこのidからJSが生成する。目次を手書きしない) |
| `{{GLOSSARY}}`   | 用語集。`<dt id="term-<slug>">用語</dt><dd>定義</dd>` の並び                               |

書き換え禁止の範囲:

- `exhtml:template-begin` から `exhtml:template-end` (`<style>`)。検査scriptがテンプレートとの一致を確認する
- `exhtml:runtime` ブロック (テーマ切替と目次生成)
- ページ固有の `<style>` と `<script>` は書かない。図の配置調整のような最小限の `style` 属性だけ許す

任意ブロックは開始コメントから終了コメントまでを丸ごと削除する。

| ブロック         | 残す条件                                                            |
| ---------------- | ------------------------------------------------------------------- |
| `exhtml:mathjax` | 本文に `$...$` か `$$...$$` の数式がある                            |
| `exhtml:shiki`   | `language-plaintext` 以外の `<pre><code class="language-*">` がある |
| `exhtml:mermaid` | `<pre class="mermaid">` がある                                      |

利用可能なUI Component(class名):

| 部品                                                         | 用途                                                                         |
| ------------------------------------------------------------ | ---------------------------------------------------------------------------- |
| `ex-card`, `ex-card-label`, `ex-grid-2`                      | 比較や前提・結果の並置。均一なカードを並べるだけの使い方はしない             |
| `ex-chip`                                                    | 並列の固有名や分類名の列挙にだけ使う。唯一角丸が許される部品                 |
| `ex-note`, `ex-note is-important`                            | 補足と、ページで最重要の注意                                                 |
| `blockquote.ex-quote`, `ex-quote-source`                     | 引用。原文と訳文を同じ文字サイズで上下に並べ、出所を末尾に置く               |
| `ex-rowlabel`                                                | 表の行見出しセル。語中の折り返しを防ぐ                                       |
| `ex-figure`, `ex-figure-frame`, `figcaption`                 | 図の外枠、表示面、図番号と説明                                               |
| `fig-node`, `fig-group`, `fig-edge`, `fig-label`, `fig-wrap` | 手描きSVGの箱、点線グループ、矢印付き線、ラベル、折り返しラベル              |
| `c1`, `c2`, `c3`, `c4`                                       | 図のカテゴリ色。`fig-node` とMermaidのnodeに付ける塗り。両テーマで切り替わる |
| `pre.ex-diff` と `span.ins` / `span.del` / `span.ctx`        | コード差分                                                                   |
| `details` / `summary`                                        | 折りたたみ                                                                   |

## 構成

- h1タイトル直後の要約は3項目以内。読み手が要約だけで主題を掴めるようにする
- 用語集には、想定読者が知らない語だけを1〜2文で定義する。想定読者が知っている一般的な用語やツール名は定義しない
- 用語集は20項目までにする。超える場合は、本文で一度しか使わない語を本文の中で説明するか、主題を分けて複数のページにする
- 本文の初出箇所は `<a class="ex-term" href="#term-<slug>">用語</a>` で用語集へリンクする。本文からリンクしない語は用語集に置かない
- 用語集は本文での初出順に並べる
- 説明対象に合わせて、並置、図解、タイムライン、要約、折りたたみを使い分ける

## デザイン規則

- 色はtemplateのtokenだけを使う。本文の有彩色はリンク (`a`) と強調 (`em`) の2つに限り、強調は1ページに数箇所まで。差分色とシンタックスハイライトは機能色として例外
- 図の中では、カテゴリや状態を表す塗りにだけ `c1` から `c4` の4色を使える。装飾には使わず、色の意味を `figcaption` に書く。線と文字は色にしない
- 角丸は `.ex-chip` だけ。他で `border-radius` を書かない
- 必要な図記号はインラインSVGで描く
- 禁止項目: 絵文字、記号文字 (チェックや星)、矢印文字、グラデーション、影、外部画像、装飾目的の色、同じ形のカードを敷き詰めるだけの構成

## 図

| 内容                                                          | 手段                        |
| ------------------------------------------------------------- | --------------------------- |
| 構成要素と関係 (ノード10個程度まで)、層構造、before/after     | 手描きSVG                   |
| 既存の形に対する小さな変更 (file tree、call tree、擬似コード) | `pre.ex-diff` の差分        |
| 直線的な手順                                                  | 番号付きの説明 (図にしない) |
| 分岐のある処理                                                | Mermaid `flowchart TD`      |
| 複数の登場人物の往復                                          | Mermaid `sequenceDiagram`   |
| テーブル間の関係                                              | Mermaid `erDiagram`         |
| 状態遷移                                                      | Mermaid `stateDiagram-v2`   |

図のノードのラベルには本文で説明済みの語だけを使い、図の中で新しい用語を出さない。
原典に重要な図がある場合は出所を明記してリンクで参照し、模倣図を作らない。

手描きSVGの規則:

- `.ex-figure` > `.ex-figure-frame` > `<svg viewBox="...">` に置き、`figcaption` を付ける
- 線幅と色を自分で指定せず、`fig-*` のclassに任せる。色は `currentColor` でテーマに追従する
- カテゴリを塗りで区別するときは `<rect class="fig-node c1">` のように `c1` から `c4` を付ける。`fill="#..."` や `style` 属性で色を書かない。凡例は同じclassの小さな `rect` で図の中に置くか、`figcaption` に書く
- 箱の幅はラベルから決める。半角1文字8px、全角1文字16px、左右に16pxずつの余白
- 長いラベルは `<foreignObject>` の中に `<div class="fig-wrap">` を置いて折り返す

From mjun0812/skills, MIT.

More from mjun0812/skills

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Oct 17, 2026 (13 days ago)
Last release
Oct 22, 2026 (9 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from mjun0812

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get exhtml running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying exhtml?

CallGet help
Cite this page

exhtml skill. Agent Mart. https://agentmart.dev/skills/mjun0812-exhtml (last updated 2026-10-24)