Logo Thesis Defense Pptx

Thesis Defense Pptx

Cộng đồng
zouchenzhen
thesis-defense-pptx

Create, polish, and quality-check editable undergraduate or graduate thesis defense PowerPoint decks from a local thesis PDF/LaTeX project and an existing PPTX template. Use when the user asks for a formal defense PPT, thesis presentation, academic答辩PPT, template-matched PPTX, or local PowerPoint deck generation with visual inspection.

Tổng quan

Nhà phát hànhzouchenzhen
Kho mãthesis-defense-pptx-skill
Tên kỹ năngthesis-defense-pptx
Sao
275
Bản fork
19
Tệp đi kèm
11
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 11 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được zouchenzhen công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Thesis Defense Pptx trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/zouchenzhen/thesis-defense-pptx-skill/tree/main/skills/thesis-defense-pptx
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zouchenzhen/thesis-defense-pptx-skill.git /tmp/thesis-defense-pptx-skill
mkdir -p .claude/skills
cp -r /tmp/thesis-defense-pptx-skill/skills/thesis-defense-pptx .claude/skills/thesis-defense-pptx
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Thesis Defense Pptx trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Thesis Defense Pptx ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Thesis Defense Pptx với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Thesis Defense PPTX

Use this skill for local, editable .pptx thesis defense decks that must follow a supplied university/lab/company PowerPoint template.

Operating Principles

  • Platform: Windows + Microsoft PowerPoint for COM-driven cloning, export, and overflow inspection. On macOS/Linux, use the python-pptx-only parts and skip COM-based quality gates.
  • Treat the visual template as the source of truth. Preserve its cover, colors, fonts, navigation, card styles, logos, and slide proportions unless the user explicitly asks to redesign.
  • Read the thesis source first: PDF, LaTeX, figures, old PPT, experiment scripts, tables, and captions. Do not generate from topic/title alone when source files exist.
  • Build a source-asset inventory before placing images: extract \includegraphics entries and captions from the final TeX/PDF, then use only thesis-cited figures or images the user explicitly approves. Do not carry over pictures from a template, old progress deck, or draft figure folder merely because they look relevant.
  • Prefer copying native template slides and replacing content over rebuilding from blank slides.
  • Keep slides concise and presentation-oriented. Convert thesis prose into defense talking points.
  • Preserve the template's font sizes and hierarchy by default. For projection readability, first shorten text, split dense slides, or use the template's larger existing layouts; only change font sizes locally when the template itself provides no readable fit.
  • Always generate an editable .pptx, not only an outline, image deck, PDF, or HTML.
  • Always run a visual quality gate before final response: export slide images, inspect a contact sheet plus key full-size slide screenshots, check text overflow, check stale template words/images, and verify the PPTX opens.

Recommended Workflow

  1. Identify inputs:

    • thesis project path or full thesis document
    • visual template PPTX
    • optional old defense/report PPTX
    • output directory and desired filename
  2. Extract thesis context:

    • Use scripts/extract_thesis_context.py to summarize PDF/TeX text and list candidate figures.
    • Read source files directly when details matter: abstract, introduction, method, experiments, results, conclusion.
    • Create an explicit list of final-thesis figures from \includegraphics and captions. Treat this as the allow-list for PPT images unless the user requests new visuals.
    • Collect defense-critical facts: problem, motivation, modeling, algorithms, experimental setup, baselines, metrics, key results, limitations, future work.
  3. Analyze the template:

    • Export template slides to PNG if PowerPoint is available.
    • Inspect cover, TOC, navigation, section, body/card, chart/image, summary, and closing slide styles.
    • Note fonts, font sizes, red/brand color, card dimensions, line widths, and spacing.
  4. Build a native template skeleton:

    • Use PowerPoint COM (scripts/clone_template_deck.ps1) when PowerPoint is installed.
    • Copy or duplicate original template slides in the needed order.
    • Use python-pptx only to replace content and add images/shapes after the skeleton is valid.
  5. Fill content:

    • Use 12-16 slides for undergraduate defense unless user specifies otherwise.
    • Typical order: cover, TOC, background, problem definition, work summary, system/method, modeling, implementation, experiment setup, training/results, comparison, robustness/multi-seed, innovation/limitations, summary/outlook, thanks.
    • Use final-thesis figures first and verify each inserted picture against the source-asset inventory. If a picture is from a template or old deck and is not thesis-cited, replace it or remove it.
    • Keep dense tables limited to headline metrics; move detailed prose into verbal notes or omit. Prefer one message per slide, large existing template placeholders, metric cards, and short bullets over shrinking text or adding small multi-column tables.
    • Match the template's typography before changing sizes: preserve title/body/table/navigation sizing where possible, and use content reduction or slide splitting before manual font scaling.
  6. Quality gate:

    • Export final PPTX to PNG with scripts/export_pptx_png.ps1.
    • Create a contact sheet with scripts/make_contact_sheet.py.
    • Run scripts/inspect_pptx_overflow.ps1.
    • Run scripts/scan_pptx_text.py for slide count and stale template terms.
    • Inspect the contact sheet manually, then open any risky slide full-size. COM overflow is not sufficient: also check visible clipping, text crossing card borders, small text caused by overfilling, stale template images, image aspect ratios, and text/card overlap.
    • Check stale template text, placeholders, wrong names/dates, wrong navigation labels, red active-nav white text, and non-thesis images accidentally inherited from the template or old progress deck.
    • Fix and repeat until the exported deck is clean.
  7. Final response:

    • Give the full output path, total slide count, main changes, validation performed, and any unresolved manual confirmations.

