Chuyển đến nội dung
Skillpedia
Công việc và dự án7.8k · #12911

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.md

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/pdf-checklist-workflow-enhanced-a53b26/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

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':

  1. Retry once with shell_agent instead
  2. If still failing, fall back to create_file with CSV format
  3. 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

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự