pptx-reference-deck-analysis – skill Tài liệu & Office cho agent AI
Dùng khi phân tích PPTX tham chiếu ở chế độ chỉ đọc: cấu trúc, theme, kiểu chữ, nhịp bố cục, chẩn đoán, danh mục template suy ra, và kiểm tra gói OOXML an toàn.
Cài skill pptx-reference-deck-analysis bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/pptx-reference-deck-analysis-ec061.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /pptx-reference-deck-analysis – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/pptx-reference-deck-analysis-ec061.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $pptx-reference-deck-analysis – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/pptx-reference-deck-analysis-ec061.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /pptx-reference-deck-analysis – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/pptx-reference-deck-analysis-ec061.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /pptx-reference-deck-analysis – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
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-onlylayout_treeevidence; - 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.
Skill liên quan
- pptx-slide-specification – Dùng khi viết hoặc sửa một đặc tả JSON có tọa độ rõ ràng cho bộ slide PPTX có thể chỉnh…
- pptx-visual-assets – Dùng khi chọn và đặt các icon, hình ảnh, SVG, sơ đồ hoặc infographic bổ trợ đã được phê…
- merger-model – Xây dựng bảng tính Excel phân tích accretion/dilution cho M&A.
- pathml – Hỗ trợ nghiên cứu giải phẫu bệnh tính toán cục bộ với PathML: tải và chia ô lam kính…
- microsoft-office – Tạo, đọc và chỉnh sửa file Word, PowerPoint và Excel.
- brutalist-typography – Hướng dẫn triển khai web và app theo Brutalist Typography. Kích hoạt khi người dùng muốn…
- byagent – Xuất bản Markdown hoặc HTML do agent viết thành liên kết chia sẻ bằng CLI byagent, sau…
- pptx-posters – Tạo và kiểm tra poster khoa học có thể chỉnh sửa trong PowerPoint (.pptx) không chứa…