Script Usage

Extract thesis context:

powershell
python scripts/extract_thesis_context.py --input "D:\path\to\thesis" --output "D:\path\to\thesis_context.md"

Clone template slides into a native skeleton:

powershell
powershell -NoProfile -ExecutionPolicy Bypass -File scripts/clone_template_deck.ps1 `
  -Template "D:\path\template.pptx" `
  -Output "D:\path\output.pptx" `
  -SlideSequence "1,2,3,4,4,6,7,8,9,10,11,12,13,14,15"

In this example slide 4 is deliberately reused as a sub-section page and slide 5 is skipped.

Export final deck:

powershell
powershell -NoProfile -ExecutionPolicy Bypass -File scripts/export_pptx_png.ps1 `
  -Pptx "D:\path\output.pptx" `
  -OutDir "D:\path\visual_check" `
  -Width 1600 -Height 900

Inspect possible overflow:

powershell
powershell -NoProfile -ExecutionPolicy Bypass -File scripts/inspect_pptx_overflow.ps1 `
  -Pptx "D:\path\output.pptx" `
  -Tolerance 40 `
  -OutputJson "D:\path\overflow.json"

Make a contact sheet:

powershell
python scripts/make_contact_sheet.py --input "D:\path\visual_check" --output "D:\path\contact_sheet.png"

Scan deck text and forbidden terms:

powershell
python scripts/scan_pptx_text.py `
  --pptx "D:\path\output.pptx" `
  --bad "中期检查,项目简介,系统框图,算法设计,成果展示,总结分析,TODO,占位"

For quality criteria, read references/pptx_quality_gate.md.

Iteration Tips

The fastest way to fail a content fill is guessing strings instead of reading them. Use this loop:

  1. Dump first. Run scripts/dump_pptx_content.py --pptx <skeleton> --output dump.md to list every shape's exact text, plus all table cells and picture names. Open dump.md and copy the strings you intend to replace.
  2. Prefer partial match for body text. Use replace_partial_text(slide, {"keyword": "new full text"}) instead of replace_exact_text whenever the body sentence might differ from the template by a stray space, half/full-width quote, or —— vs —. Pass min_len=20 to avoid short-key collisions with navigation tags.
  3. Keep replace_exact_text for short tags. Navigation labels and section titles ("项目简介", "工作总结") are stable; exact match is safer because it cannot accidentally rewrite a body paragraph that happens to contain the same word.
  4. Use the table/picture helpers. write_table(table, rows) preserves cell font/color/size, and replace_picture(slide, old_pic, new_path) swaps an image while keeping position and size — both avoid the boilerplate of removing and re-creating shapes.
  5. Re-run overflow + scan after every fill pass. Overflow caused by longer content is the single most common bug; fix by shortening copy first, then by manual \n line breaks, and only resize the textbox if the template visual really allows it.
  6. Encoding. All Python scripts shipped here force stdout to UTF-8, and the PowerShell scripts force the console output codepage to UTF-8, so cp936/gbk consoles do not corrupt JSON output containing CJK paths or Unicode symbols (−, Δ, ✓).

Script Usage

Dump every slide's shapes/text/tables/pictures (run this BEFORE constructing replacement dicts):

powershell
python scripts/dump_pptx_content.py --pptx "D:\path\skeleton.pptx" --output "D:\path\dump.md"

Add --slide 4,8,9 to limit to specific slides while iterating.

Implementation Notes

  • Requires Python 3.10+ and the packages in requirements.txt.
  • On Windows with Microsoft PowerPoint installed, PowerPoint COM is the most reliable way to duplicate template slides and inspect real rendering.
  • python-pptx is good for editable text, shapes, images, tables, and simple charts, but it does not perfectly model every PowerPoint layout/rendering behavior.
  • scripts/pptx_template_tools.py uses THESIS_PPTX_BRAND_RED when set (#830604, 830604, or 131,6,4) so new school templates do not require source edits for the primary red.
  • When a PowerPoint add-in blocks COM automation, disable only the broken add-in autoload if necessary and report that action.
  • Use backups before overwriting a deck.
  • Never revert unrelated user files while iterating.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Thesis Defense Pptx làm được gì?

Create, polish, and quality-check editable undergraduate or graduate thesis defense PowerPoint decks from a local thesis PDF/LaTeX project and an existing PPTX template. Use when the user asks for a formal defense PPT, thesis presentation, academic答辩PPT, template-matched PPTX, or local PowerPoint deck generation with visual inspection.

Vì sao nên dùng Thesis Defense Pptx trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Thesis Defense Pptx là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Thesis Defense Pptx trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/zouchenzhen/thesis-defense-pptx-skill/tree/main/skills/thesis-defense-pptx. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Thesis Defense Pptx?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Thesis Defense Pptx với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Thesis Defense Pptx với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Thesis Defense Pptx có miễn phí không?

Có. Kỹ năng này được zouchenzhen phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