← 返回 Skills 市场
MS-PPT-Style: Morgan Stanley PPT Generator
作者
yjkj999999
· GitHub ↗
· v1.0.0
· MIT-0
26
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ms-ppt-style
功能描述
Morgan Stanley classic PPT style generator for OpenClaw/WorkBuddy/QClaw. Use when user needs to create professional financial report style presentations with...
使用说明 (SKILL.md)
MS-PPT-Style Skill
Overview
摩根士丹利经典款PPT风格生成器 - 一键生成专业金融报告风格PPT。
Morgan Stanley classic PPT style generator - one-click professional financial report style presentation.
Features
- 经典配色: 摩根士丹利蓝(#003087) + 金色(#C9A227)
- 渐变封面: 极简深色渐变背景,居中双语标题
- 全双语内容: 所有页面中英对照
- 专业图表: 瀑布图、玫瑰图、雷达图、散点矩阵、堆叠图
- 金融级排版: 干净利落的投行报告风格
Installation
# 安装依赖
npm install pptxgenjs
# 使用此Skill生成PPT
Usage
基础用法
const pptxgen = require("pptxgenjs");
let pres = new pptxgen();
// 定义摩根士丹利色彩
const MS_BLUE = "003087";
const MS_GOLD = "C9A227";
const MS_DARK = "1A1A2E";
const MS_WHITE = "FFFFFF";
const MS_GRAY = "6B7280";
const MS_LIGHT_GRAY = "F3F4F6";
// ===== 封面 =====
let slide1 = pres.addSlide();
// 渐变背景
slide1.addShape(pres.shapes.RECTANGLE, {
x: 0, y: 0, w: 10, h: 5.625,
fill: { color: "0A1628" }
});
slide1.addShape(pres.shapes.RECTANGLE, {
x: 0, y: 0, w: 10, h: 5.625,
fill: { color: "1A2744", transparency: 60 }
});
// 金色顶线
slide1.addShape(pres.shapes.RECTANGLE, {
x: 0, y: 0, w: 10, h: 0.04,
fill: { color: MS_GOLD }
});
// 居中双语标题
slide1.addText("Title Here", {
x: 0.5, y: 1.8, w: 9, h: 0.8,
fontSize: 46, fontFace: "Arial", color: MS_WHITE,
bold: true, align: "center"
});
slide1.addText("中文标题", {
x: 0.5, y: 2.7, w: 9, h: 0.5,
fontSize: 26, fontFace: "Arial", color: MS_GOLD,
align: "center"
});
// 金色装饰线
slide1.addShape(pres.shapes.RECTANGLE, {
x: 4.25, y: 3.4, w: 1.5, h: 0.02,
fill: { color: MS_GOLD }
});
// 底部信息
slide1.addText("Research Report | 研究报告", {
x: 0.5, y: 4.8, w: 9, h: 0.25,
fontSize: 10, fontFace: "Arial", color: "9CA3AF",
align: "center"
});
// ===== 内容页模板 =====
let slide2 = pres.addSlide();
slide2.background = { color: MS_WHITE };
// 蓝色标题栏
slide2.addShape(pres.shapes.RECTANGLE, {
x: 0, y: 0, w: 10, h: 0.8,
fill: { color: MS_BLUE }
});
slide2.addText("ENGLISH TITLE 中文标题", {
x: 0.5, y: 0.18, w: 8, h: 0.45,
fontSize: 22, fontFace: "Arial", color: MS_WHITE,
bold: true
});
// 内容区域...
// 保存
pres.writeFile({ fileName: "output.pptx" });
图表模板
瀑布图
const items = [
{ name: "Item1", value: 100, color: "003087" },
{ name: "Item2", value: 200, color: "1E5AA8" }
];
// 使用矩形堆叠模拟瀑布效果
玫瑰图 (Pie Chart)
slide.addChart(pres.charts.PIE, [{
name: "Category",
labels: ["A", "B"],
values: [40, 60]
}], {
chartColors: ["003087", "C9A227"],
showPercent: true,
showLegend: true,
legendPos: "r"
});
雷达图
slide.addChart(pres.charts.RADAR, [
{
name: "Series1",
labels: ["Dim1", "Dim2", "Dim3"],
values: [80, 90, 70]
}
], {
chartColors: ["003087"],
lineSize: 2,
radarStyle: "filled"
});
散点矩阵 (手动绘制)
// 绘制坐标轴
slide.addShape(pres.shapes.RECTANGLE, {
x: 1.0, y: 1.3, w: 0.02, h: 4.0,
fill: { color: "374151" }
});
// 绘制气泡...
Color Reference
| 名称 | 色值 | 用途 |
|---|---|---|
| MS_BLUE | #003087 | 标题栏、强调 |
| MS_LIGHT_BLUE | #1E5AA8 | 次要强调 |
| MS_GOLD | #C9A227 | 装饰线、点缀 |
| MS_DARK | #1A1A2E | 深色背景 |
| MS_WHITE | #FFFFFF | 正文背景 |
| MS_GRAY | #6B7280 | 次要文字 |
| MS_LIGHT_GRAY | #F3F4F6 | 卡片背景 |
Chart Colors
const MS_CHART_COLORS = [
"003087", "1E5AA8", "3B82F6", "60A5FA",
"93C5FD", "C9A227", "D4AF37", "E5E7EB"
];
Typography
| 用途 | 字体 | 字号 |
|---|---|---|
| 封面标题 | Arial | 46pt |
| 封面副标题 | Arial | 26pt |
| 页面标题 | Arial | 22pt |
| 正文英文 | Arial | 12pt |
| 正文中文 | Arial | 10pt |
| 注释 | Arial | 9pt |
Dependencies
pptxgenjs>= 3.0.0
License
MIT
Author
QClaw (小龙虾)
安全使用建议
Review this skill before use because it can create financial-report-style decks with official-looking Morgan Stanley attribution. If you use it, update the presentation author metadata and wording so the output does not imply Morgan Stanley affiliation or approval unless that is intended and authorized.
功能分析
Type: OpenClaw Skill
Name: ms-ppt-style
Version: 1.0.0
The skill bundle is a legitimate tool for generating PowerPoint presentations in a Morgan Stanley-inspired financial report style using the 'pptxgenjs' library. The core logic in index.js and the instructions in SKILL.md are strictly focused on slide layout, color palettes, and chart generation, with no evidence of data exfiltration, malicious execution, or prompt injection.
能力评估
Purpose & Capability
PPTX generation and chart styling are coherent with the stated purpose, but the code hard-codes official-sounding Morgan Stanley authorship metadata rather than only providing a visual style.
Instruction Scope
The documented usage is user-directed PPT generation and local file output; there is no evidence of hidden autonomous execution or destructive behavior.
Install Mechanism
The skill depends on an external npm package for PPTX generation. This is purpose-aligned, but users should trust and pin the dependency in controlled environments.
Credentials
No credentials, environment variables, privileged local access, network endpoints, or broad filesystem access are requested by the artifacts.
Persistence & Privilege
No background worker, persistence mechanism, privilege escalation, or continuing agent behavior is shown.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install ms-ppt-style - 安装完成后,直接呼叫该 Skill 的名称或使用
/ms-ppt-style触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release with Morgan Stanley style, bilingual support, waterfall charts, rose charts, radar charts
元数据
常见问题
MS-PPT-Style: Morgan Stanley PPT Generator 是什么?
Morgan Stanley classic PPT style generator for OpenClaw/WorkBuddy/QClaw. Use when user needs to create professional financial report style presentations with... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 26 次。
如何安装 MS-PPT-Style: Morgan Stanley PPT Generator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install ms-ppt-style」即可一键安装,无需额外配置。
MS-PPT-Style: Morgan Stanley PPT Generator 是免费的吗?
是的,MS-PPT-Style: Morgan Stanley PPT Generator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
MS-PPT-Style: Morgan Stanley PPT Generator 支持哪些平台?
MS-PPT-Style: Morgan Stanley PPT Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 MS-PPT-Style: Morgan Stanley PPT Generator?
由 yjkj999999(@yjkj999999)开发并维护,当前版本 v1.0.0。
推荐 Skills