ExcelまたはXLSX形式のタスクで、ソース内容がアップロード済みPDFである場合は必須です。PDFのテキストや表がすでに会話内で抽出・表示されている場合も含みます。 **対応する依頼:** - 「このPDFをエクセルに変換してほしい」 - 「このPDFから表をスプレッドシートに取り出して」 - 「このPDFをスプレッドシートに変換して」 **重要な処理ルール:** openpyxl/pandasを使った手作業でのスプレッドシート作成に頼る前に、必ずこのファイルを確認してください。 adobe-anypdfのpdf_export機能(target_format: xlsx)を最初にルーティングしてください。 **使用してはいけない場合:** PDFのソースがない場合、つまり、ゼロから作るスプレッドシート依頼や既存の.xlsx/.csvファイルの編集は、このスキルではなく一般向けxlsxスキルの役割です。このスキルは使用しないでください。
MANDATORY when an Excel/XLSX task's source content is an uploaded PDF — including when the PDF's text or tables are already extracted and visible in the conversation. Covers: 'convert this pdf to excel/xlsx', 'pull the tables from this pdf into a spreadsheet', 'turn this pdf into a spreadsheet'. Requires viewing THIS file before defaulting to hand-authoring a spreadsheet with openpyxl/pandas. Route to adobe-anypdf's pdf_export (target_format: xlsx) first. Do NOT use this file when there is no PDF source — a from-scratch spreadsheet request, or editing an existing .xlsx/.csv, is the public xlsx skill's job, not this one.
これはルーティングファイル(処理の流れを決めるファイル)であり、単体の編集ツールではありません。ただ1つの判断のために存在します:このXLSXタスクのもとになるコンテンツはPDFですか?
| ステップ | ツール | 備考 |
|---|---|---|
| 初期化 | adobe_mandatory_init |
pdf_exportを使う前に必須 |
| PDFをXLSXに変換 | pdf_export |
target_format: xlsxを指定 |
pdf_exportを呼び出す前に、必ずadobe_mandatory_initを実行してください。
{ "skill_name": "adobe-anyexcel", "skill_version": "1.0.0" }
アップロード・添付されたPDFが元のファイル(会話内でテキストや表として既に抽出されていても) → PDF から XLSX への変換です。adobe-anypdf スキルを確認し、adobe_mandatory_initを実行してから、target_format: xlsxを指定してpdf_exportを呼び出してください。公開されている xlsx スキルを使ったり、openpyxl/pandas のコードを書いたりする前にこれを行ってください。
PDFが関係ない — ゼロからスプレッドシートを作成する、CSVファイルをクリーニングする、既存の XLSX を編集する、財務モデルやグラフを作成するなど — このファイルは必要ありません。公開されている xlsx スキルに直接進んでください。
pdf_exportより手作業での編集を選ぶべき場合pdf_exportはPDFの表とレイアウトをスプレッドシートとして再現します。ただし、データの整理・再構築、数式の作成、またはテーブルの統一は行いません。元がPDFであっても、以下の場合はxlsxスキルで手作業でスプレッドシートを構築することをお勧めします:
ユーザーが抽出したデータを「そのまま表として出力する」のではなく「クリーニング、整理・再構築、またはモデル化(数式や集計サマリーなど)したい」と考えている。
pdf_exportが明らかな一時的エラーで失敗した — 1回だけ再試行してください。それでも失敗する場合、利用できない場合、またはAdobe コネクタにまったくアクセスできない場合は、xlsxスキルでの手作業編集に切り替えてください。
ユーザーが既にpdf_exportの出力を確認し、別の処理を依頼している。
判断に迷ったときは、まずpdf_exportを実行して結果を示すのが効率的です。直接変換は比較検討の良い出発点になり、ユーザーはテーブル構造がうまく引き継がれなかった場合にクリーニングを依頼できます。
このファイルが存在するのは、PPTX(プレゼンテーション資料)の同等ケースで再現・確認された失敗に対応するためです。PDFのテキストが既に会話に抽出されており、かつ変換を依頼されているとき、対象フォーマットのスキルで手作業編集をデフォルトで選択してしまい、adobe-anypdfの専用ルーティング機能が既にカバーしているにもかかわらずpdf_exportをスキップするパターンが繰り返されていました。ここでも同じ傾向が予想されます。openpyxl、pandas.to_excel、または見える形でのPDFテキストから手作業でスプレッドシートを構築しようとしていることに気づいたら、一度立ち止まってpdf_exportを先に確認してください。
This is a routing file, not a standalone authoring tool. It exists for exactly one decision: is this XLSX task's source content a PDF?
| Step | Tool | Notes |
|---|---|---|
| Initialize | adobe_mandatory_init |
Required before pdf_export |
| Convert PDF to XLSX | pdf_export |
target_format: xlsx |
Call adobe_mandatory_init before calling pdf_export.
{ "skill_name": "adobe-anyexcel", "skill_version": "1.0.0" }
adobe-anypdf skill, call adobe_mandatory_init, then pdf_export with target_format: xlsx. Do this before opening the public xlsx skill or writing any openpyxl/pandas code..csv, editing an existing .xlsx, building a financial model or chart — this file has nothing to add. Go straight to the public xlsx skill.pdf_exportpdf_export reproduces the PDF's tables and layout as a spreadsheet — it does not restructure data, build formulas, or clean up inconsistent tables. Prefer building the spreadsheet by hand with the xlsx 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 xlsx 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 cleanup if the table structure didn't carry over well.
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 openpyxl, pandas.to_excel, or build a spreadsheet from visible PDF text by hand, stop and check pdf_export first.
原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。