staruhub/ClaudeSkills / skills/Geek-skills-deck-studio
deck-studio
VerifiedPPT 生产 Agent:理解场景 → 推荐风格 → 先出大纲 → 定义页面 → 双通路交付(PPT 内容稿 / 逐页视觉图 / 信息图组图)。当用户要做汇报、路演、培训课件、提案、咨询报告的演示文稿,或要把大纲/文章做成 slides、deck、PPT、信息图、小红书图文、可视化传播图时使用。支持指定风格或从风格库推荐,支持 image 模型逐页出视觉稿。前身为 notion-infographic(v2)并吸收 ppt-designer 的设计原则。不用于:pptx 文件的纯技术操作(拆分/合并/提取,用宿主 pptx skill)、演讲稿或文章本体的写作(用 wechat-article-writer)、需要先做研究的内容调研(先走 deep-research 再回来)、单张海报或 logo 设计。
examples/yinghuang-bootcamp-proposal/assemble.js
View on GitHubconst fs = require("fs");
const path = require("path");
const pptxgen = require("pptxgenjs");
const p = new pptxgen();
p.defineLayout({name:"W",width:13.333,height:7.5}); p.layout="W";
const pngDir = path.join(__dirname, "png");
const outputPath = path.join(__dirname, "chaogeek-bootcamp-proposal.pptx");
const notes=[
"开场不讲课程,先讲差距:把AI玩明白的人正在拉开差距。停两秒。",
"三件事结构:为什么做、怎么做、怎么合作。",
"痛点页让曲线说话:工具爆炸vs能力平线,差距在方法不在工具。",
"三阶段各自有真实交付物,强调'不讲原理课'。",
"对比页:和通识课的三行区别,重点讲'带走什么'。",
"证据页数字全部真实可查:开源仓库19个skill、113条评测、CI。",
"六周节奏:每周指着交付物讲,'没有产出的那一周不该存在'。",
"三种合作方式,按对方身份着重讲其中一种。",
"收尾:别再收藏教程了,来交付一次。留repo地址。"];
for(let i=1;i<=9;i++){
const imagePath=path.join(pngDir,`p${i}.png`);
if(!fs.existsSync(imagePath)) throw new Error(`missing rendered page: ${imagePath}`);
const s=p.addSlide();
s.addImage({path:imagePath,x:0,y:0,w:13.333,h:7.5});
s.addNotes(notes[i-1]);
}
p.writeFile({fileName:outputPath})
.then(()=>console.log("生成:",outputPath))
.catch(error=>{console.error(error);process.exitCode=1;});
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |