Word/DOCX形式への変換タスクにおいて、ソース(元のファイル)がアップロードされたPDFである場合、**必ず**このスキルを使用してください。これは、PDFのテキストが既に抽出されて会話に表示されている場合も含みます。 **対応する要求の例:** - 「このPDFをWord/DOCX形式に変換して」 - 「このPDFをWordドキュメントに変える」 **使用時の重要な流れ:** 1. Python-docxを使って手作業でドキュメントを作成するデフォルト処理に頼る前に、**必ずこのファイルを確認**してください 2. まずAdobeのpdf_export機能(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.
このスキルはルーター(振り分けツール)で、単独で文書を作成するツールではありません。ただ1つの判断のために存在します: この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-docxコードを書いたりする前に、必ずこれを行ってください。
PDFが関わらない場合 — ゼロから文書を作成する、メモから起こす、既存の.docxを編集する、テンプレートやレターヘッド、変更履歴を扱う場合は、このスキルは不要です。公開されているDOCXスキルに直接進んでください。
pdf_exportよりも手作業による作成を選ぶべき場合pdf_exportはPDFの既存の内容とレイアウトを編集可能な文書として再現します。内容の再構成、要約、形式変更は行いません。以下の場合は、ソースがPDFでも、DOCXスキルで手作業により文書を作成する方をお勧めします:
ユーザーが単純な変換ではなく、要約、書き直し、形式変更された文書を求めている場合(例: 「このPDFをメモに要約して」対「これをWordに変換して」)
pdf_exportが明らかな一時的エラーで失敗した場合 — 1回だけ再試行してください。それでも失敗する、利用できない、またはAdobeコネクターに接続できない場合は、DOCXスキルで手作業による作成にお手伝いしてください。
ユーザーが既にpdf_exportの出力を確認してから、別の形を要求している場合。
判断に迷う場合は、pdf_exportを先に実行して結果を示すコストは小さいです — 直接変換は比較することができる優れた出発点となり、うまくいかなければユーザーが修正を頼むことができます。
このスキルが存在する理由は、PowerPoint版(PPTX)で再現・確認された障害です: PDFテキストが既に会話に抽出されており、かつユーザーが変換を要求した場合、モデルは対象形式の専用スキルで手作業による作成に直接進んでしまい、adobe-anypdfの必須ルーターをスキップしてしまう傾向が見られました。同じパターンがここでも想定されます。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 による自動翻訳です。