integrated-report-bundle
できること
このスキルは、3つの関連ファイルから完全なレポート一式を作る、繰り返し可能な方法を説明します。データ、視覚的な図、要約が一緒に届く必要がある人向けです。
使う場面
- ✓同じテーマについて、データのスプレッドシート、視覚的な図、要約のPDFが必要なタスクのとき。
- ✓ファイルが一つのパッケージとして互いに合っている必要があるとき。
- ✓作業がサンドボックスのエラーに遭う可能性があり、回復の余裕が必要なとき。
スキルのリンク
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/pdf-checklist-workflow-enhanced-a53b26/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“プロジェクトの採点について、データの表、視覚的なレイアウトの図、要約のPDFを、一つのパッケージとして作ってください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
AIは、まずワークスペースを準備し、スプレッドシート、図、PDFを段階を追って作ります。エラーを直すため、少しの試行を予備として残しておきます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Integrated Report Bundle Workflow
This skill provides a reusable pattern for creating a complete report package consisting of three interconnected deliverables: a spreadsheet (data table), a diagram (visual layout), and a PDF report (summary document). Designed for resilience with explicit iteration budgeting and workspace management.
Overview
Use this workflow when you need to:
- Generate multiple interconnected deliverables in a single task
- Create data spreadsheets with structured tables
- Produce visual diagrams (PNG/SVG) for layouts or workflows
- Generate summary PDF reports with scoring or assessments
- Manage iteration budgets across multiple components
- Handle sandbox execution failures gracefully
Critical: Iteration Budget Allocation
Total budget must be divided across deliverables:
| Deliverable | Recommended Budget | Purpose |
|---|---|---|
| Spreadsheet | 8-10 iterations | Data gathering, table creation, validation |
| Diagram | 8-10 iterations | Visual generation, layout refinement |
| PDF Report | 8-10 iterations | Report assembly, formatting, final output |
| Buffer | 2-4 iterations | Error recovery, verification, fixes |
Never spend entire budget on one deliverable. Track iterations explicitly.
Step-by-Step Instructions
Phase 0: Workspace Preparation (1 iteration)
Before generating any deliverables, establish clean workspace state:
# Check current workspace state
ls -la /workspace/
# Create dedicated output directory
mkdir -p /workspace/deliverables
# Verify write permissions
touch /workspace/deliverables/test.tmp && rm /workspace/deliverables/test.tmp
Why: Prevents workspace path confusion that caused previous failures.
Phase 1: Spreadsheet Creation (8-10 iterations max)
Step 1.1: Choose Approach
| Mode | Tool | Use When |
|---|---|---|
| A | execute_code_sandbox with openpyxl/pandas |
Programmatic table generation |
| B | shell_agent with Python script |
Complex data processing |
| C | create_file (CSV/XLSX) |
Simple tabular data |
Step 1.2: Generate Spreadsheet Code
Example using openpyxl:
from openpyxl import Workbook
from openpyxl.styles import Font, PatternFill, Alignment
wb = Workbook()
ws = wb.active
ws.title = "Hardware Selection"
# Headers with styling
headers = ["Component", "Model", "Qty", "Unit Price", "Total"]
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="4472C4", fill_type="solid")
cell.font = Font(color="FFFFFF", bold=True)
# Data rows
data = [
["CNC Controller", "Fanuc 0i-MF", 1, 2500, 2500],
["Servo Motor", "SGM7G-09A", 4, 450, 1800],
["HMI Panel", "GT2110-WTBD", 1, 380, 380]
]
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)
# Total row
ws.cell(row=len(data)+2, column=4, value="TOTAL:")
ws.cell(row=len(data)+2, column=5, value=f"=E2:E{len(data)+1}")
# Save
output_path = '/workspace/deliverables/hardware_selection_table.xlsx'
wb.save(output_path)
print(f'ARTIFACT_PATH:{output_path}')
print('Spreadsheet created successfully')
Step 1.3: Execute and Verify
execute_code_sandbox
code: <spreadsheet generation code>
language: python
Verification (use 1 iteration):
run_shell
command: ls -lh /workspace/deliverables/*.xlsx && file /workspace/deliverables/*.xlsx
If execute_code_sandbox fails with '[ERROR] unknown error':
- Retry once with
shell_agentinstead - If still failing, fall back to
create_filewith CSV format - Document the failure and proceed to next deliverable
Iteration checkpoint: After 8 iterations on spreadsheet, move to diagram regardless of completion status.
Phase 2: Diagram Generation (8-10 iterations max)
Step 2.1: Choose Diagram Type
| Type | Tool | Best For |
|---|---|---|
| Flowchart | graphviz + pydot |
Process flows, decision trees |
| Layout | matplotlib + patches |
Physical layouts, workcells |
| Architecture | diagrams library |
System architecture |
| Simple shapes | PIL/Pillow |
Basic diagrams |
Step 2.2: Generate Diagram Code
Example using matplotlib for layout diagram:
import matplotlib.pyplot as plt
import matplotlib.patches as patches
fig, ax = plt.subplots(fi
よくある質問
なぜ試行を予備として残すのですか?
ガイドは、回復、確認、修正のための小さな余裕を残すからです。
図の段階では何をしますか?
視覚的なものを生成し、レイアウトを整えることを扱います。
ファイルはどこに保存されますか?
3つの出力すべてが一つの場所に保存されるよう、最初にワークスペースを準備します。
詳細
作者による元の説明
Generate spreadsheet, diagram, and PDF report as a cohesive deliverable set with iteration budgeting per component
repo: HKUDS/AgentPilot
人気
- GitHubのスター
- 7.8k
- ランキング
- #12911
- ライセンス
- 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エージェントが、プログラムを改善する方法を調べる間に、小さな実験を計画し、その結果を読み、発見を記録できるよう支援します。