pdf-checklist-generation
하는 일
이 스킬은 체크리스트, 점수표, 보고서 같은 구조화된 PDF 문서를 Python으로 만드는 방법을 보여 줍니다. 표와 점수 기준이 들어간 다운로드 가능한 PDF가 필요한 사람에게 맞습니다.
사용하는 경우
- ✓다운로드 가능한 PDF 체크리스트나 평가표가 필요할 때.
- ✓PDF에 표, 섹션, 채점 기준이 필요한 경우.
- ✓차트나 그래프가 포함된 보고서를 원할 때.
스킬 링크
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/pdf-checklist-generation/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“온보딩 과정을 위한 PDF 체크리스트를 만들어 주세요. 섹션, 항목 표, 점수 열을 넣어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI는 Python PDF 라이브러리를 고르고, 제목, 섹션, 표가 있는 스크립트를 쓰고, 파일을 저장한 뒤 다운로드할 수 있도록 경로를 알려 줍니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
PDF Checklist Generation
This skill provides a workflow for creating professional PDF documents (checklists, reports, scorecards) using Python libraries within an execute_code_sandbox environment.
When to Use
- Need to generate downloadable PDF reports or checklists
- Require structured documents with tables, sections, or scoring criteria
- Working in a sandbox environment without direct file system access
Available Libraries
Choose one based on your needs:
| Library | Best For | Complexity |
|---|---|---|
reportlab |
Professional layouts, tables, precise control | Medium |
fpdf |
Simple documents, quick generation | Low |
matplotlib |
Charts, graphs, visual reports | Medium |
Step-by-Step Workflow
Step 1: Install Required Library
!pip install reportlab # or fpdf, matplotlib
Step 2: Create PDF Generation Script
Example using reportlab:
from reportlab.lib.pagesizes import letter
from reportlab.platypus import SimpleDocTemplate, Table, TableStyle, Paragraph, Spacer
from reportlab.lib.styles import getSampleStyleSheet
from reportlab.lib import colors
def create_checklist_pdf(filename, checklist_items):
doc = SimpleDocTemplate(filename, pagesize=letter)
styles = getSampleStyleSheet()
elements = []
# Title
elements.append(Paragraph("Assessment Checklist", styles['Heading1']))
elements.append(Spacer(1, 12))
# Table data
data = [['Item', 'Status', 'Score']]
for item in checklist_items:
data.append([item['name'], item['status'], item['score']])
# Create table
table = Table(data)
table.setStyle(TableStyle([
('BACKGROUND', (0, 0), (-1, 0), colors.grey),
('TEXTCOLOR', (0, 0), (-1, 0), colors.whitesmoke),
('ALIGN', (0, 0), (-1, -1), 'CENTER'),
('GRID', (0, 0), (-1, -1), 1, colors.black),
]))
elements.append(table)
doc.build(elements)
print(f"PDF created: {filename}")
# Usage
checklist = [
{'name': 'Security Check', 'status': 'Pass', 'score': 10},
{'name': 'Performance Test', 'status': 'Fail', 'score': 5},
]
create_checklist_pdf('report.pdf', checklist)
Step 3: Execute in Sandbox
Run the script using execute_code_sandbox:
execute_code_sandbox(code="<your pdf generation code>")
Step 4: Verify Output
After generation, verify the PDF was created:
read_file(path="report.pdf")
Or inspect via shell:
execute_code_sandbox(code="import os; print(os.path.exists('report.pdf'))")
Best Practices
- Keep it simple: Start with basic layouts before adding complexity
- Test incrementally: Generate a minimal PDF first, then add features
- Handle errors: Wrap PDF generation in try/except blocks
- Verify file existence: Always confirm the PDF was created before proceeding
- Use UTF-8: Ensure text encoding is proper for special characters
Common Pitfalls
- Forgetting to install the library before import
- Not checking if file was created successfully
- Using paths that don't exist in sandbox environment
- Missing required dependencies for advanced features
Troubleshooting
| Issue | Solution |
|---|---|
| Import error | Run !pip install <library> first |
| File not found | Check working directory with !pwd |
| Blank PDF | Ensure doc.build() is called |
| Encoding issues | Use Unicode strings, specify encoding |
자주 묻는 질문
어떤 라이브러리가 제공되나요?
가이드는 세부 레이아웃용 reportlab, 간단한 문서용 fpdf, 차트용 matplotlib을 나열합니다.
표에는 어떤 라이브러리가 좋나요?
가이드의 템플릿은 표와 정밀한 레이아웃에 reportlab을 추천합니다.
사용자는 파일을 어떻게 받나요?
스크립트가 PDF를 저장하고 결과 파일 경로를 출력하므로 다운로드할 수 있습니다.
상세 정보
작성자의 원본 설명
Generate structured PDF checklists and reports using Python libraries in sandbox
repo: HKUDS/AgentPilot
인기도
- GitHub 스타
- 7.8k
- 순위
- #12908
- 라이선스
- MIT
- 업데이트
- 2026. 11. 1.
댓글
- …
이 저장소의 다른 스킬
agentpilot
7.8k작업을 준비하고 AgentPilot 루프를 실행해 변경을 제안, 테스트, 점수화하면서 프로젝트를 단계적으로 개선하도록 돕습니다.
openspace
7.8k에이전트 스킬을 저장하고 가져오는 도구인 OpenSpace를 설정하고, MCP를 통해 AI 앱에 연결하도록 돕습니다.
rsi-arena
7.8kAIME나 Terminal-Bench 같은 표준 AI 벤치마크 테스트를 설정하고 실행해 서로 다른 개선 방법을 비교하도록 돕습니다.
experiment-guide
7.8k프로그램을 개선하는 방법을 조사하면서 작은 실험을 계획하고, 결과를 읽고, 발견 사항을 기록하도록 돕습니다.
비슷한 스킬
feishu-doc
394k에이전트가 문서 도구를 사용해 텍스트, 이미지, 표를 포함한 Feishu 클라우드 문서를 읽고, 만들고, 편집하도록 돕습니다.
feishu-drive
394k에이전트가 봇과 공유된 Feishu 클라우드 폴더의 파일을 찾아보고, 정리하고, 댓글을 달도록 돕습니다.
feishu-perm
394k에이전트가 요청을 충족하는 가장 작은 권한을 골라, Feishu 파일에 누가 접근할 수 있는지 확인하고 바꾸도록 돕습니다.