microsoft-powerpoint
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseMicrosoft PowerPoint Skill
Microsoft PowerPoint 技能
Overview
概述
Claude can create and edit Microsoft PowerPoint Online presentations, including adding slides, inserting content, applying themes, adding animations, and managing presentation flow.
Claude可以创建和编辑Microsoft PowerPoint Online演示文稿,包括添加幻灯片、插入内容、应用主题、添加动画以及管理演示文稿流程。
Quick Install
快速安装
bash
curl -sSL https://canifi.com/skills/microsoft-powerpoint/install.sh | bashOr manually:
bash
cp -r skills/microsoft-powerpoint ~/.canifi/skills/bash
curl -sSL https://canifi.com/skills/microsoft-powerpoint/install.sh | bash或手动安装:
bash
cp -r skills/microsoft-powerpoint ~/.canifi/skills/Setup
设置
Configure via canifi-env:
bash
undefined通过canifi-env进行配置:
bash
undefinedFirst, ensure canifi-env is installed:
First, ensure canifi-env is installed:
curl -sSL https://canifi.com/install.sh | bash
curl -sSL https://canifi.com/install.sh | bash
canifi-env set MICROSOFT_EMAIL "your-email@outlook.com"
undefinedcanifi-env set MICROSOFT_EMAIL "your-email@outlook.com"
undefinedPrivacy & Authentication
隐私与认证
Your credentials, your choice. Canifi LifeOS respects your privacy.
你的凭据,由你掌控。 Canifi LifeOS尊重你的隐私。
Option 1: Manual Browser Login (Recommended)
选项1:手动浏览器登录(推荐)
If you prefer not to share credentials with Claude Code:
- Complete the Browser Automation Setup using CDP mode
- Login to the service manually in the Playwright-controlled Chrome window
- Claude will use your authenticated session without ever seeing your password
如果你不想与Claude Code共享凭据:
- 使用CDP模式完成浏览器自动化设置
- 在Playwright控制的Chrome窗口中手动登录该服务
- Claude将使用你的已认证会话,且永远不会看到你的密码
Option 2: Environment Variables
选项2:环境变量
If you're comfortable sharing credentials, you can store them locally:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"Note: Credentials stored in canifi-env are only accessible locally on your machine and are never transmitted.
如果你愿意共享凭据,可以将其存储在本地:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"注意:存储在canifi-env中的凭据仅能在你的本地机器上访问,绝不会被传输。
Capabilities
功能特性
- Create new presentations from templates
- Add and arrange slides
- Insert text, images, and shapes
- Apply themes and designs
- Add transitions and animations
- Insert videos and audio
- Add speaker notes
- Create charts and SmartArt
- Export as PDF or video
- Present in slideshow mode
- Collaborate in real-time
- Use Designer suggestions
- 从模板创建新演示文稿
- 添加和排列幻灯片
- 插入文本、图片和形状
- 应用主题和设计
- 添加切换效果和动画
- 插入视频和音频
- 添加演讲者备注
- 创建图表和SmartArt
- 导出为PDF或视频
- 以幻灯片放映模式演示
- 实时协作
- 使用Designer建议
Usage Examples
使用示例
Example 1: Create Presentation
示例1:创建演示文稿
User: "Create a PowerPoint about our product launch"
Claude: Creates presentation with title slide, agenda,
product features, timeline, and call-to-action slides.
Returns: "Created 6-slide presentation: [link]"用户:"创建一个关于我们产品发布的PowerPoint"
Claude:创建包含标题幻灯片、议程、产品特性、时间线和行动号召幻灯片的演示文稿。
返回:"已创建6页幻灯片的演示文稿:[链接]"Example 2: Apply Theme
示例2:应用主题
User: "Make the presentation look more corporate"
Claude: Opens Design tab, applies professional theme,
adjusts colors to corporate palette.
Confirms: "Corporate theme applied to all slides"用户:"让这个演示文稿看起来更具商务风格"
Claude:打开设计选项卡,应用专业主题,
将颜色调整为商务调色板。
确认:"已为所有幻灯片应用商务主题"Example 3: Add Animation
示例3:添加动画
User: "Add entrance animations to the key points"
Claude: Selects text elements, applies Fade In animation,
sequences for presentation flow.
Confirms: "Animations added to key points"用户:"为关键点添加进入动画"
Claude:选择文本元素,应用淡入动画,
按演示流程排序。
确认:"已为关键点添加动画"Example 4: Add Chart
示例4:添加图表
User: "Insert a bar chart on slide 3 with our quarterly data"
Claude: Opens slide 3, inserts bar chart, enters data.
Confirms: "Bar chart added to slide 3"用户:"在第3页幻灯片上插入一个包含我们季度数据的条形图"
Claude:打开第3页幻灯片,插入条形图,输入数据。
确认:"已为第3页幻灯片添加条形图"Authentication Flow
认证流程
- Claude navigates to powerpoint.office.com via Playwright MCP
- Authenticates with MICROSOFT_EMAIL if needed
- Handles 2FA if prompted (notifies user via iMessage)
- Maintains session for presentation operations
- Claude通过Playwright MCP导航至powerpoint.office.com
- 如有需要,使用MICROSOFT_EMAIL进行认证
- 若提示双因素认证(2FA),通过iMessage通知用户
- 维持会话以进行演示文稿操作
Selectors Reference
选择器参考
javascript
// New presentation
'[aria-label="New blank presentation"]'
// Presentation name
'[aria-label="Presentation name"]'
// Slide thumbnails
'.slide-thumbnails'
// Current slide
'.slide-container'
// New slide button
'[aria-label="New slide"]'
// Insert tab
'[aria-label="Insert"]'
// Design tab
'[aria-label="Design"]'
// Animations tab
'[aria-label="Animations"]'
// Text box
'[aria-label="Text box"]'
// Shape button
'[aria-label="Shapes"]'
// Speaker notes
'[aria-label="Notes"]'
// Present button
'[aria-label="Present"]'javascript
// New presentation
'[aria-label="New blank presentation"]'
// Presentation name
'[aria-label="Presentation name"]'
// Slide thumbnails
'.slide-thumbnails'
// Current slide
'.slide-container'
// New slide button
'[aria-label="New slide"]'
// Insert tab
'[aria-label="Insert"]'
// Design tab
'[aria-label="Design"]'
// Animations tab
'[aria-label="Animations"]'
// Text box
'[aria-label="Text box"]'
// Shape button
'[aria-label="Shapes"]'
// Speaker notes
'[aria-label="Notes"]'
// Present button
'[aria-label="Present"]'Error Handling
错误处理
- Login Failed: Retry 3 times, notify user via iMessage
- Session Expired: Re-authenticate automatically
- Presentation Not Found: Search OneDrive, ask for clarification
- Image Insert Failed: Check URL/file, retry
- Theme Apply Failed: Retry, suggest alternatives
- Animation Failed: Retry, check element selection
- 登录失败:重试3次,通过iMessage通知用户
- 会话过期:自动重新认证
- 未找到演示文稿:搜索OneDrive,请求用户澄清
- 图片插入失败:检查URL/文件,重试
- 主题应用失败:重试,建议替代方案
- 动画添加失败:重试,检查元素选择
Self-Improvement Instructions
自我改进说明
When you learn a better way to accomplish a task with PowerPoint Online:
- Document the improvement in your response
- Suggest updating this skill file with the new approach
- Include specific design tips for better presentations
- Note differences from desktop PowerPoint
当你学到一种更好的PowerPoint Online任务完成方式时:
- 在你的回复中记录改进内容
- 建议使用新方法更新此技能文件
- 包含提升演示文稿质量的具体设计技巧
- 注明与桌面版PowerPoint的差异
Notes
注意事项
- PowerPoint Online auto-saves to OneDrive
- Designer provides AI-powered layout suggestions
- Real-time collaboration shows other users
- Transitions and animations supported
- Export to video limited in online version
- Maximum file size: varies by subscription
- Templates available from Start screen
- Presenter view available during slideshow
- PowerPoint Online自动保存至OneDrive
- Designer提供AI驱动的布局建议
- 实时协作会显示其他用户
- 支持切换效果和动画
- 在线版本的视频导出功能有限
- 最大文件大小:因订阅而异
- 启动屏幕提供模板
- 幻灯片放映期间可使用演示者视图