jpskill.com
📦 その他 コミュニティ

generating-output-styles

ユーザーの要望に応じて、Claudeのシステムプロンプトや挙動を調整し、独自の出力スタイルを作成することで、Claudeの応答形式をカスタマイズしたり、出力スタイルファイルを生成したりするSkill。

📜 元の英語説明(参考)

Creates custom output styles for Claude Code that modify system prompts and behavior. Use when the user asks to create output styles, customize Claude's response format, generate output-style files, or mentions output style configuration.

🇯🇵 日本人クリエイター向け解説

一言でいうと

ユーザーの要望に応じて、Claudeのシステムプロンプトや挙動を調整し、独自の出力スタイルを作成することで、Claudeの応答形式をカスタマイズしたり、出力スタイルファイルを生成したりするSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o generating-output-styles.zip https://jpskill.com/download/19041.zip && unzip -o generating-output-styles.zip && rm generating-output-styles.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/19041.zip -OutFile "$d\generating-output-styles.zip"; Expand-Archive "$d\generating-output-styles.zip" -DestinationPath $d -Force; ri "$d\generating-output-styles.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して generating-output-styles.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → generating-output-styles フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
2

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

出力スタイルの生成

Anthropic の標準とベストプラクティスに従って、Claude Code 用のカスタム出力スタイルを作成します。

コンテキスト

出力スタイルは、Claude Code のシステムプロンプトを変更し、ソフトウェアエンジニアリング以外の動作に適応させます。これらはメインのエージェントループに直接影響し、応答のトーン、構造、アプローチを制御します。

主な機能:

  • フロントマター付きの有効な出力スタイル Markdown ファイルを生成します
  • 適切な命名および説明の標準を適用します
  • 段階的開示に従って指示を構造化します
  • keep-coding-instructions を適切に設定します
  • ファイルを正しい場所(ユーザーレベルまたはプロジェクトレベル)に配置します

ワークフロー

フェーズ 1: 要件の収集

  1. 出力スタイルの目的とターゲットとなる動作を決定します
  2. コーディング指示を保持すべきかどうかを特定します
  3. 配置場所を選択します: ~/.claude/output-styles/ (ユーザー) または .claude/output-styles/ (プロジェクト)
  4. .claude/skills/output-style/references/output-style-docs.md の出力スタイルドキュメントを参照します

フェーズ 2: 出力スタイルファイルの作成

  1. フロントマターを作成します:

    • name: 明確で説明的な名前(UI に表示されます)
    • description: ユーザー向けの簡単な説明
    • keep-coding-instructions: true/false (デフォルト: false)
  2. システムプロンプトの変更を記述します:

    • ロールの定義から始めます
    • 特定の動作とアプローチを定義します
    • フォーマットガイドラインを含めます
    • 特別な指示や制約を追加します
    • 指示は簡潔で実行可能なものにします
  3. コンテンツを構造化します:

    • Markdown ヘッダーを使用して整理します
    • 役立つ場合は具体的な例を提供します
    • Claude Code のコア機能と矛盾しないようにします
    • 制限ではなく、追加の指示に焦点を当てます

フェーズ 3: 検証と保存

  1. YAML フロントマターの構文(開始/終了の ---)を確認します
  2. 説明がユーザーフレンドリーで明確であることを確認します
  3. keep-coding-instructions が要件と一致していることを確認します
  4. 適切な場所に保存します
  5. /output-style コマンドでアクティベーションをテストします

実装戦略

ファイル形式:

---
name: Style Name
description: User-facing description of what this style does
keep-coding-instructions: false
---

# Custom Style Instructions

You are an interactive CLI tool that helps users with software engineering tasks. [Custom instructions...]

## Specific Behaviors

[Define how the assistant should behave in this style...]

命名ガイドライン:

  • name フィールドにはタイトルケースを使用します
  • 名前は簡潔かつ説明的にします
  • 名前に専門用語を使用しないようにします
  • 例: "Explanatory", "Learning", "Technical Writer"

