Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

pptx-from-layoutsPPTX from layouts 搜索

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

661

周安装

27

GitHub Stars

30

下载量

212
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:pptx-from-layouts(PPTX from layouts 搜索)
来源仓库:https://github.com/tristan-mcinnis/pptx-from-layouts-skill
仓库路径:skills/pptx-from-layouts
安装命令:
npx skills add https://github.com/tristan-mcinnis/pptx-from-layouts-skill --skill pptx-from-layouts
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/tristan-mcinnis/pptx-from-layouts-skill --skill pptx-from-layouts

简介

pptx-from-layouts 用于辅助界面视觉规范和布局优化,提升设计一致性。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中生成 UI 方案或检查组件层级时使用。
  • 需结合品牌系统和用户任务,避免堆砌装饰元素。
  • 涉及真实页面改动时应通过截图预览检查文本溢出和对齐。
  • 适用于产品设计阶段,需配合原型工具验证实际视觉效果。

SKILL.md

PPTX Presentation System

Generate consultant-ready PowerPoint presentations from markdown outlines.

Quick Start

# Generate from outline (Inner Chapter template)
python .claude/skills/pptx-from-layouts/scripts/generate.py outline.md -o deck.pptx

# Edit existing deck (dump inventory, edit its JSON, apply as a file)
python .claude/skills/pptx-from-layouts/scripts/edit.py deck.pptx --inventory -o inv.json
#   edit inv.json: change the text on the paragraph(s) you care about
python .claude/skills/pptx-from-layouts/scripts/edit.py deck.pptx --replace inv.json -o edited.pptx

# Validate quality
python .claude/skills/pptx-from-layouts/scripts/validate.py deck.pptx

# Profile custom template
python .claude/skills/pptx-from-layouts/scripts/profile.py template.pptx --generate-config

Core Workflow

Generate (outline → PPTX)

  1. Create outline with visual type declarations
  2. Run generate command
  3. Validate output
# Basic generation
python .claude/skills/pptx-from-layouts/scripts/generate.py outline.md -o output.pptx

# With validation
python .claude/skills/pptx-from-layouts/scripts/generate.py outline.md -o output.pptx --validate

# Custom template
python .claude/skills/pptx-from-layouts/scripts/generate.py outline.md -o output.pptx \
    --config custom-config.json --template custom-template.pptx

# Parse only (no PPTX)
python .claude/skills/pptx-from-layouts/scripts/generate.py outline.md --layout-only -o layout.json

Edit (surgical changes)

Use for text-only changes to < 30% of slides.

# Extract content inventory (this is the schema replace.py consumes)
python .claude/skills/pptx-from-layouts/scripts/edit.py deck.pptx --inventory -o inv.json

# Apply replacements (pass an edited inventory-shaped JSON file)
# Edit inv.json: find the slide-N/shape-N/paragraphs[i].text you want to change,
# leave everything else as-is, then pass the file back:
python .claude/skills/pptx-from-layouts/scripts/edit.py deck.pptx --replace inv.json -o edited.pptx

# Reorder slides (0-indexed)
python .claude/skills/pptx-from-layouts/scripts/edit.py deck.pptx --reorder "0,2,1,3,4" -o reordered.pptx

Validate

# Basic quality check
python .claude/skills/pptx-from-layouts/scripts/validate.py deck.pptx

# With layout coverage analysis
python .claude/skills/pptx-from-layouts/scripts/validate.py deck.pptx --template template.pptx

# Compare to reference
python .claude/skills/pptx-from-layouts/scripts/validate.py deck.pptx --reference expected.pptx

# Generate diff report
python .claude/skills/pptx-from-layouts/scripts/validate.py deck.pptx --diff other.pptx -o diff.md

Profile (custom templates)

# Profile and generate config
python .claude/skills/pptx-from-layouts/scripts/profile.py template.pptx --generate-config

# Specify output location
python .claude/skills/pptx-from-layouts/scripts/profile.py template.pptx \
    --name my-template --output-dir ./configs/

Visual Types

Declare visual types in outlines with **Visual: type-name**.

TypeUse When
process-N-phaseSequential steps (N=2-5)
comparison-NSide-by-side options (N=2-5)
cards-NNon-sequential items (N=2-5)
data-contrastTwo opposing metrics
quote-heroPowerful quote
hero-statementSingle punchy statement
timeline-horizontalDate-based sequences
tableGenuinely tabular data
bulletsDefault (3+ items)

Decision order: sequence → comparison → parallel items → data contrast → quote → table → hero → bullets

Typography Markers

Inline

MarkerResult
{blue}text{/blue}IC brand blue
{bold}text{/bold}Bold
{italic}text{/italic}Italic
{question}text?{/question}Blue italic
{signpost}LABEL{/signpost}Section label

Paragraph

MarkerResult
{bullet:-}Dash bullet (–)
{bullet:1}Numbered
{level:N}Indent level

Example: Full Generation

# Project Overview
**Visual: hero-statement**
Transforming operations through digital innovation

# Our Approach
**Visual: process-4-phase**

[Column 1: Discover]
- Stakeholder interviews
- Competitive audit
[Image: research process]

[Column 2: Define]
- Workshop facilitation
- Strategic framework
[Image: workshop]

[Column 3: Design]
- Solution architecture
- Prototype development
[Image: design work]

[Column 4: Deliver]
- Implementation
- Training & handover
[Image: delivery]
python .claude/skills/pptx-from-layouts/scripts/generate.py outline.md -o project.pptx --validate

Example: Edit Workflow

# 1. Dump the inventory — this is the schema replace.py consumes
python .claude/skills/pptx-from-layouts/scripts/edit.py project.pptx --inventory -o inv.json

# 2. Open inv.json, find the target paragraph, change its "text" field.
#    Example: inv.json["slide-2"]["shape-3"]["paragraphs"][0]["text"] = "Q2 2026"
#    Leave every other slide/shape entry as-is (they will be re-applied verbatim).

# 3. Apply
python .claude/skills/pptx-from-layouts/scripts/edit.py project.pptx --replace inv.json -o updated.pptx

# 4. Validate
python .claude/skills/pptx-from-layouts/scripts/validate.py updated.pptx

Mode Decision

Change TypeAction
New presentationgenerate.py
Typos/values (< 30% slides)edit.py
Reorder slidesedit.py --reorder
Layout changesRegenerate
Add/remove slidesRegenerate
> 30% slide changesRegenerate

Anti-Patterns

  • DON'T use edit mode for layout changes (regenerate instead)
  • DON'T skip visual type decisions (bullets are boring)
  • DON'T edit > 30% of slides (regenerate instead)
  • DON'T forget validation step
  • DON'T use hero-statement for content with 3+ items
  • DON'T use tables for methodology/process flows
  • DON'T use bullet lists for side-by-side comparisons

Files

PathPurpose
template/inner-chapter.pptxDefault IC template
template/inner-chapter-config.jsonIC template config
.claude/schemas/layout_plan.pyLayout plan schema

See Also

Detailed rules in rules/:

  • outline-format.md - Markdown outline syntax
  • visual-types.md - Visual type selection
  • typography.md - Text formatting markers
  • columns.md - Column/card structures
  • tables.md - Table patterns
  • editing.md - Edit vs regenerate
  • decisions.md - Quick reference

Reference files in references/:

  • layouts.md - Inner Chapter template layout indices

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.28%
按下载量换算73

Claude

30.08%
按下载量换算64

Cursor

18.89%
按下载量换算40

Gemini CLI

9.78%
按下载量换算21

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills