integrated-report-bundle
Skill này làm gì
Skill này mô tả cách lặp lại được để tạo một gói báo cáo hoàn chỉnh từ ba tệp liên quan. Dành cho người cần dữ liệu, hình ảnh trực quan và bản tóm tắt được giao cùng nhau.
Khi nào nên dùng
- ✓Khi một tác vụ cần một bảng tính dữ liệu, một sơ đồ trực quan và một PDF tóm tắt cho cùng một chủ đề.
- ✓Khi tôi muốn các tệp khớp với nhau như một gói duy nhất.
- ✓Khi công việc có thể gặp lỗi sandbox và cần một vùng đệm khôi phục.
Liên kết skill
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/pdf-checklist-workflow-enhanced-a53b26/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy tạo cho tôi một bảng dữ liệu, một sơ đồ bố cục trực quan và một PDF tóm tắt cho việc chấm điểm dự án của chúng tôi, tất cả thành một gói.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
AI chuẩn bị không gian làm việc, rồi xây bảng tính, sơ đồ và PDF theo từng giai đoạn, giữ lại vài lần thử để sửa lỗi.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Vì sao phải dự trữ vài lần thử?
Hướng dẫn giữ một vùng đệm nhỏ cho khôi phục, xác minh và sửa lỗi.
Giai đoạn sơ đồ gồm những gì?
Nó gồm việc tạo hình ảnh trực quan và tinh chỉnh bố cục.
Các tệp được lưu ở đâu?
Không gian làm việc được chuẩn bị trước để cả ba đầu ra được lưu cùng một chỗ.
Chi tiết
Mô tả gốc của tác giả
Generate spreadsheet, diagram, and PDF report as a cohesive deliverable set with iteration budgeting per component
repo: HKUDS/AgentPilot
Độ phổ biến
- Sao GitHub
- 7.8k
- Vị trí xếp hạng
- #12911
- Giấy phép
- MIT
- Cập nhật
- 1/11/2026
Bình luận
- …
Thêm skill từ kho mã này
agentpilot
7.8kGiúp agent của bạn cải thiện dự án từng bước bằng cách chuẩn bị tác vụ và chạy vòng lặp AgentPilot, gồm đề xuất, kiểm thử và chấm điểm thay đổi.
openspace
7.8kGiúp agent của bạn thiết lập OpenSpace, công cụ lưu và lấy lại skill của agent, rồi kết nối nó với ứng dụng AI của bạn qua MCP.
rsi-arena
7.8kGiúp agent của bạn thiết lập và chạy các bài kiểm thử benchmark AI chuẩn, như AIME và Terminal-Bench, để so sánh các phương pháp cải tiến khác nhau.
experiment-guide
7.8kGiúp agent của bạn lên kế hoạch các thí nghiệm nhỏ, đọc kết quả và ghi lại phát hiện khi tìm cách cải thiện một chương trình.
Skill tương tự
knowledge-capture
394kDạy agent của bạn lưu các quyết định, sở thích và sự kiện quan trọng vào kho Knowledge dưới dạng ghi chú ngắn có ghi nguồn.
knowledge-claim-consolidation
394kGiúp agent của bạn dọn gọn kho Knowledge bằng cách gộp các khẳng định trùng lặp, chuyển chúng đến đúng trang chủ đề và loại bỏ những cái lỗi thời.
knowledge-correct
394kCho phép agent của bạn sửa hoặc rút lại một khẳng định hoặc trang Knowledge cụ thể theo yêu cầu của bạn, và giữ nhật ký những gì đã thay đổi.