此技能可以根据任意用户指定的 PPT 模板,结合提供的图文素材(文档、图片等),自动生成一份风格统一的演示文稿。
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionuniversal-pptx-generatorExecute the skills CLI command in your project's root directory to begin installation:
Fetches universal-pptx-generator from ajaxhe/universal-pptx-generator-skill and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate universal-pptx-generator. Access via /universal-pptx-generator in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
0
total installs
0
this week
0
upvotes
Run in your terminal
0
installs
0
this week
—
stars
此技能可以根据任意用户指定的 PPT 模板,结合提供的图文素材(文档、图片等),自动生成一份风格统一的演示文稿。
⭐⭐⭐ 核心理念:每个模板都是独特的,必须针对性分析!
不同 PPT 模板使用的字体、对齐方式、字号、颜色、位置、背景样式都完全不同。绝不能将一个模板的配置直接应用到另一个模板!每次使用新模板时,都必须重新分析 XML 提取精确参数。
核心能力:
关键词: PPT生成、模板分析、演示文稿、幻灯片、图文排版、自动化、pptxgenjs、图表、数据可视化
不同类型的页面可能使用不同的背景处理方式:
| 页面类型 | 典型特征 | 背景处理方式 |
|---|---|---|
| 封面页 (Cover) | 主标题 + 副标题 + Logo | 背景图/渐变/斜切形状 |
| 目录页 (TOC) | 目录列表 + 装饰元素 | 纯色背景 + 装饰形状 |
| 章节页 (Chapter) | 大号章节编号 + 章节标题 | 纯色背景 + 装饰形状 |
| 内容页 (Content) | 标题 + 正文/图片/图表 | 纯色背景/背景图 |
| 结束页 (Thanks) | 感谢语 + 联系方式 | 纯色背景 + 装饰形状 |
PPT 背景有三种主要类型:
<!-- XML 特征 -->
<p:bg>
<p:bgPr>
<a:solidFill>
<a:schemeClr val="tx2"/> <!-- 使用主题色 -->
</a:solidFill>
</p:bgPr>
</p:bg>
<!-- 或直接指定颜色 -->
<a:solidFill>
<a:srgbClr val="0D1E43"/> <!-- 直接 RGB 值 -->
</a:solidFill>
pptxgenjs 对应代码:
slide.background = { color: '0D1E43' }; // 深蓝色
<!-- XML 特征 -->
<p:bg>
<p:bgPr>
<a:blipFill>
<a:blip r:embed="rId2"/> <!-- 引用图片资源 -->
</a:blipFill>
</p:bgPr>
</p:bg>
<!-- 或在形状中作为图片填充 -->
<p:pic>
<p:blipFill>
<a:blip r:embed="rId2"/>
</p:blipFill>
</p:pic>
pptxgenjs 对应代码:
slide.background = { path: 'workspace/backgrounds/cover-bg.png' };
<!-- XML 特征 -->
<a:gradFill>
<a:gsLst>
<a:gs pos="0">
<a:srgbClr val="0052D9"><a:alpha val="50000"/></a:srgbClr>
</a:gs>
<a:gs pos="100000">
<a:srgbClr val="0D1E43"/>
</a:gs>
</a:gsLst>
<a:lin ang="5400000"/> <!-- 角度:5400000/60000 = 90° -->
</a:gradFill>
pptxgenjs 对应代码:
slide.background = {
color: '0D1E43', // 基础色
// 注:pptxgenjs 对渐变背景支持有限,通常用形状模拟
};
// 用形状模拟渐变
slide.addShape('rect', {
x: 0, y: 0, w: '100%', h: '100%',
fill: {
type: 'gradient',
gradientType: 'linear',
degrees: 90,
stops: [
{ position: 0, color: '0052D9', alpha: 50 },
{ position: 100, color: '0D1E43' }
]
}
});
很多模板使用主题色(schemeClr)而非直接颜色值:
| schemeClr 值 | 含义 | 典型颜色 |
|---|---|---|
dk1 |
深色1 (主要文字) | 000000 |
lt1 / bg1 |
浅色1 (背景) | FFFFFF |
dk2 / tx2 |
深色2 (次要背景) | 0060FF / 0D1E43 |
lt2 |
浅色2 | E7E6E6 |
accent1 |
强调色1 | 0060F0 |
accent2 |
强调色2 | A736FF |
从 theme1.xml 提取主题色映射:
cat workspace/template-analysis/ppt/theme/theme1.xml | grep -E "dk1|lt1|dk2|lt2|accent" | head -20
# 完整的页面背景分析脚本
import re
import os
def analyze_slide_background(slide_path, rels_path):
"""分析单页幻灯片的背景类型"""
with open(slide_path, 'r', encoding='utf-8') as f:
content = f.read()
result = {
'background_type': None,
'background_color': None,
'background_image': None,
'decorative_shapes': [],
'scheme_color': None
}
# 1. 检查是否有 <p:bg> 背景定义
bg_match = re.search(r'<p:bg>(.*?)</p:bg>', content, re.DOTALL)
if bg_match:
bg_content = bg_match.group(1)
# 纯色背景
if '<a:solidFill>' in bg_content:
result['background_type'] = 'solid'
# 直接颜色
color = re.search(r'srgbClr vaMake data-driven prioritization decisions faster
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
Save 3-5 hours/week on communication overhead
Prerequisites
Time Estimate
30-60 minutes to see productivity improvements
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid when
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
mattpocock/skills
parcadei/continuous-claude-v3
cursor/plugins
ailabs-393/ai-labs-claude-skills
ailabs-393/ai-labs-claude-skills
pproenca/dot-skills
Keeps context tight: universal-pptx-generator is the kind of skill you can hand to a new teammate without a long onboarding doc.
universal-pptx-generator has been reliable in day-to-day use. Documentation quality is above average for community skills.
Keeps context tight: universal-pptx-generator is the kind of skill you can hand to a new teammate without a long onboarding doc.
universal-pptx-generator fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
universal-pptx-generator is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
universal-pptx-generator reduced setup friction for our internal harness; good balance of opinion and flexibility.
Registry listing for universal-pptx-generator matched our evaluation — installs cleanly and behaves as described in the markdown.
universal-pptx-generator fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
Registry listing for universal-pptx-generator matched our evaluation — installs cleanly and behaves as described in the markdown.
Useful defaults in universal-pptx-generator — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
showing 1-10 of 73