skills/ceeon/aippt/SKILL.md
AIPPT - 基于模板定制化生成 PPT。垫图约束风格 → 提示词替换内容 → AI 生图 → 打包 PPTX。
npx skillsauth add aiskillstore/marketplace aipptInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
核心理念:用垫图约束风格,用提示词替换内容,AI 生成每一页。
导出图片 → 分析模板 → 内容分段 → 表达形式设计 → 内容映射 → 上传图床 → 调用API → 下载保存 → 打包PPTX
↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓
垫图 布局库 页面规划 最佳表达形式 提示词 URL 生成图片 PNG文件 .pptx
读 01_导出方法.md — PPT 导出为图片
读 02_PPT模板分析方法.md — 输出布局库
读 03_内容分段方法.md — 确定每页放什么
对每页内容问:最佳表达形式是什么?
详见 04_内容映射方法.md 的"表达形式设计"章节
读 04_内容映射方法.md — 内容匹配布局,生成提示词
提示词规范见
02_PPT模板分析方法.md第六章
上传垫图 → 调用 API → 下载保存
node scripts/images2pptx.js <图片目录> output.pptx
| 文件 | 地位 | 功能 |
|------|------|------|
| 01_导出方法.md | 阶段1 | PPT 导出为图片(垫图) |
| 02_PPT模板分析方法.md | 阶段2 | 分析模板,输出布局库 |
| 03_内容分段方法.md | 阶段3 | 内容拆分为页面 |
| 04_内容映射方法.md | 阶段4 | 内容匹配布局,生成提示词 |
| 05_图床上传方法.md | 工具 | 图床上传获取 URL |
| config/secrets.md | 配置 | API Key |
| scripts/images2pptx.js | 工具 | 图片打包成 PPTX |
从 config/secrets.md 获取 API Key
curl -s -X POST "https://api.apicore.ai/v1/images/generations" \
-H "Authorization: Bearer API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "gemini-3-pro-image-preview-4k", "prompt": "提示词", "size": "16:9", "n": 1}'
| 模型 | 说明 |
|-----|------|
| gemini-3-pro-image-preview | 标准版 |
| gemini-3-pro-image-preview-2k | 2K 高清 |
| gemini-3-pro-image-preview-4k | 4K 超清(默认) |
curl -s -o "输出.png" "图片URL"
# 首次使用安装依赖
npm install pptxgenjs
# 打包
node scripts/images2pptx.js <图片目录> [输出文件名]
AIPPT2/
├── SKILL.md # 入口(本文件)
├── README.md # 总览
├── 01_导出方法.md
├── 02_PPT模板分析方法.md
├── 03_内容分段方法.md
├── 04_内容映射方法.md
├── 05_图床上传方法.md
├── config/
│ └── secrets.md # API Key
└── scripts/
└── images2pptx.js # 打包脚本
development
Apple Human Interface Guidelines for content display components. Use this skill when the user asks about charts component, collection view, image view, web view, color well, image well, activity view, lockup, data visualization, content display, displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says how should I display charts, what's the best way to show images, should I use a web view, how do I build a grid of items, what component shows media, or how do I present a share sheet. Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.
tools
Automate HelpDesk tasks via Rube MCP (Composio): list tickets, manage views, use canned responses, and configure custom fields. Always search tools first for current schemas.
testing
Expert Haskell engineer specializing in advanced type systems, pure functional design, and high-reliability software. Use PROACTIVELY for type-level programming, concurrency, and architecture guidance.
tools
GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.