Word/DOCX変換タスクの元データが、アップロードされたPDFファイルである場合は**必須**で使用します。PDFのテキストが既に抽出されて会話に表示されている場合も含みます。 **対応する依頼:** - 「このPDFをWord/DOCXに変換して」 - 「このPDFをWord文書にして」 **重要な注意点:** このスキルを使う前に、**まずそのPDFファイルを確認する必要があります**。その後、python-docx(文書作成用のツール)で手作業を行うのではなく、adobe-anypdf プラグインの pdf_export機能を使用してください。その際、target_format を「docx」に設定します。 **このスキルを使わない場合:** - PDFの元データがない場合 - 白紙から新しい文書を作成する依頼 - 既存の .docx ファイルを編集する依頼 これらの場合は、公開されている通常の docx スキルを使用してください。
MANDATORY when a Word/DOCX task's source content is an uploaded PDF — including when the PDF's text is already extracted and visible in the conversation. Covers: 'convert this pdf to word/docx', 'turn this pdf into a word document'. Requires viewing THIS file before defaulting to hand-authoring a document with python-docx. Route to adobe-anypdf's pdf_export (target_format: docx) first. Do NOT use this file when there is no PDF source — a from-scratch document request, or editing an existing .docx, is the public docx skill's job, not this one.
これはルーティングファイル(処理の振り分け担当)で、独立したドキュメント作成ツールではありません。ただ一つの判断のために存在します:このDOCXタスクのもとになる内容はPDFですか?
| ステップ | ツール | 説明 |
|---|---|---|
| 初期化 | adobe_mandatory_init |
pdf_export の前に必須 |
| PDFをDOCXに変換 | pdf_export |
target_format: docx を指定 |
pdf_export を呼び出す前に、必ず adobe_mandatory_init を呼び出してください。
{ "skill_name": "adobe-anydocx", "skill_version": "1.0.0" }
ソースがアップロード・添付されたPDFである場合(会話内でテキストが抽出済みであっても含む)
→ これはPDFからDOCXへの変換です。adobe-anypdf スキルを確認し、adobe_mandatory_init を呼び出した後、target_format: docx を指定して pdf_export を実行してください。公開されている docx スキルを使用したり Python コードを書く前に、この作業を済ませてください。
PDFが関わらない場合(新規作成、メモから起草、既存の .docx 編集、テンプレート・レターヘッド・変更履歴の作業など)
→ このファイルの出番はありません。公開されている docx スキルを直接使用してください。
pdf_export より手作業での作成を選ぶべき場合pdf_export はPDFの既存の内容とレイアウトを編集可能なドキュメントとして再現するものです。内容の再構成・要約・再フォーマットは行いません。以下に該当する場合は、ソースがPDFであっても docx スキルで手作業により構築することをお勧めします:
ユーザーが字句通りの変換ではなく、要約版、改稿版、再フォーマット版を求めている場合 (例:「このPDFをメモに変換して」ではなく「このPDFを要約して」)
pdf_export が明確な一時的エラー(一度のみ再試行してください)で失敗した場合。それでも失敗する、利用できない、Adobe コネクタに接続できない場合は、docx スキルでの手作業に切り替えてください。
ユーザーが pdf_export の出力を確認済みで、別の形式を求めている場合
判断に迷ったときは、まず pdf_export を実行して結果を示すのが効果的です。直接変換は比較の出発点として良好であり、ユーザーが必要に応じて再構築を求めることができます。
このファイルが存在する理由は、PPTX の場合で確認・再現された失敗パターンによります:テキストが既に会話で抽出されているPDFが与えられ、かつ変換をリクエストされた場合、モデルが adobe-anypdf 自身の必須ルーターで既に対応済みであるにもかかわらず、pdf_export をスキップして目的の形式のスキルで直接手作業を開始してしまうという繰り返しが発生しました。同じパターンがここでも起こることが想定されます。python-docx を呼び出そうとしたり、.docx テンプレートを展開しようとしていることに気づいたら、一度立ち止まって先に pdf_export を確認してください。
This is a routing file, not a standalone authoring tool. It exists for exactly one decision: is this DOCX task's source content a PDF?
| Step | Tool | Notes |
|---|---|---|
| Initialize | adobe_mandatory_init |
Required before pdf_export |
| Convert PDF to DOCX | pdf_export |
target_format: docx |
Call adobe_mandatory_init before calling pdf_export.
{ "skill_name": "adobe-anydocx", "skill_version": "1.0.0" }
adobe-anypdf skill, call adobe_mandatory_init, then pdf_export with target_format: docx. Do this before opening the public docx skill or writing any python-docx code..docx, working with a template, letterhead, or tracked changes — this file has nothing to add. Go straight to the public docx skill.pdf_exportpdf_export reproduces the PDF's existing content and layout as an editable document — it does not restructure, summarize, or reformat. Prefer building the document by hand with the docx skill instead, even when the source is a PDF, if:
pdf_export fails with a clear transient error — retry once. If it still fails, is unavailable, or the Adobe connector isn't reachable at all, fall back to hand-authoring with the docx skill.pdf_export output and asked for something different.When in doubt, running pdf_export first and showing the result costs little — a direct conversion is a fine starting point to compare against, and the user can then ask for a rebuild if it didn't carry over cleanly.
This file exists because of a reproduced, confirmed failure in the equivalent PPTX case: given a PDF with its text already extracted into the conversation, plus a request to convert it, the model has repeatedly defaulted straight to hand-authoring with the target format's own skill — skipping pdf_export entirely, even when adobe-anypdf's own MANDATORY router already covered the request. The same pattern is expected to apply here. If you notice yourself about to call python-docx or unzip a .docx template in response to a PDF-sourced request, stop and check pdf_export first.
原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。