SkillsGrove
SkillsGrove/문서 작업/tristan-mcinnis/pptx-from-layouts-skill/pptx-author

pptx-author

설치

$npx skills add https://github.com/tristan-mcinnis/pptx-from-layouts-skill --skill pptx-author
$git clone --depth 1 https://github.com/tristan-mcinnis/pptx-from-layouts-skill.git /tmp/pptx-from-layouts-skill && mkdir -p ~/.claude/skills && cp -r /tmp/pptx-from-layouts-skill/.claude/skills/pptx-author ~/.claude/skills/pptx-author
이 Agent Skill을 설치해 주세요: https://github.com/tristan-mcinnis/pptx-from-layouts-skill/tree/46e7c6638305bcb424f257b5c49dcd2603dc71ea/.claude/skills/pptx-author — 먼저 SKILL.md와 스크립트를 읽고, 안전하다고 확인한 뒤에만 제 skills 폴더에 설치해 주세요.

요약

원문 설명 · MITSTEP 2 of the PPTX-from-layouts pipeline. Write a slide deck in markdown using the [HINT: layout_name] system so each slide targets a real template layout, then lint it before rendering. Use when the user wants to "draft slides", "write a deck outline", "author presentation markdown", "add layout hints", or has a layout catalog from Step 1 and needs to turn content into slides. Pairs with pptx-profile (Step 1) and pptx-from-layouts (Step 3).
아래 SKILL.md는 tristan-mcinnis/pptx-from-layouts-skill(커밋 46e7c66)에서 MIT 라이선스에 따라 게시한 것입니다. 본문은 변경하지 않았으며, 파일 상단의 메타데이터만 생략하고 이미지는 링크로 표시하며 매우 긴 파일은 일부만 표시합니다. Copyright 2026 Tristan. 라이선스: LICENSE. 지침 파일만 표시되며 스크립트 등은 원본 저장소를 참고하세요.

Step 2 — Author (pptx-author)

Write the deck as markdown where every slide names the exact template layout it should land on, using [HINT: layout_name]. This is the bridge between "I know my template's layouts" (Step 1) and "render the deck" (Step 3).

  STEP 1 — PROFILE          STEP 2 — AUTHOR           STEP 3 — RENDER
  pptx-profile              pptx-author               pptx-from-layouts
  ───────────────           ───────────────           ─────────────────
  your-template.pptx        slides.md (+ [HINT:])     slides.md + config
        │                         │                         │
        ▼                         ▼                         ▼
   catalog.py  ──catalog.md──▶  write & lint  ──slides──▶  generate.py ─▶ deck.pptx
        └────────────────── config.json ───────────────────▲   (validated)

You are here: Step 2. You need the layout-catalog.md from Step 1 (or use the bundled Inner Chapter layouts). Output is a slides.md the renderer consumes.

The contract

  1. Slides are separated by ---. Each begins with a title and (optionally) a hint.
  2. # Slide N: Title or ## Title — the title. Make it a claim, not a label ("Three briefs, one foundation" — not "Overview").
  3. [HINT: layout_name] — names a real layout from the Step-1 catalog. Copy the value verbatim from the catalog's Hint column. The engine fills that layout's actual placeholders.
  4. Content matches the layout:
    • column-* / grid-* layouts → [Column N: Header] blocks (or **Header**
      • body lines).
    • image-bearing layouts → [Image: path/to.jpg].
    • tabular data → a markdown table.
    • everything else → - bullets (the last resort, not the reflex).

Hints vs. Visual types — when to use which

You have… Author with Why
A profiled template + its catalog [HINT: real-layout-name] Precise: targets the exact layout. The "creating" path.
No catalog / unsure of layouts **Visual: type** (e.g. process-4-phase) Semantic: the engine auto-picks a layout for that intent.

[HINT:] always wins if both are present. A hint that doesn't match the template is ignored with a warning and falls back to auto-detection — so lint first.

Lint before you render

python scripts/lint_hints.py slides.md --config your-template-config.json
# or, against the Step-1 markdown catalog:
python scripts/lint_hints.py slides.md --catalog your-template-layout-catalog.md
# no flag → validates against the bundled Inner Chapter template

The linter flags, per slide: P0 unknown hint (with a "did you mean…?" suggestion — this will mis-render), P1 missing title, P2 bullets mixed with a table. Exit code 2 means fix-and-re-run.

Example

# Slide 1: Personas that respond like real humans

[HINT: title-cover]

### Inner Chapter

---

# Slide 2: Three outcomes the research must achieve

[HINT: column-3-centered-a]

[Column 1: Level-set the teams]
- Confirm what's known about each athlete

[Column 2: Capture room content]
- In-home video, voice clips, phone recordings

[Column 3: Deliver for leadership]
- A visceral understanding for senior stakeholders

---

# Slide 3: Why personas are the hard part

[HINT: content-image-right-a]

[Image: assets/persona-diagram.png]

- No world model — pattern-matching only
- Bias toward agreeableness — more positive than real consumers

Typography markers (inline)

Marker Result Marker Result
{bold}text{/bold} Bold {bullet:-} Dash bullet
{italic}text{/italic} Italic {bullet:1} Numbered
{blue}text{/blue} Brand color {level:N} Indent level

Then what

Hand slides.md (plus the template + config) to Step 3 — pptx-from-layouts:

python ../pptx-from-layouts/scripts/generate.py slides.md -o deck.pptx \
    --template your-template.pptx --config your-template-config.json --validate

For turning raw notes/source docs into a hint-tagged slides.md automatically, the pptx-outline-architect subagent does the heavy lifting.

라이선스 전문 보기(MIT)
MIT License

Copyright (c) 2026 Tristan

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.