HTML Presentation Slide Maker
Paste the following prompt into your AI chat to install this skill:
Please refer to https://skillhub.cn/install/skillhub.md to install @user_e9af5021/html-ppt-skill.
About this skill
Breaking Free from Templates: Achieving Ultimate Visual Control in Presentations
Traditional presentation software offers convenience through templates and drag-and-drop interfaces. However, they often impose significant constraints when you need highly customized layouts, responsive designs, or pixel-perfect visual fidelity. When the presentation is visual-driven and demands meticulous detail, constructing it with code provides a more direct and powerful path.
The core of html-ppt-skill is to treat every slide as a webpage, built from scratch with HTML and CSS. This approach liberates you from template limitations, granting complete control to implement complex interactions, smooth animations, and any layout imaginable.
Core Implementation and Technical Specifications
This skill defines a strict engineering standard to ensure the resulting slides are functional and visually polished.
- Precise 16:9 Ratio and Responsiveness: Each slide (
.slidecontainer) has its height forced to56.25vw(i.e., 9/16 * 100vw), guaranteeing a perfect 16:9 aspect ratio on any screen resolution. All dimensional units (fonts, spacing) usevwor percentages for fully responsive scaling. - Built-in Navigation and Export Logic: Every generated file must include standardized
JavaScriptto handle keyboard arrow navigation and touch swipe gestures. Thescroll-snapCSS property ensures smooth page snapping. Users can export to PDF directly via the browser'sCtrl+Pprint function, with each slide automatically paginated. - Design System Driven: The skill references a detailed design system (
references/design-system.md). This system specifies Chinese and English typography (e.g., usingZCOOL XiaoWeifor Chinese display text,Noto Sans SCfor body text, while explicitly banning generic fonts likeArial) and provides reusable color themes to ensure professional consistency. - Structured Workflow: The skill outlines a clear process: from understanding requirements (topic, audience, style) and planning page types (e.g., cover, two-column, data, timeline), to coding each slide and running a strict final self-checklist. The final HTML file should be saved to a designated directory and displayed via the
present_filesfunction.
Applicability and Key Considerations
This "code-first" approach to slide creation comes with trade-offs.
It is ideal for:
- Product launches or design proposals requiring extreme visual customization and brand consistency.
- Technical presentations with extensive data visualizations or complex interactions.
- Scenarios where the presentation content is a web prototype or needs to embed dynamic web components.
You should be aware that:
- Learning Curve: Proficiency in HTML and CSS, especially modern layout techniques (like Grid and Flexbox) and units (like vw), is necessary. It is not suitable for users seeking quick template solutions.
- Content Updates: Modifying text or images requires direct code editing, not visual interface manipulation.
- Maintenance Overhead: Custom styles and layouts require you to handle maintenance, including cross-browser compatibility.
In summary, this skill provides a powerful toolkit for developers and designers to take full control of their presentations, but it requires you to invest technical skill in exchange for that flexibility.
Use Cases
- When creating a presentation for a tech launch that requires complex data visualizations and live code demos, and must display flawlessly across various large screens.
- As a design team lead, needing to craft a visually distinctive, typography-focused, and brand-color-accurate deck for a crucial client brand proposal.
- When preparing an academic talk on cutting-edge web technologies, requiring a presentation that demonstrates real-time responsive layout switching and precise vw-unit control.
- For a project where the final deliverable must be a print-quality PDF, demanding perfect 16:9 page ratios and type fidelity in the exported document.
Best For
- Frontend engineers or technical advocates who want to showcase their web skills directly through their presentation materials.
- UI/UX designers or creative directors who need pixel-perfect control over every slide element and animation for high-fidelity portfolios or proposals.
- Product managers or data analysts who need to create reports with high-fidelity interactive prototypes and dynamic charts, easily demoable in a browser or exported to PDF.
- Academic researchers or consultants with high standards for presentation visuals, seeking to move beyond traditional PPT templates for more professional and information-dense reports.
Related Skills
Tencent Cloud Table Recognition V3 is an OCR skill for detecting and recognizing tables in images or PDFs, supporting various table types like linear and borderless tables, with Excel export.
The complete set of online document operation tools provided by Tencent Docs MCP, supporting creation, querying, and editing of smart docs, Excel, PPT, mind maps, and more.
PPT Master is a professional PPT generation skill that automatically generates editable .pptx files through a 5-stage interactive workflow based on user requirements.
An AI-powered bid document assistant offering intelligent interpretation, document generation, and compliance review features.