Ppt

From aipoch/medical-research-skills · View interactive version

Ppt is an AI agent skill from the GitHub repository aipoch/medical-research-skills. Create and export PPTX decks using the local HTML/JS PPT framework in `D:\SKILL\project\ppt`. Use this when you need to generate slides from a topic/outline, edit slide content via `projects/*.js`, preview as HTML, or export a `.pptx` without relying on an existing template.

How to use this skill

Skill file

Source: https://github.com/aipoch/medical-research-skills

Validation Shortcut

Run this minimal command first to verify the supported execution path:

python scripts/validate_skill.py --help

When to Use

Key Features

Dependencies

Example Usage

1) Create a project file

Create: D:\SKILL\project\ppt\projects\demo-20260227.js

const SLIDES = [
  {
    badge: { icon: "*", text: "DEMO" },
    title: { text: "PPT Framework Demo" },
    subtitle: "Build in JS, preview in HTML, export to PPTX",
    clickHint: "2026-02-27 / v1",
    elements: [
      {
        step: 1,
        type: "quote",
        text: "A code-first workflow makes decks reproducible and easy to iterate.",
        author: { icon: "-", text: "Key takeaway" }
      }
    ]
  },
  {
    badge: { icon: "*", text: "AGENDA" },
    title: { text: "What We Will Cover" },
    subtitle: "A simple outline slide",
    clickHint: "Section 1/3",
    elements: [
      { step: 1, type: "valueCards", title: "Authoring", items: ["Edit `projects/*.js`", "Use `const SLIDES`"] },
      { step: 2, type: "valueCards", title: "Preview", items: ["Generate HTML", "Review layout quickly"] },
      { step: 3, type: "valueCards", title: "Export", items: ["Convert to PPTX", "Share the deck"] }
    ]
  },
  {
    badge: { icon: "*", text: "END" },
    title: { text: "Next Steps" },
    subtitle: "Export and refine",
    clickHint: "Section 3/3",
    elements: [
      { step: 1, type: "ending", title: "Export the deck", bullets: ["Run HTML build", "Run PPTX conversion"] }
    ]
  }
];

module.exports = { SLIDES };

2) Preview as HTML

From D:\SKILL\project\ppt:

python build_html.py demo-20260227

3) Export to PPTX

python convert_to_pptx.py demo-20260227

4) Output location

Generated files are written to:

Implementation Details

Authoring model

Component usage

Workflow guidance (content + design)

When Not to Use

Required Inputs

Recommended Workflow

  1. Validate the request against the skill boundary and confirm all required inputs are present.
  2. Select the documented execution path and prefer the simplest supported command or procedure.
  3. Produce the expected output using the documented file format, schema, or narrative structure.
  4. Run a final validation pass for completeness, consistency, and safety before returning the result.

Output Contract

Validation and Safety Rules

Failure Handling

Quick Validation

Run this minimal verification path before full execution when possible:

No local script validation step is required for this skill.

Expected output format:

Result file: ppt_result.md
Validation summary: PASS/FAIL with brief notes
Assumptions: explicit list if any

Deterministic Output Rules

Completion Checklist

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.