kiyori-pptx
PowerPoint/.pptx 的高质量可编辑布局、原生图表、生成、模板填充与形状编辑。制作或修改演示文稿时使用。
Install / Use
npx skills add Kiyori-CN/Kiyori --skill kiyori-pptxInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Our assessment of kiyori-pptx
kiyori-pptx scores 70/100 on our quality scale, 3806th of 4,605 Development & Engineering skills we index.
Its SKILL.md is 6.8 KB long, well organised into 8 sections with 2 code examples: a thorough specification that gives an agent plenty to work with.
It has no GitHub stars yet, so there is no community track record; judge it on its content.
Maintenance, license and trust
- The repository was last updated today, so kiyori-pptx is actively maintained.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 80/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
kiyori-pptx compared with similar skills
All 4 of these similar skills score higher than kiyori-pptx; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| kiyori-pptx (this skill)by Kiyori-CN | 70 | 0 | today | SKILL.md |
| taste-skillby Leonxlnx | 100 | 98.2k | 3d ago | CLAUDE.md |
| ai-job-searchby MadsLorentzen | 100 | 49.3k | 2d ago | CLAUDE.md |
| claude-howtoby luongnv89 | 100 | 41.9k | 1d ago | CLAUDE.md |
| algorithmic-artby anthropics | 100 | 177.9k | 24d ago | SKILL.md |
Frequently asked questions
- How do I install kiyori-pptx?
- Run
npx skills add Kiyori-CN/Kiyori --skill kiyori-pptx. The install tabs above show the steps for each supported agent. - Which AI agents does kiyori-pptx work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is kiyori-pptx safe to use?
- It declares no license and scores 80/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is kiyori-pptx still maintained?
- The repository was last updated today, so kiyori-pptx is actively maintained.
Skill content
View source on GitHubname: kiyori-pptx description: PowerPoint/.pptx 的高质量可编辑布局、原生图表、生成、模板填充与形状编辑。制作或修改演示文稿时使用。
PPTX 处理
1. 标准流程
pptx_outline(layout_report=true)看幻灯片、版式、稳定 shape_id、图层、分组与版面风险。- 结构性操作(增/删/复制/重排)先做完:
pptx_slide。 - 再编辑内容:
pptx_edit/pptx_notes/pptx_media。 - 最后
pptx_clean→office_validate→office_render_preview→ 逐页看图。
2. 顺序规则(工具会强制提示)
- 先结构、后内容:复制会保留源页当前内容。备注、图表及其嵌入工作簿使用独立副本,图片/母版等资源共享;复制后仍应回读确认复杂媒体与链接。
pptx_clean重新保存演示包,不会修复错误关系或补回被删内容;正常注册的幻灯片应保持数量和顺序。- 有模板时优先
pptx_template_fill,保留模板设计;无模板才pptx_create。 - 删除页若被其他页、母版、自定义放映或节列表引用,会返回
E_FORMAT_UNSUPPORTED和incoming_references,文件不变。先在支持导航编辑的软件中明确移除或重定向引用,再删除;工具不会自动改跳转目标。无入站引用的增删、移动和复制可以正常进行。 - 模板填充递归覆盖组合对象中的文本框/表格;软换行和自动域是边界,不会把边界两侧拼成变量。替换值中的
{{...}}不递归展开;返回实际replacements。 - 已存在的演讲者备注同样参与变量替换和缺失检查;没有备注页时不创建新页。严格模式缺变量报
E_TEMPLATE_VAR_MISSING,非严格模式保留占位符并列入missing_variables。
3. 质量规则
- 版式多样化,不要每页同一个 layout。
- 根据内容选择文本、图表或图片,不强行为每页添加装饰。字号以实际观看距离和预览可读性为准。
- 0.5" 最小边距;文字不得溢出容器。
- 沿用用户模板的颜色、字体与版式,避免无关装饰。
- 不要残留空占位符、
{{变量}}、Lorem ipsum。
4. 交付检查
office_validate:检查<p:sldIdLst>数量以及每个条目到实际页面的关系映射、重复页面目标和图表轴配对;不代表所有动画、复杂媒体或文字溢出已验收。office_render_preview:逐页检查溢出、重叠、字号与图片比例。
5. 从空白页构建可编辑设计
pptx_create(slide_size_cm={width:33.867,height:19.05}, slides=[...]) 可指定 16:9 页面。每页可提供 background_rgb、notes 与 elements;layout_index=6 是内置空白版式,使用外部模板时先确认其版式索引。一个分析页示例:
{
"layout_index": 6,
"background_rgb": "F5F7FA",
"notes": "先说明口径,再解释趋势及限制。",
"elements": [
{"type": "text", "name": "title", "left_cm": 1.5, "top_cm": 1, "width_cm": 30, "height_cm": 2.2, "text": "核心结论应写在标题中", "font_name": "Noto Sans CJK SC", "size_pt": 30, "bold": true, "color_rgb": "18324A"},
{"type": "text", "name": "insights", "left_cm": 1.5, "top_cm": 4, "width_cm": 12, "height_cm": 11, "font_name": "Noto Sans CJK SC", "size_pt": 22, "color_rgb": "223344", "space_after_pt": 12, "paragraphs": [{"text": "用具体证据支持结论", "bullet": true}, {"text": "写出适用条件与局限", "bullet": true}]},
{"type": "chart", "name": "evidence", "left_cm": 15, "top_cm": 4, "width_cm": 17, "height_cm": 11, "chart_type": "column", "title": "示例数据:正式制作时替换为真实来源", "font_name": "Noto Sans CJK SC", "size_pt": 16, "categories": ["第一季", "第二季"], "series": [{"name": "指标", "values": [4, 7]}]}
]
}
- 元素位置尺寸使用
left_cm/top_cm/width_cm/height_cm,显式越界会报错;name为页内唯一名称,后续pptx_edit(shape_name=...)精确定位。pptx_outline返回索引、厘米/EMU 坐标、字体、图表系列与out_of_bounds,但不能仅靠几何信息证明文字未溢出。 text/shape支持font_name/size_pt/bold/italic/color_rgb/alignment;paragraphs可用字符串或{text,bullet,level,...字体字段}。支持space_before_pt/space_after_pt/line_spacing、margin_cm、vertical_alignment=top/middle/bottom。不会自动缩小字号或删字;长内容拆页或重新分配区域。- 创建元素时,
text:"第一行\n第二行"生成同一段内的<a:br>软换行,outline 以\u000b表示;需要两段或分别设置项目符号时使用paragraphs:["第一段","第二段"]。这与pptx_edit(set_text)按\n生成独立段落的语义不同,调用时按所需结构选择。 - 形状元素写成
{"type":"shape","shape":"rounded_rectangle",...};字段是shape,不接受shape_type。取值支持rectangle/rounded_rectangle/oval,可设fill_rgb/line_rgb;按信息关系选择图形。 table提供非空矩形rows;chart支持column/bar/line/pie,categories与各series[].values长度一致,饼图仅一个系列;均为 Office 可编辑对象。组合图、数据透视和复杂图表格式仍不在此入口范围。pptx_media只指定宽或高时按比例补另一维;全省略时适配剩余页面区域。EMU 参数与厘米换算为1 cm = 360000 EMU;显式越界会报错。pptx_edit(set_text)保留首段/首个 run 的字体与外观,换行生成真实段落;这不等于保留多种混合 run 样式,需要精确保留时优先模板填充。- 外部模板可能有重名形状;
shape_name多处命中会拒绝编辑并返回候选索引,改用shape_index定位顶层对象。组内对象用版面报告的稳定shape_id精确定位;索引在增删或重排后需要重新读取。 - 每页只承载一个清晰结论;统一内容边距、字号层级和颜色语义。图表标明单位、统计口径与来源;备注容纳细节。完成结构校验后逐页看预览,检查中文字体、遮挡、表格行高和图例可读性,再交付可编辑源文件与按需生成的 PDF。
6. 增量编辑、主题与原生样式
新增元素用 pptx_edit(operation=add_elements,slide_index=...,elements=[...]),与创建共用元素参数。
不要为加一张图表重建整份文件。set_style、set_table、set_chart、replace_image 分别修改目标对象;
set_table(cells=[{row:1,column:0,text:"新值"}]) 只修改指定单元格,行列索引从 0 开始。
set_chart(chart_data={categories:[...],series:[{name,values}]}) 同时更新图表缓存和嵌入工作簿;
共享图表先分离,不改变其他页面的引用。复杂组合图、外部链接数据源不在数据编辑范围。
- 文档或页面
theme设置font_name/size_pt/color_rgb/bold/italic等字体与段落默认值,页面覆盖文档,元素覆盖页面;图片不应用文字默认值。主题不会重新设计已有模板。 table_style:header_fill_rgb/header_color_rgb/body_fill_rgb/band_fill_rgb/border_rgb/border_width_pt/font_name/size_pt/color_rgb/column_widths_cm/row_heights_cm。使用真表格;不以一组文本框冒充可维护的表格。- 新建形状文字默认垂直居中,文本框默认贴顶;元素或主题显式
vertical_alignment优先。表格未指定row_heights_cm时采用每行 0.8cm 的工具默认值,不按预留height_cm均分;显式行高仍准确保留。长文本需预览后调整行高,不保证渲染器自动撑高。 chart_style:series_colors与系列数一致,point_colors用于单系列且与数据点数一致;legend_position=none/top/bottom/left/right、legend_font_size_pt、gridlines、number_format、minimum_scale/maximum_scale。background_rgb/plot_fill_rgb/border_rgb接受 RGB 或none。图表无显式标题时不自动生成系列标题。data_labels属于chart_style,支持show_value/show_percentage/show_category/position/number_format/size_pt/color_rgb;位置可取center/inside_end/outside_end/best_fit,最终适用效果取决于图表类型并须预览。style用于文本框和形状:fill_rgb或gradient={colors:["123456","ABCDEF"],angle:45},二者互斥;opacity为 0-1;shadow={color_rgb,opacity,blur_pt,distance_pt,angle};line_rgb/line_width_pt。corner_radius为圆角矩形的 0-0.5 相对调整值,不是厘米。image元素指定image_path与fit=contain/cover/stretch,默认等比完整显示;crop={left,right,top,bottom}是四边裁去的比例。replace_image(image_path=...)保留目标的尺寸、位置、裁剪与身份,换图后重新检查构图。icon元素指定icon=check/arrow_right/chart/document/download/play/code/search、color_rgb/line_width_pt;它们是随包原创可编辑路径,无需网络或字体图标。不要拿圆点替代语义图标。formula元素指定原生omml(m:oMathXML)和位置尺寸,可设置字号等文字参数;不要把 LaTeX 字符串直接当作 OMML。PPT/Word 使用可编辑公式,PDF 通过转换保留视觉;复杂公式逐项检查根号、上下标和分式。
z_order(z_index=0) 把对象放到所属组底层;group(shape_ids=[...],group_name=...) 接受连续顶层图层,
避免成组悄悄改变遮挡关系。ungroup 支持未旋转/翻转/缩放的组合,保留平移;不支持的变换明确拒绝。
删除被动画或连接线引用的对象前,先处理引用。未共享的旧媒体关系随删除移除。
7. 动画、转场与视觉终审
每页创建 spec 可指定 transition 与 animations;已有页通过 set_transition / set_animations 修改。
set_animations 替换该页整份动画列表,[] 明确清除。普通文字、样式和图片编辑保留已有动效。
{
"transition": {"effect":"fade", "speed":"med", "advance_on_click":true},
"animations": [
{"shape_name":"title", "effect":"fade", "trigger":"on_click", "duration_ms":500},
{"shape_name":"chart", "effect":"wipe", "direction":"up", "trigger":"after_previous", "duration_ms":600, "delay_ms":100}
]
}
- 转场支持
none/fade/push/wipe/split/cover/uncover,speed=slow/med/fast。push/wipe/cover/uncover可设direction=l/r/u/d;advance_after_ms设置自动换页时间。 - 动画支持
fade/wipe/appear,trigger=on_click/with_previous/after_previous,exit=true表示退出;wipe 方向为up/down/left/right。以内容解释顺序为依据使用适量动效,不批量堆叠装饰。 - 暂不提供 Morph、运动路径、逐字动画或任意复杂时间线编辑。静态 PDF/PNG 不播放动画,不得用静态预览宣称放映已验收;在目标 PowerPoint/WPS 中确认点击、先后次序和自动换页。
pptx_measure_text(text,width_cm,height_cm,size_pt,...)提供创建前的高度估算;measurement_kind=heuristic_not_font_shaping明确表示它没有执行真实字体排版。长文本优先改信息结构、拆页、扩大区域,不自动缩字。- 报告中的
OUT_OF_BOUNDS、POSSIBLE_TEXT_OVERFLOW与overlaps分别处理。containment常见于文字置于面板之上,必须结合实际图像判断;不能把“零几何问题”当作美观证明。大纲返回真实layout_index和版式名称,内置模板的空白页应为6 / Blank。
Related Skills
taste-skill
98.2kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
ai-job-search
49.3kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
claude-howto
41.9kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
