dokie-ai-ppt
npx skills add https://github.com/myzy-ai/dokie-ai-ppt --skill dokie-ai-ppt
Agent 安装分布
Skill 文档
Dokie AI PPT Skill
This is Dokie AI PPT Skill â a professional presentation design skill. Use it whenever you need to generate a PPT, create a presentation, or build any showcase content with HTML.
Built on web technologies, supporting everything from minimal business style to Awwwards-level creative motion â far beyond what traditional PPT can deliver.
Prerequisites
npx dokie-cli themes # Verify CLI is available
Workflow
â ï¸ IMPORTANT: This is an interactive, step-by-step workflow. At each step, you MUST read the referenced rule files before doing the work. Present your result to the user and wait for their response before moving to the next step. Do NOT rush through multiple steps in one response.
New Project
Collect requirements â User confirms â Select theme â User confirms â Generate outline â User confirms â Generate HTML â Preview â User feedback
Modify Project
Understand intent â Minimal changes â Preserve original layout
See rules/workflow.md for details.
Core Specifications
| Item | Specification |
|---|---|
| Resolution | 1280 Ã 720 |
| Charts | Chart.js 4.5 |
| Icons | Font Awesome 6.5 |
| Animation | GSAP (CSS animation prohibited) |
| Prohibited | Emoji, fabricated image URLs |
Rule Index
Process & Format
| File | Content | When to Reference |
|---|---|---|
| workflow.md | Full workflow, grouping rules, theme switching | Before starting a task |
| outline.md | Outline format (Content + Design) | When generating outline |
| modify-scenarios.md | Modification scenarios (insert, delete, split, merge, restyle, etc.) | When modifying a project |
| quality-check.md | Post-generation quality checklist | After generation, before preview |
Theme & Generation
| File | Content | When to Reference |
|---|---|---|
| theme.md | Theme structure, style extraction, generation steps | Must read before generating HTML |
| theme-list.md | Full theme list (local + online) | When selecting a theme |
| theme-customize.md | Change colors, fonts, custom themes | When user requests customization |
| slide-html.md | HTML specs, icons, image rules | When generating HTML |
Charts
| File | Content |
|---|---|
| charts/chartjs.md | Statistical charts (bar, line, pie, radar, bubble) |
| charts/pyramid.md | Pyramid chart (HTML + CSS clip-path) |
| charts/funnel.md | Funnel chart (HTML + CSS clip-path) |
| charts/timeline.md | Timeline (HTML + CSS Flex/Grid) |
| charts/flowchart.md | Flowchart + cycle diagram (HTML/AntV/Mermaid) |
| charts/quadrant.md | Quadrant / SWOT (HTML + CSS Grid) |
Animation
Choose style based on scenario. Default is “Balanced”:
| File | Style | Use Case |
|---|---|---|
| animation/minimal.md | Minimal | Formal business, investor presentations |
| animation/balanced.md | Balanced | General purpose, internal training |
| animation/creative.md | Creative | Product launches, creative showcases |
CLI Commands
npx dokie-cli themes # List all themes
npx dokie-cli themes --json # JSON format output
npx dokie-cli theme <name|id> # Get theme details (with HTML templates)
npx dokie-cli theme "Dokie Vibe" --json # JSON format output
npx dokie-cli preview ./my-project/ # Local preview
Output Format
my-project/
âââ slide_01.html
âââ slide_02.html
âââ slide_03.html
âââ ...
File naming: slide_01.html, slide_02.html … numbered sequentially.
Key Constraints
- Strictly follow the outline â do not modify, expand, or abbreviate
- Theme consistency â colors, fonts, styles must strictly follow the theme
- Content density â one topic per slide, split if too much
- Image sources â only use user-uploaded or tool-fetched images
- Data integrity â never fabricate chart data