From output-style-manager
Output Styleをインポートする。コミュニティ共有スタイルの一覧からも選択可能。「スタイルを追加」「add output style」で呼び出される。
How this skill is triggered — by the user, by Claude, or both
Slash command
/output-style-manager:add-output-styleThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
`$ARGUMENTS` にインポート元が指定される。
$ARGUMENTS にインポート元が指定される。
/add-output-style — 引数なし: コミュニティ一覧から選択/add-output-style https://example.com/style.md — URLからインポート/add-output-style /path/to/style.md — ローカルファイルからインポート$ARGUMENTS が空の場合: コミュニティ一覧を表示
${CLAUDE_PLUGIN_ROOT}/registry.json を Read で読み取り、styles 配列をパースする。
各エントリには以下のフィールドがある:
name — スタイル名description — スタイルの説明gist_id — Gist ID(null の場合は同梱スタイル)author — 作成者bundled — 同梱スタイルかどうか同梱スタイル(bundled: true)は一覧から除外する(これらは既にインストール済み)。
コミュニティスタイル(bundled: false)を AskUserQuestion でユーザーに提示する:
ユーザーが選択したスタイルの gist_id を使って手順2に進む(gh gist view <gist_id> --raw)。
コミュニティスタイルが見つからない場合:
$ARGUMENTS がURLまたはファイルパスの場合:
そのまま手順2に進む。
URLの場合(http:// または https:// で始まる):
GitHub Gist の URL の場合、raw コンテンツURLに変換する必要がある:
https://gist.github.com/user/id → gh gist view <id> --raw で内容を取得(Bash)ローカルファイルパスの場合:
取得した内容が有効なOutput Styleファイルか検証する:
--- で囲まれたセクション)が存在するかname フィールドがあるか検証に失敗した場合:
---
name: style-name
description: スタイルの説明
---
スタイルの指示内容をここに記述
ファイル名はフロントマッターの name フィールドをケバブケース化して使用する。
(例: name: "My Cool Style" → my-cool-style.md)
保存先: ~/.claude/custom-output-styles/<ファイル名>.md
ディレクトリが存在しない場合は作成する:
mkdir -p ~/.claude/custom-output-styles
同名ファイルが既に存在する場合:
取得した内容をそのまま保存先に書き込む(Write ツールを使用)。
AskUserQuestion で確認する:
「有効化する」の場合:
echo "<スタイル名>" > ~/.claude/output-style-active
以下の情報をユーザーに伝える:
/set-output-style <スタイル名> で有効化できます」npx claudepluginhub dandelion0216/output-style-manager --plugin output-style-managerManages Claude Code output styles via delegation to docs-management: built-ins, customs, frontmatter, /output-style switching, creation, comparisons, and config.
Provides Python scripts for PDF-to-Markdown conversion, Markdown postprocessing, style extraction, Jinja templates, and linguistic configs for paper-style-generator.
Design Claude Code output styles: persona, tone, and behavioral rules that replace the default system prompt. Invoke whenever task involves any interaction with output styles — creating, editing, evaluating, or changing how Claude communicates.