Communitygithub.com

LiChangZheng10086/doyin_ai_video

Smart PPT Generator. Supports 7 visual styles (Lego, Pop Art, Clay, Black & White, Business, Academic, Tech), with fully automated capabilities to recommend styles based on content, generate outlines, create illustrations, and assemble slides.

What is doyin_ai_video?

This skill transforms content creation and visual design into a single, automated workflow. By simply providing text input, it generates a polished PPT with recommendations from 7 distinct visual styles, including creative options like Lego and Clay Stop-Motion, as well as professional styles like Academic Blue and Tech Future. The agent analyzes the input tone to suggest the best style, then generates structured JSON content with slide titles, body text, and image prompts. It automatically creates illustrations via tools like Imagen/Midjourney and assembles the final `.pptx` file using the provided `generate_styled_ppt.py` script. This makes it ideal for developers, educators, and business professionals using AI agents such as Claude Code or Cursor to produce presentation-ready decks quickly without manual design work.

Works with✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/LiChangZheng10086/doyin_ai_video/tree/HEAD/.agents/skills/ppt-generator-skill

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

PPT Generator Skill

🎯 Core Capabilities

This skill merges "content creation" with "visual design" into one, allowing you to provide a piece of text and automatically generate a high-quality, well-designed PPT.

🎨 Seven Visual Styles (Style Gallery)

A. Creative & Storytelling

Suitable for: educational science, creative marketing, personal branding, light topics

  1. 🧱 Lego Style
    • Visual: Lego minifigures + brick-built scenes, vibrant colors, macro photography feel.
    • Applicable: Making abstract concepts concrete, process breakdown, edutainment.
  2. 🖼️ Vintage Pop Art
    • Visual: 1950s American comics, high-contrast halftone dots, large red/blue/yellow blocks, thick lines.
    • Applicable: Marketing posters, trend analysis, highlighting pain points and actions.
  3. 🎞️ Clay Stop-Motion
    • Visual: Handmade clay models with fingerprint marks, soft warm lighting, cute and comforting.
    • Applicable: Lifestyle, parenting education, light team building.
  4. ✒️ Minimalist Black & White (Dan Koe / Zen)
    • Visual: Etching print texture, pure black background + white fine lines, minimalist whitespace.
    • Applicable: Deep cognition, philosophical thinking, high-end consulting, personal IP.

B. Business & Professional

Suitable for: reports, roadshows, academic presentations, tech launches 5. 🎓 Academic Blue * Visual: Pure white background + deep blue titles + red emphasis, rigorous framework diagrams. * Applicable: Medical, scientific research, academic paper presentations. 6. 👔 Corporate Navy * Visual: Deep navy background + gold serif fonts, premium and grand. * Applicable: Fundraising decks, executive briefings, annual summaries. 7. 🔬 Tech Future * Visual: Black background + neon lines, data visualization style. * Applicable: AI product launches, internet tech sharing.

🛠️ Workflow

1. Style Recommendation

The user provides raw text, and the Agent automatically analyzes the tone and recommends a style.

User: "Help me turn this article about AI agents into a PPT." Agent: "This article discusses future workflows without manual intervention, which is quite avant-garde. I recommend the [🔬 Tech Future style] to showcase a futuristic feel, or the [🧱 Lego style] to break down how agents work like building blocks. Which one do you prefer?"

2. Content Generation

After a style is selected, the Agent calls the corresponding Prompt Template (located in templates/) to have the LLM generate structured JSON content (including slide titles, body text, and image prompts).

3. Image Generation

The Agent automatically calls image generation tools (e.g., Imagen/Midjourney) to batch-create illustrations for each slide based on the prompts in the JSON.

4. Assembly

Run generate_styled_ppt.py to automatically assemble the text and generated images into the final .pptx file.

📂 File Structure

.agent/skills/ppt-generator/
├── SKILL.md                 # Skill documentation
├── generate_styled_ppt.py   # General assembly script (JSON -> PPTX)
├── templates/               # High-level prompt templates
│   ├── lego_style_prompt.md
│   ├── vintage_pop_art_prompt.md
│   ├── clay_style_prompt.md
│   └── dan_koe_style_prompt.md
├── styles/                  # Style configuration files (colors, fonts)
│   ├── academic_blue_style.json
│   └── yuanli_style.json
└── prompts/                 # Archived legacy prompts

💻 Command Line Invocation

# Assemble PPT (after JSON and images are ready)
python3 .agent/skills/ppt-generator/generate_styled_ppt.py \
  --input "presentation_content.json" \
  --output "final_presentation.pptx"

Individual skills in this repo

This repo contains 12 individual skills — each has its own dedicated page.

LiChangZheng10086/doyin_ai_video

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

LiChangZheng10086/doyin_ai_video

Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent/MCP/tool-definition/multi-agent/RAG/LLM-judge/computer-use; generate/summarize/extract/classify/rewrite/converse over NL; debugging refusals/cutoffs/streaming/tool-calls/tokens). SKIP only when another provider is being worked on (overrides all triggers): OpenAI/GPT/Gemini/Llama/Mistral/Cohere/Ollama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIR...

LiChangZheng10086/doyin_ai_video

Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.

LiChangZheng10086/doyin_ai_video

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

LiChangZheng10086/doyin_ai_video

Grill me about specs for the workflows I want to build, within this workspace.

LiChangZheng10086/doyin_ai_video

Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.

LiChangZheng10086/doyin_ai_video

Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions \"deck,\" \"slides,\" \"presentation,\" or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill.

LiChangZheng10086/doyin_ai_video

Diagnose and fix React codebase health issues. Use when reviewing React code, fixing performance problems, auditing security, or improving code quality.

LiChangZheng10086/doyin_ai_video

Sentry error monitoring and performance tracing patterns for Next.js applications.

LiChangZheng10086/doyin_ai_video

Simplify and refine recently modified code for clarity and consistency. Use after writing code to improve readability without changing functionality.

LiChangZheng10086/doyin_ai_video

✅ "你知道今天所有大模型能读懂你的话,全靠一个叫Transformer的架构吗?"

LiChangZheng10086/doyin_ai_video

Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like \"the xlsx in my downloads\") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.

Related Skills