소스 정보
- 저장소
- agent0ai/space-agent
- 최근 소스 활동
- 2026년 4월 14일 21:04
- 감지된 SKILL.md 언어
- 영어
- 스타
- 1,385
- 포크
- 318
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SOC 직업 분류 기준
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/agent0ai/space-agent --skill pdf-report명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
Read the supplemental project documentation module
Frontend development router. Load deeper skills before editing
Use the frontend API surface correctly for app files, discovery, identity, and permission-aware browser data access.
| name | PDF Report |
| description | Create and download browser-generated PDFs from structured data or HTML |
| metadata | {"when":{"tags":["onscreen"]}} |
Use this skill when the user wants a browser-generated PDF report, a downloaded PDF summary, or a PDF built from structured data or custom HTML.
load helper
/mod/_core/skillset/ext/skills/pdf-report/pdf-report.js%PDF stringshelpers
await import("/mod/_core/skillset/ext/skills/pdf-report/pdf-report.js")buildReportHtml(report) -> { html, css, backgroundColor, widthPx }createPdfFromReport({ report, ...options }) -> Uint8ArraydownloadPdfFromReport({ report, filename?, page?, widthPx?, scale?, jpegQuality?, html2canvasOptions? }) -> { downloaded: true, filename, byteLength }createPdfFromHtml({ html, css?, widthPx?, backgroundColor?, page?, scale?, jpegQuality?, html2canvasOptions? }) -> Uint8ArraydownloadPdfFromHtml({ html, css?, filename?, widthPx?, backgroundColor?, page?, scale?, jpegQuality?, html2canvasOptions? }) -> { downloaded: true, filename, byteLength }downloadPdfBytes(bytes, filename?) -> { downloaded: true, filename, byteLength }structured report shape
report.title, eyebrow, subtitle, summary, introHtml, footer, widthPx, filenamereport.sections[] may use title, eyebrow, text, items, metrics, cards, columns, and raw htmlreport.theme may override accentColor, backgroundColor, borderColor, surfaceColor, textColor, mutedColor, fontFamily, and customCsspdf and html options
page.size: letter or a4page.orientation: portrait or landscapepage.marginPtwidthPx, backgroundColor, scale, jpegQuality, filenameguidance
downloadPdfFromReport(...) when the user wants a clean report quickly from structured datadownloadPdfFromHtml(...) when the user wants a custom visual direction or tighter markup controlcss or report.theme.customCssexamples Downloading a structured PDF report _____javascript const pdfReport = await import("/mod/_core/skillset/ext/skills/pdf-report/pdf-report.js") return await pdfReport.downloadPdfFromReport({ filename: "project-status.pdf", report: { title: "Project Status", eyebrow: "Sprint 14", subtitle: "Frontend runtime workstream", summary: "The helper move is complete and the remaining work is doc cleanup.", theme: { accentColor: "#0b6bcb", backgroundColor: "#eef5ff", surfaceColor: "#ffffff" }, sections: [ { title: "Highlights", items: [ "Skill-specific helpers now live inside their owning skill folders.", "PDF output is built from generic HTML and CSS instead of a canned weather wrapper." ] }, { title: "Counts", metrics: [ { label: "Open items", value: "2" }, { label: "Blocked", value: "0" } ] } ], footer: "Generated locally in the browser." } })
Downloading a custom HTML PDF
_____javascript
const pdfReport = await import("/mod/_core/skillset/ext/skills/pdf-report/pdf-report.js")
return await pdfReport.downloadPdfFromHtml({
filename: "brief.pdf",
widthPx: 900,
page: { size: "a4", marginPt: 28 },
css: .brief { padding: 48px; font-family: Georgia, serif; color: #1f2937; } .brief h1 { margin: 0 0 12px; font-size: 36px; } .brief .lede { font-size: 18px; color: #4b5563; } ,
html: <article class="brief"> <h1>Research Brief</h1> <p class="lede">This layout is fully custom HTML and CSS.</p> <p>Use this path when the user wants a specific art direction instead of the built-in structured report layout.</p> </article>
})