unified-deliverables-flow
Skill này làm gì
Skill này đưa ra cách có giai đoạn để tạo nhiều loại tệp trong một tác vụ, với ngân sách cố định cho mỗi giai đoạn. Dành cho người cần đầu ra Excel, hình ảnh và PDF mà không bỏ sót loại nào.
Khi nào nên dùng
- ✓Khi một tác vụ yêu cầu cùng lúc một tệp Excel, một hình ảnh và một PDF.
- ✓Khi tôi muốn có điểm kiểm tra xác nhận mỗi tệp tồn tại trước khi tệp tiếp theo bắt đầu.
- ✓Khi có khả năng công cụ thất bại và mỗi tệp cần thử lại.
Liên kết skill
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/pdf-checklist-workflow-enhanced/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 làm một bảng tính Excel, một hình ảnh sơ đồ và một báo cáo PDF, và kiểm tra từng tệp trước khi bắt đầu tệp tiếp theo.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
AI làm việc theo giai đoạn: chuẩn bị không gian làm việc, làm bảng tính và kiểm tra, làm sơ đồ và kiểm tra kích thước, rồi làm PDF và xác nhận đường dẫn đầu ra.
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.
Unified Multi-Deliverable Generation Workflow
This skill provides a structured, phased approach for creating multiple deliverable types (spreadsheets, diagrams, PDF reports) in a single cohesive workflow with explicit iteration budgeting to prevent premature exhaustion.
Overview
Use this workflow when you need to:
- Generate multiple deliverable types (Excel, images, PDFs) in one task
- Ensure balanced iteration allocation across all deliverables
- Handle tool failures gracefully with retries and fallbacks
- Produce downloadable artifacts with verified paths
Critical: Iteration Budget Allocation
Allocate iterations BEFORE starting work:
| Phase | Deliverable | Budget | Checkpoint |
|---|---|---|---|
| Phase 1 | Spreadsheet | 8 iterations | File exists + readable |
| Phase 2 | Diagram | 8 iterations | File exists + >1KB |
| Phase 3 | PDF Report | 8 iterations | File exists + ARTIFACT_PATH output |
| Buffer | Error recovery | 6 iterations | Remaining for retries |
| Total | All deliverables | 30 iterations | All verified |
Rules:
- Complete each phase before moving to the next
- If a phase exceeds budget, use fallback strategy (see below)
- Never spend >10 iterations on a single deliverable without checkpoint
- Verify each deliverable before proceeding
Step-by-Step Instructions
Phase 0: Pre-Work Setup (1 iteration max)
Define all deliverables explicitly:
Deliverable 1: hardware_selection_table.xlsx (Excel with comparison data) Deliverable 2: cnc_workcell_layout.png (PNG diagram of layout) Deliverable 3: final_report.pdf (PDF summary report)Verify workspace is accessible:
run_shell command: ls -la /workspace/ && mkdir -p /workspace/artifactsSet path variables for consistency:
- All files go to
/workspace/or/workspace/artifacts/ - Use absolute paths in all code
- Never use relative paths like
./output.xlsx
- All files go to
Phase 1: Spreadsheet Generation (Budget: 8 iterations)
Step 1.1: Choose approach
| Method | Tool | Best For |
|---|---|---|
| Direct Python | execute_code_sandbox |
Quick generation, simple tables |
| Shell agent | shell_agent |
Complex logic, error recovery |
Step 1.2: Create spreadsheet code
from openpyxl import Workbook
from openpyxl.styles import Font, Alignment, Border, Side
def create_hardware_table():
wb = Workbook()
ws = wb.active
ws.title = "Hardware Selection"
# Headers with styling
headers = ["Component", "Option A", "Option B", "Option C", "Recommendation"]
for col, header in enumerate(headers, 1):
cell = ws.cell(row=1, column=col, value=header)
cell.font = Font(bold=True)
cell.alignment = Alignment(horizontal='center')
# Data rows
data = [
["Controller", "PLC-X100 ($500)", "PLC-Y200 ($650)", "PLC-Z300 ($800)", "PLC-Y200"],
["Motor", "Servo-500W ($300)", "Servo-750W ($400)", "Stepper-1kW ($250)", "Servo-750W"],
["Sensor", "Proximity-S1 ($50)", "Vision-V2 ($200)", "Laser-L3 ($150)", "Vision-V2"]
]
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 col in ws.columns:
max_length = max(len(str(cell.value)) for cell in col if cell.value)
ws.column_dimensions[col[0].column_letter].width = min(max_length + 2, 25)
output_path = '/workspace/hardware_selection_table.xlsx'
wb.save(output_path)
print(f'SUCCESS: Spreadsheet created at {output_path}')
print(f'ARTIFACT_PATH:{output_path}')
return output_path
create_hardware_table()
Step 1.3: Execute with verification
execute_code_sandbox
code: <spreadsheet code from Step 1.2>
language: python
Step 1.4: Verify (REQUIRED before proceeding)
run_shell
command: ls -lh /workspace/*.xlsx && python3 -c "import openpyxl; openpyxl.load_workbook('/workspace/hardware_selection_table.xlsx')"
Checkpoint criteria:
- ✓ File exists
- ✓ Size > 1KB
- ✓ No errors opening file
- ✗ If failed, retry once with shell_agent, then proceed to Phase 2 with note
Phase 2: Diagram Generation (Budget: 8 iterations)
Step 2.1: Choose diagram type and tool
| Diagram Type | Tool | Library |
|---|---|---|
| Flowchart/Bl |
Câu hỏi thường gặp
Sơ đồ được kiểm tra điều gì?
Hướng dẫn kiểm tra tệp hình ảnh tồn tại và lớn hơn một kích thước tối thiểu.
PDF được kiểm tra điều gì?
Hướng dẫn kiểm tra tệp tồn tại và đường dẫn đầu ra đã được in ra.
Nếu một giai đoạn vượt quá thì sao?
Hướng dẫn nói nên dùng chiến lược dự phòng cho giai đoạn đó.
Chi tiết
Mô tả gốc của tác giả
Generate spreadsheets, diagrams, and PDF reports in a phased workflow with explicit iteration budgets and error recovery
repo: HKUDS/AgentPilot
Độ phổ biến
- Sao GitHub
- 7.8k
- Vị trí xếp hạng
- #12912
- 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.