ノート

XMLタグ付きプロンプト構造ガイド

フリーのプロンプト百科事典 Wikiprompt より

Alex Prompter

2025年8月31日

XMLタグ付きプロンプト構造ガイド XMLタグを用いたプロンプト構造化の簡潔なガイド。役割、文脈、手順、制約、出力形式を網羅し、コードや長文テキストには例示タグを使用する。

プロンプト内容保存

🌐
Break down prompt into sections Based on the sections, name them with xml tags Usually nice to have role context step by step guide, constraints, and output format If you're putting some code examples or examples of other long chunks of text, wrap them in xml code like <example> [CODE OR TEXT] </example> and reference what this example represents inside context section of the prompt Will work well

ログインして完全なプロンプトを表示

次で続行:

ログインすると、次に同意したことになります: 利用規約 プライバシーポリシー

使い方

このプロンプトは productivity 向けに設計されています。上の内容をコピーして、お好みの AI ツールに貼り付けてください。

最良の結果を得るには、プレースホルダー(角括弧や大文字で示された部分)を具体的な要件に置き換えてください。

参考資料

カテゴリ:productivity| twitter| prompt-structuring| xml-tags

ノート