dokie-ai-ppt
AI presentation generator. Create professional HTML slides through conversation. Triggers: create/edit PPT, presentation, slides, deck, keynote, pitch deck, quarterly report, product intro, training materials, roadshow, work report. Core: requirement analysis, outline generation, theme selection, HTML slide generation, local preview.
What this skill does
# 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 ```bash 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](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](rules/workflow.md) | Full workflow, grouping rules, theme switching | Before starting a task | | [outline.md](rules/outline.md) | Outline format (Content + Design) | When generating outline | | [modify-scenarios.md](rules/modify-scenarios.md) | Modification scenarios (insert, delete, split, merge, restyle, etc.) | When modifying a project | | [quality-check.md](rules/quality-check.md) | Post-generation quality checklist | After generation, before preview | ### Theme & Generation | File | Content | When to Reference | |------|---------|-------------------| | [theme.md](rules/theme.md) | Theme structure, style extraction, generation steps | **Must read before generating HTML** | | [theme-list.md](rules/theme-list.md) | Full theme list (local + online) | When selecting a theme | | [theme-customize.md](rules/theme-customize.md) | Change colors, fonts, custom themes | When user requests customization | | [slide-html.md](rules/slide-html.md) | HTML specs, icons, image rules | When generating HTML | ### Charts | File | Content | |------|---------| | [charts/chartjs.md](rules/charts/chartjs.md) | Statistical charts (bar, line, pie, radar, bubble) | | [charts/pyramid.md](rules/charts/pyramid.md) | Pyramid chart (HTML + CSS clip-path) | | [charts/funnel.md](rules/charts/funnel.md) | Funnel chart (HTML + CSS clip-path) | | [charts/timeline.md](rules/charts/timeline.md) | Timeline (HTML + CSS Flex/Grid) | | [charts/flowchart.md](rules/charts/flowchart.md) | Flowchart + cycle diagram (HTML/AntV/Mermaid) | | [charts/quadrant.md](rules/charts/quadrant.md) | Quadrant / SWOT (HTML + CSS Grid) | ### Animation Choose style based on scenario. Default is "Balanced": | File | Style | Use Case | |------|-------|----------| | [animation/minimal.md](rules/animation/minimal.md) | Minimal | Formal business, investor presentations | | [animation/balanced.md](rules/animation/balanced.md) | Balanced | General purpose, internal training | | [animation/creative.md](rules/animation/creative.md) | Creative | Product launches, creative showcases | ## CLI Commands ```bash 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 1. **Strictly follow the outline** — do not modify, expand, or abbreviate 2. **Theme consistency** — colors, fonts, styles must strictly follow the theme 3. **Content density** — one topic per slide, split if too much 4. **Image sources** — only use user-uploaded or tool-fetched images 5. **Data integrity** — never fabricate chart data
Related in Web Dev
generating-lwc-components
IncludedLightning Web Components with PICKLES methodology and 165-point scoring. Use this skill when the user creates or edits LWC components, builds wire service patterns, or writes Jest tests for LWC. TRIGGER when: user creates/edits LWC components, touches lwc/**/*.js, .html, .css, .js-meta.xml files, or asks about wire service, SLDS, or Jest LWC tests. DO NOT TRIGGER when: Apex classes (use generating-apex), Aura components, or Visualforce.
tanstack-query
IncludedManage server state in React with TanStack Query v5. Set up queries with useQuery, mutations with useMutation, configure QueryClient caching strategies, implement optimistic updates, and handle infinite scroll with useInfiniteQuery. Use when: setting up data fetching in React projects, migrating from v4 to v5, or fixing object syntax required errors, query callbacks removed issues, cacheTime renamed to gcTime, isPending vs isLoading confusion, keepPreviousData removed problems.
document-processor-api
IncludedProcess documents with Nutrient DWS. Use when the user wants to generate PDFs from HTML or URLs, convert Office/images/PDFs, assemble or split packets, OCR scans, extract text/tables/key-value pairs, redact PII, watermark, sign, fill forms, optimize PDFs, or produce compliance outputs like PDF/A or PDF/UA. Triggers include convert to PDF, merge these PDFs, OCR this scan, extract tables, redact PII, sign this PDF, make this PDF/A, or linearize for web delivery.
nutrient-document-processing
IncludedProcess documents with Nutrient DWS. Use when the user wants to generate PDFs from HTML or URLs, convert Office/images/PDFs, assemble or split packets, OCR scans, extract text/tables/key-value pairs, redact PII, watermark, sign, fill forms, optimize PDFs, or produce compliance outputs like PDF/A or PDF/UA. Triggers include convert to PDF, merge these PDFs, OCR this scan, extract tables, redact PII, sign this PDF, make this PDF/A, or linearize for web delivery.
tanstack-query
IncludedManage server state in React with TanStack Query v5. Covers useMutationState, simplified optimistic updates, throwOnError, network mode (offline/PWA), and infiniteQueryOptions. Use when setting up data fetching, fixing v4→v5 migration errors (object syntax, gcTime, isPending, keepPreviousData), or debugging SSR/hydration issues with streaming server components.
accelint-nextjs-best-practices
IncludedNext.js performance optimization and best practices. Use when writing Next.js code (App Router or Pages Router); implementing Server Components, Server Actions, or API routes; optimizing RSC serialization, data fetching, or server-side rendering; reviewing Next.js code for performance issues; fixing authentication in Server Actions; or implementing Suspense boundaries, parallel data fetching, or request deduplication.