make-slides
v0.1.0
Published
One command to scaffold a Claude Code presentation workspace with the Frontend Slides skill bundled offline, plus PDF/PPTX export.
Maintainers
Readme
make-slides
Một lệnh để dựng sẵn workspace thuyết trình cho Claude Code — kèm skill Frontend Slides cài offline và công cụ xuất PDF/PPTX.
npx make-slides query-optimizationLệnh trên tạo thư mục query-optimization/ với đầy đủ cấu trúc, template nội dung,
skill Frontend Slides (chạy offline, gọi bằng /frontend-slides), và script export.
Vì sao dùng make-slides?
Thông thường để dùng Frontend Slides bạn phải: cài plugin qua marketplace (cần mạng),
tự tạo folder, tự viết template nội dung, và tự viết script xuất PPTX (repo gốc chưa có).
make-slides gói tất cả thành một lệnh scaffold offline.
Cách dùng
npx make-slides <tên> # tạo workspace với tên cho trước (hỏi vài thông tin)
npx make-slides <tên> --yes # dùng mặc định, không hỏi (16:9, tiếng Việt)
npx make-slides # chế độ tương tác đầy đủ
npx make-slides <tên> --force # ghi vào thư mục đã tồn tạiWorkspace được tạo
query-optimization/
├── .claude/skills/frontend-slides/ # skill cài sẵn — gọi /frontend-slides (offline)
├── sources/ # bỏ tài liệu gốc PDF/DOCX/XLSX + ảnh vào đây
│ └── images/
├── content/
│ ├── source-summary.md # template: Claude tóm tắt tài liệu
│ ├── slide-brief.md # template: cấu trúc từng slide
│ └── references.md
├── presentation/
│ ├── presentation.html # placeholder — skill sẽ ghi đè
│ └── assets/
├── exports/ # nơi chứa PDF/PPTX
├── scripts/
│ ├── export-pdf.sh # HTML → PDF (Playwright)
│ └── export-pptx.mjs # HTML → PPTX (Playwright + PptxGenJS)
├── package.json # npm run export:pdf / export:pptx
├── CLAUDE.md # quy trình 6 checkpoint
└── README.mdSau khi tạo
cd <tên>- Bỏ tài liệu vào
sources/ - Mở thư mục trong Claude Code
- Gọi
/frontend-slidesvà làm theo 6 checkpoint (xemCLAUDE.md) - Xuất file:
npm install npm run export:pdf # → exports/presentation.pdf npm run export:pptx # → exports/presentation.pptx
Lần đầu export cần tải Chromium (~150MB):
npx playwright install chromium.
Ghi công
Skill Frontend Slides được tạo bởi Zara Zhang (MIT) —
https://github.com/zarazhangrui/frontend-slides. make-slides chỉ đóng gói lại để
dùng offline. Xem THIRD_PARTY_LICENSES.md.
License
MIT
