Mandatory authoring and workflow rules for creating artifacts (HTML documents, reports, specs, visual summaries, and standalone deliverables). Always use this skill before drafting, revising, or archiving any artifact to follow the visual-first layout with diagrams/tables/screenshots, plain high-school-level Japanese vocabulary, short concise sentences, and the local HTML artifact workflow (~/artifacts placement, sequential filename reservation, Tailscale viewer URL linking, and post-task archiving).
Ships in kf-global. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
artifacts(HTML 資料、設計メモ、調査レポート、比較資料などの成果物)を作成・修正する際に参照する作成基準。
「頑張って読む長文」ではなく、「パッと見で全体がつかめる資料」を作ることを目的とする。
文章だけで説明しようとしない。視線を動かすだけで要点が頭に入る構成を優先する。
専門知識がなくても読める平易な言葉を選ぶ。背伸びした表現や不必要なカタカナ語を避ける。
ローカルストレージ(ブラウザ内の保存領域)1 つの文に複数の内容を詰め込まない。読み手が息継ぎせずに理解できる長さを保つ。
文章で書き始めたら、次のどれかに置き換えられないか確認する。
| 伝えたい内容 | 優先する表現 |
|---|---|
| 案やツールの違い | 比較表・2 カラムカード |
| 作業の流れ・手順 | 番号付きリスト・ステップ図・フロー図(SVG / Mermaid) |
| フォルダやシステムの構成 | 構成図・ツリー図 |
| 数値・割合・推移 | KPI カード・グラフ・バー表示 |
| 画面レイアウト・操作感 | スクリーンショット・簡易モック図 |
| 重要な注意点・結論 | 強調ボックス(コールアウト) |
避ける例(長い段落・難しい語彙・図なし):
本システムはローカル環境上でマルチスレッド HTTP サーバーを常駐稼働させ、ディレクトリ配下の静的アセットをパストラバーサル対策を施しつつ非同期 API 経由で取得し、クライアント側ではリサイズ可能な 2 ペインレイアウトとローカルストレージによる永続化、さらにモバイル端末向けにはトランジション付きドロワーナビゲーションを提供する。
目指す例(短い文・平易な語彙・リスト化+図解前提):
Mac Studio で動く、ローカル HTML 閲覧ツール。
- PC 画面: 左にファイル一覧、右にページ本体を並べて表示する。境界のドラッグで幅を変えられる。
- スマホ画面: 左メニューを隠し、ボタンで出し入れする。ページを選ぶと自動で閉じて全画面になる。
- 安全対策: 指定フォルダ以外のファイルは開けない仕組みにする。
(ここに PC / スマホの画面構成図を並べて配置する)
HTML 形式のアーティファクトを作成する場合は、次の運用ルールに従う。
~/artifacts/ 直下に配置する。{01始まりの2桁連番}_{テーマ名}.html(例: 01_API設計調査.html){親連番}-{子連番}_{テーマ名}.html(例: 02-1_競合比較.html, 02-2_アーキテクチャ図.html)~/artifacts/ 直下と当月 ~/artifacts/YYYY/MM/ 配下の最大親連番 + 1(月ごとリセット、日付プレフィックスなし)。他セッションとの番号重複を防ぐため、作成を決めた時点でまず reserve.py を実行して空ファイルを作成する。
# 単一ファイル予約
python3 ~/projects/viewer/scripts/reserve.py <テーマ名>
# 同一タスクで複数予約(NN-1, NN-2, ...)
python3 ~/projects/viewer/scripts/reserve.py <テーマ1> <テーマ2>
# 既存親連番に子連番を追加
python3 ~/projects/viewer/scripts/reserve.py --parent <親番号> <テーマ名>
予約された空ファイルに対して HTML を書き込む。
HTML アーティファクトを作成・更新したときは、回答の先頭あたりに Tailscale 経由のビューワー直接リンクを含める。
https://sawas-mac-studio.tailb3cfd6.ts.net:8766/?file=<URLエンコード済みファイル名>https://sawas-mac-studio.tailb3cfd6.ts.net:8766/?file=YYYY%2FMM%2F<URLエンコード済みファイル名>タスクが完了したら、作成した HTML を archive.py で ~/artifacts/YYYY/MM/ 配下へ移動する(日ディレクトリは作らない)。
python3 ~/projects/viewer/scripts/archive.py <ファイル名> [<ファイル名2> ...]
kf-g-artifacts-sanitize も適用し、会話のやり取りや制作過程のメモが紛れ込んでいないかWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/kf-global:kf-g-artifacts-creation-rulesfrom kf-global
npx claudepluginhub melumuccu/ai --plugin kf-global14 skills in this plugin
/kf-g-artifacts-sanitizeUse this skill when creating artifacts. Apply it to revise those artifacts so they read as natural, standalone deliverables and do not leak prompt instructions, conversation history, implementation constraints, or production-process traces./kf-g-css-flex-gridUse this skill when designing, reviewing, or generating CSS layout with display grid or flex. Apply it whenever the user asks about grid-template, grid-area naming, flex-direction, or needs to choose between grid and flex for component or page layout./kf-g-css-spacing-gap-margin-rulesUse this skill when designing, reviewing, or generating CSS spacing rules. Apply it whenever the user asks whether spacing should use gap, margin, or structural empty space, wants to avoid margin-based layout spacing, or needs rules for container-owned spacing in grid or flex layouts./kf-g-css-tak-animationsUI animations necessity judgment, recommendations for motion design, implementation strategies, and performance/accessibility reviews. Targets include hover, active, focus, popover, tooltip, dropdown, dialog, tab, segmented control, card, button, toast, accordion, carousel, scroll-linked animation, View Transitions, and more./kf-g-css-tak-design-system-terminologyUse this skill when defining, reviewing, or correcting design system terminology for CSS, layout, components, and UI concepts. Apply it when names may conflict with Web standards, HTML semantics, or responsibility boundaries./kf-g-css-tak-font-size-text-zoomUse this skill when deciding whether font-size should use rem or px, reviewing Chrome text zoom support, or choosing whether text-dependent spacing and sizing should scale with typography. Apply it when CSS uses blanket rem conversion, root font-size hacks, or relative units such as em and ch without a clear semantic basis.