Skip to main content

pptx-reference-deck-analysis

Use when analyzing a reference PPTX for read-only structure, theme, typography, layout rhythm, diagnostics, derived template catalogs, or safe OOXML package inspection.

설치로 이동

소스 정보

저장소
lightconsen/extensions
최근 소스 활동
2026년 9월 8일 07:12
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
11 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
pptx-reference-deck-analysis
description
Use when analyzing a reference PPTX for read-only structure, theme, typography, layout rhythm, diagnostics, derived template catalogs, or safe OOXML package inspection.
# PPTX Reference Deck Analysis Inspect a reference deck as design evidence. This skill never copies, clones, or mutates a source deck. ## Contract Implement required extraction on demand with a small task-local `python-pptx` script. Capture only the information required for the new deck: - compact prompt context: slide count and size, text summaries, shape counts, styles, brand signals, template use, and layout rhythm; - full extraction: `summary`, slides, and read-only `layout_tree` evidence; - folder diagnostics: one result per deck plus a manifest; - style-master analysis: colors, fonts, size distribution, master/layout use, and flow patterns; - derived template catalog: zero-based source indices, layout roles, usable regions, placeholders, visual structures, and constraints. ## Rules - Keep the source deck read-only and independently author every target-slide coordinate. - Use the bundled OOXML utilities only for raw themes, relationships, notes, comments, animations, media, masters, or layouts that high-level extraction cannot expose. - Record inspected parts and parsing exceptions in the analysis manifest. - Do not use extracted content, fonts, images, or proprietary assets in a generated deck without explicit permission and license evidence. ## OOXML package inspection Install `defusedxml` from `requirements.txt` before using the bundled utilities. 1. Run `scripts/inspect.py <deck.pptx>` for a compact JSON report of slide order, text, theme tokens, relationships, notes, comments, animations, and media. 2. Run `scripts/validate_package.py <deck.pptx> --output <report.json>` for malformed XML, broken internal relationships, content-type gaps, duplicate layout links, and orphaned parts. 3. Run `scripts/unpack.py <deck.pptx> <output-dir>` only when raw-package evidence is necessary. 4. Resolve relationship targets relative to the `.rels` owner; never infer slide order from filenames. ### Safety - Never modify a supplied deck or blindly copy package parts into a new deck. - Run the scripts from a trusted workspace; they reject path traversal, symlinks, oversized members, and archive bombs. - Parse untrusted XML with `defusedxml`; do not enable entity expansion, DTD loading, or network access. - Treat theme colors as tokens unless fully resolved against the color scheme. See `references/reference-deck-analysis.md` for output shapes, `references/reference-deck-analysis-patterns.md` for documentation-only patterns, and `references/ooxml-parsing.md` for package part maps.
GitHub에서 보기