説明ガイドライン:

  • 開発者向けではなく、エンドユーザー向けに記述します
  • スタイルが何をするのかを説明し、どのようにするのかは説明しません
  • 200文字以内に収めます
  • 利点とユースケースに焦点を当てます

keep-coding-instructions:

  • false (デフォルト): ソフトウェアエンジニアリングの指示を削除し、まっさらな状態にします
  • true: コーディングガイダンスを保持し、その上に変更を追加します

制約

  • 必須フィールドをすべて含む有効な YAML フロントマターを含める必要があります
  • システムプロンプトの変更は、Claude Code のコア機能を補完するものであり、矛盾するものであってはなりません
  • ツール権限やセキュリティ制限を上書きすることはできません
  • ファイルは .md 拡張子を使用する必要があります
  • 認識されている output-styles ディレクトリに配置する必要があります
  • 説明は UI に表示されるため、ユーザーフレンドリーである必要があります

成功基準

  • 適切な YAML フロントマターを持つ有効な Markdown ファイル
  • 名前と説明がガイドラインに従っている
  • keep-coding-instructions が適切に設定されている
  • システムプロンプトの指示が明確で実行可能である
  • ファイルが正しい場所に保存されている
  • /output-style コマンドでアクティベートできる
  • アクティブ時に期待される動作変更が生成される

例 1: テクニカルライタースタイル

---
name: Technical Writer
description: Produces detailed documentation with comprehensive explanations
keep-coding-instructions: true
---

# Technical Writer Instructions

You are an interactive CLI tool that helps users with software engineering tasks.

## Documentation Approach

- Provide comprehensive explanations for all code changes
- Include detailed comments in code
- Document edge cases and assumptions
- Create thorough README sections when relevant
- Explain trade-offs in implementation decisions

## Formatting

- Use clear section headers
- Include code examples with explanations
- Add inline comments for complex logic
- Structure responses with intro, body, conclusion

例 2: ミニマリストスタイル

---
name: Minimalist
description: Provides concise responses with minimal explanation
keep-coding-instructions: true
---

# Minimalist Instructions

You are an interactive CLI tool that helps users with software engineering tasks.

## Communication Style

- Keep responses under 5 lines when possible
- Use code without explanatory prose
- Omit obvious explanations
- Respond with direct answers
- Only elaborate when explicitly asked

クイックリファレンス

一般的な出力スタイルのパターン:

  1. 教育スタイル: keep-coding-instructions: true を設定し、説明的なガイダンスを追加します
  2. 専門ドメインスタイル: keep-coding-instructions: false を設定し、新しいロールを定義します
  3. フォーマットスタイル: keep-coding-instructions: true を設定し、応答構造ルールを追加します
  4. トーン修飾子: keep-coding-instructions: true を設定し、コミュニケーションスタイルを調整します

テストワークフロー:

  1. 出力スタイルファイルを作成します
  2. /output-style を実行してメニューに表示されることを確認します
  3. スタイルをアクティベートします
  4. 代表的なタスクでテストします
  5. 動作に基づいて反復します
  6. .claude/settings.local.json でスタイルが保持されていることを確認します

関連ドキュメント

  • 出力スタイルドキュメント: .claude/skills/output-style/references/output-style-docs.md
  • 出力スタイルテンプレート: .claude/templates/output-style.md (存在する場合)
  • 設定ドキュメント: Claude Code 設定リファレンス
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Generating Output Styles

Creates custom output styles for Claude Code following Anthropic's standards and best practices.

Context

Output styles modify Claude Code's system prompt to adapt its behavior beyond software engineering. They directly affect the main agent loop and control response tone, structure, and approach.

Key capabilities:

  • Generate valid output style markdown files with frontmatter
  • Apply proper naming and description standards
  • Structure instructions following progressive disclosure
  • Configure keep-coding-instructions appropriately
  • Place files in correct locations (user vs project level)

Workflow

Phase 1: Gather Requirements

  1. Determine the output style purpose and target behavior
  2. Identify if coding instructions should be retained
  3. Choose placement: ~/.claude/output-styles/ (user) or .claude/output-styles/ (project)
  4. Reference output style documentation at .claude/skills/output-style/references/output-style-docs.md

