unified-deliverable-workflow
できること
このスキルは、関連する複数のファイルを、それぞれに決まった試行回数を割り当てて一緒に作る計画です。整合性のあるスプレッドシート、図、レポートが必要な人向けです。
使う場面
- ✓一つのタスクで、Excelファイル、図、PDFレポートを一緒に求めているとき。
- ✓一つのファイルがすべてのステップを使い切らないように、作業を分けたいとき。
- ✓サンドボックスの失敗を、作業全体を失わずに扱う必要があるとき。
スキルのリンク
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/pdf-checklist-workflow-enhanced-780c5d/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“四半期レビュー用に、Excelのデータシート、プロセスの図、PDFの要約レポートを作ってください。3つすべてが完成するように、手順を計画してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
AIは、まずワークスペースとツールを確認し、スプレッドシート、図、PDFを順に作ります。それぞれに決まった回数の試行を割り当て、回復用に少しの予備を残します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Unified Multi-Deliverable Workflow
This skill provides a structured pattern for creating multiple document artifacts (spreadsheets, diagrams, PDF reports) in a single workflow with explicit iteration budgeting and robust error handling.
Overview
Use this workflow when you need to:
- Generate multiple related deliverables (Excel, PNG diagrams, PDF reports)
- Manage iteration budget across different artifact types
- Handle execute_code_sandbox failures gracefully
- Ensure all deliverables are completed before budget exhaustion
- Create cohesive documentation packages with cross-referenced content
Iteration Budget Template
Default Allocation (adjust based on task complexity):
| Phase | Deliverable | Iterations | Validation |
|---|---|---|---|
| 1 | Spreadsheet (.xlsx) | 8-10 | File exists, readable, correct structure |
| 2 | Diagram (.png) | 8-10 | File exists, viewable, correct dimensions |
| 3 | PDF Report (.pdf) | 8-10 | File exists, downloadable, proper formatting |
| Buffer | Error recovery | 4-6 | Retry failed phases |
Total recommended budget: 30-36 iterations
Pre-Flight Checks (Iteration 1-2)
Before generating any deliverables:
- Verify workspace path: Always use
/workspace/as base directory - Test execute_code_sandbox: Run a simple print statement to confirm tool works
- Check required libraries: Plan to install via
!pip installif needed - Standardize filenames: Use consistent naming pattern (e.g.,
projectname_deliverable.ext)
# Quick sandbox test
print("SANDBOX_OK")
print(f"WORKSPACE_PATH:/workspace")
If this fails, use run_shell as fallback for file operations.
Phase 1: Spreadsheet Creation (Iterations 3-12)
Step 1.1: Plan Structure
Define your spreadsheet structure before coding:
- Sheet names
- Column headers
- Data types
- Any formulas or formatting
Step 1.2: Write Generation Code
Using openpyxl (recommended for .xlsx):
# Install if needed
# !pip install openpyxl
from openpyxl import Workbook
from openpyxl.styles import Font, PatternFill, Alignment
wb = Workbook()
ws = wb.active
ws.title = "Data"
# Header row with styling
headers = ["Item", "Description", "Value", "Status"]
for col, header in enumerate(headers, 1):
cell = ws.cell(row=1, column=col, value=header)
cell.font = Font(bold=True)
cell.fill = PatternFill(start_color="CCCCCC", end_color="CCCCCC", fill_type="solid")
cell.alignment = Alignment(horizontal="center")
# Data rows
data = [
["Item 1", "Description 1", 100, "Complete"],
["Item 2", "Description 2", 200, "Pending"],
]
for row_idx, row_data in enumerate(data, 2):
for col_idx, value in enumerate(row_data, 1):
ws.cell(row=row_idx, column=col_idx, value=value)
# Auto-adjust column widths
for column in ws.columns:
max_length = 0
column_letter = column[0].column_letter
for cell in column:
try:
if len(str(cell.value)) > max_length:
max_length = len(str(cell.value))
except:
pass
adjusted_width = min(max_length + 2, 50)
ws.column_dimensions[column_letter].width = adjusted_width
# Save with standard path
output_path = "/workspace/hardware_selection_table.xlsx"
wb.save(output_path)
print(f"ARTIFACT_PATH:{output_path}")
print("SPREADSHEET_GENERATED")
Step 1.3: Execute and Validate
execute_code_sandbox
code: <your spreadsheet code>
language: python
Validation checklist:
- ARTIFACT_PATH output present
- File exists:
run_shell command: ls -lh /workspace/*.xlsx - File size > 1KB
- No error messages in output
Step 1.4: Error Recovery
| Error | Recovery Action |
|---|---|
| Library not found | Add !pip install openpyxl at code start |
| '[ERROR] unknown error' | Retry once, then try simpler code structure |
| File not created | Check path is /workspace/ not ./ or /tmp/ |
| Permission denied | Ensure no file lock from previous execution |
If 2 consecutive failures: Skip to Phase 2 and return later with reduced scope.
Phase 2: Diagram Generation (Iterations 13-22)
Step 2.1: Choose Diagram Type
| Type | Library | Best For |
|---|---|---|
| Flowchart | graphviz or matplotlib |
Process flows, decision trees |
| Layout/Diagram | matplotlib |
Physical layouts, workcell designs |
| Network/Topology | networkx + matplotlib |
System architecture |
| Simp |
よくある質問
各ファイルには何ステップが与えられますか?
ガイドは、各ファイルに約8〜10回の試行を割り当て、数回分を予備として残すことを勧めています。
各ファイルで何を確認しますか?
各ファイルが存在し、読めるか、見られるかを確認します。
ファイルが予算を超えたら?
そのファイルには代替の方法に切り替えるようガイドは述べています。
詳細
作者による元の説明
Generate spreadsheets, diagrams, and PDF reports with iteration budgeting and error recovery
repo: HKUDS/AgentPilot
人気
- GitHubのスター
- 7.8k
- ランキング
- #12910
- ライセンス
- MIT
- 更新日
- 2026/11/1
コメント
- …
このリポジトリの他のスキル
agentpilot
7.8kエージェントが、作業を準備し、変更案を提案してテストし、評価するAgentPilotのループを実行することで、プロジェクトを段階的に改善できるよう支援します。
openspace
7.8kエージェントが、スキルを保存し取り出すツールであるOpenSpaceをセットアップし、MCPを通じてAIアプリに接続できるよう支援します。
rsi-arena
7.8kエージェントが、AIMEやTerminal-Benchなどの標準的なAIベンチマークテストをセットアップして実行し、異なる改善方法を比較できるよう支援します。
experiment-guide
7.8kエージェントが、プログラムを改善する方法を調べる間に、小さな実験を計画し、その結果を読み、発見を記録できるよう支援します。