Phase 2: Create Output Style File

  1. Craft frontmatter:

    • name: Clear, descriptive name (shown in UI)
    • description: Brief explanation for users
    • keep-coding-instructions: true/false (default: false)
  2. Write system prompt modifications:

    • Start with role definition
    • Define specific behaviors and approaches
    • Include formatting guidelines
    • Add any special instructions or constraints
    • Keep instructions concise and actionable
  3. Structure content:

    • Use markdown headers for organization
    • Provide concrete examples when helpful
    • Avoid contradicting core Claude Code functionality
    • Focus on additive instructions, not restrictions

Phase 3: Validate and Save

  1. Verify YAML frontmatter syntax (opening/closing ---)
  2. Ensure description is user-friendly and clear
  3. Confirm keep-coding-instructions matches requirements
  4. Save to appropriate location
  5. Test activation with /output-style command

Implementation Strategy

File format:

---
name: Style Name
description: User-facing description of what this style does
keep-coding-instructions: false
---

# Custom Style Instructions

You are an interactive CLI tool that helps users with software engineering tasks. [Custom instructions...]

## Specific Behaviors

[Define how the assistant should behave in this style...]

Naming guidelines:

  • Use title case for name field
  • Keep names concise but descriptive
  • Avoid technical jargon in names
  • Examples: "Explanatory", "Learning", "Technical Writer"

Description guidelines:

  • Write for end users, not developers
  • Explain what the style does, not how
  • Keep under 200 characters
  • Focus on benefits and use cases

keep-coding-instructions:

  • false (default): Removes software engineering instructions, clean slate
  • true: Retains coding guidance, adds modifications on top

Constraints

  • Must include valid YAML frontmatter with all required fields
  • System prompt modifications should complement, not contradict, core Claude Code
  • Cannot override tool permissions or security restrictions
  • File must use .md extension
  • Must be placed in recognized output-styles directory
  • Description shown in UI, so must be user-friendly

Success Criteria

  • Valid markdown file with proper YAML frontmatter
  • Name and description follow guidelines
  • keep-coding-instructions set appropriately
  • System prompt instructions are clear and actionable
  • File saved to correct location
  • Can be activated via /output-style command
  • Produces expected behavioral changes when active

Examples

Example 1: Technical Writer Style

---
name: Technical Writer
description: Produces detailed documentation with comprehensive explanations
keep-coding-instructions: true
---

# Technical Writer Instructions

You are an interactive CLI tool that helps users with software engineering tasks.

## Documentation Approach

- Provide comprehensive explanations for all code changes
- Include detailed comments in code
- Document edge cases and assumptions
- Create thorough README sections when relevant
- Explain trade-offs in implementation decisions

## Formatting

- Use clear section headers
- Include code examples with explanations
- Add inline comments for complex logic
- Structure responses with intro, body, conclusion

Example 2: Minimalist Style

---
name: Minimalist
description: Provides concise responses with minimal explanation
keep-coding-instructions: true
---

# Minimalist Instructions

You are an interactive CLI tool that helps users with software engineering tasks.

## Communication Style

- Keep responses under 5 lines when possible
- Use code without explanatory prose
- Omit obvious explanations
- Respond with direct answers
- Only elaborate when explicitly asked

Quick Reference

Common output style patterns:

  1. Educational styles: Set keep-coding-instructions: true, add explanatory guidance
  2. Specialized domain styles: Set keep-coding-instructions: false, define new role
  3. Formatting styles: Set keep-coding-instructions: true, add response structure rules
  4. Tone modifiers: Set keep-coding-instructions: true, adjust communication style

Testing workflow:

  1. Create output style file
  2. Run /output-style to verify it appears in menu
  3. Activate the style
  4. Test with representative tasks
  5. Iterate based on behavior
  6. Verify style persists in .claude/settings.local.json

Related Documentation

  • Output Style Docs: .claude/skills/output-style/references/output-style-docs.md
  • Output Style Template: .claude/templates/output-style.md (if exists)
  • Settings Documentation: Claude Code settings reference

同梱ファイル

※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。