Skip to content
cccskills
FreePublished on GitHub

slides-generator

Generate interactive presentation slides using React + Tailwind. Triggers on keywords like "slides", "presentation", "PPT", "demo", "benchmark".

The English summary is being prepared. Showing the original description.

See how to install

Files included (13)

  • SKILL.md4.3 KB
  • assets/template/index.html626 B
  • assets/template/package.json509 B
  • assets/template/postcss.config.js80 B
  • assets/template/src/App.jsx3.3 KB
  • assets/template/src/components/Navigation.jsx5.0 KB
  • assets/template/src/index.css3.0 KB
  • assets/template/src/main.jsx235 B
  • assets/template/src/slides/.gitkeep0 B
  • assets/template/tailwind.config.js1.4 KB
  • assets/template/vite.config.js240 B
  • references/design-guide.md4.6 KB
  • references/palettes.md7.3 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Slides Generator

Generate professional presentation slides through parallel subagent execution.

Workflow

Step 1: 收集需求 + 确认大纲
Step 2: 创建项目 + 并行生成 slides
Step 3: 组装 + 启动

Step 1: 收集需求 + 确认大纲

Ask questions to understand:

  • Content: Title, number of slides, key points per slide
  • Style preference: Tech / Professional / Vibrant / Minimal

Recommend a theme from palettes.md based on style keywords.

Quick recommendations:

User saysRecommend
"Tech", "Modern"dark-sapphire-blue (glass)
"Cyberpunk", "Neon"cyberpunk (glass)
"Natural", "Organic"summer-meadow (flat)
"Minimal", "Clean"black-and-white (flat)
"Professional"minimal-modern-light (flat)

Present outline for confirmation:

## Presentation Outline

**Title**: Model Engineering Capability Benchmark
**Theme**: dark-sapphire-blue (glass style)
**Output**: ./model-benchmark (reply with path to change)

**Slides**:
1. Hero - Title and overview
2. Framework - Evaluation dimensions
3. Task 1 - Backend development
4. Summary - Conclusions

**Confirm to generate?**

Step 2: 创建项目 + 并行生成 slides

2a. Create project skeleton

# 1. Copy template
cp -r <skill-path>/assets/template <output-dir>
cd <output-dir>

# 2. Update tailwind.config.js with theme colors
# 3. Update index.html title
# 4. Ensure src/slides/ directory exists

2b. Dispatch parallel subagents

For each slide, dispatch a subagent. Read design-guide.md first, then include its content in each subagent prompt.

Subagent prompt template:

You are generating slide ${number} for a presentation.

## Design Guide
${designGuideContent}

## Theme Colors (use these Tailwind variables, not hardcoded colors)
- primary-50 to primary-950, accent-50 to accent-950
- bg-base, bg-card, bg-elevated
- text-primary, text-secondary, text-muted
- border-default, border-subtle

## Style: ${style}
${style === 'glass' ?
  'Use glassmorphism: glass class or bg-white/10 backdrop-blur-md border-white/20' :
  'Use flat design: bg-bg-card shadow-sm border-border-default'}

## Slide Content
Type: ${slideType}
Title: ${title}
Key Points:
${keyPoints}

## Output
Write a complete JSX file to: src/slides/${filename}
- React function component with default export
- Import icons from lucide-react, animations from framer-motion
- Follow slide-page / slide-content structure from the design guide

${firstSlideCode ? `
## Reference (match this style)
\`\`\`jsx
${firstSlideCode}
\`\`\`` : ''}

Execution: Dispatch all subagents in parallel. After slide 01 is generated, pass its code as reference to subsequent slides.

Step 3: 组装 + 启动

After all subagents complete:

  1. Update App.jsx with slide imports:
import Slide01 from './slides/01-hero';
import Slide02 from './slides/02-framework';
// ...

const SLIDES = [Slide01, Slide02, ...];

const NAV_ITEMS = [
  { slideIndex: 0, label: 'Hero' },
  { slideIndex: 1, label: 'Framework' },
  // ...
];
  1. Install and start:
npm install && npm run dev

Theme System

Themes are defined in palettes.md. Each theme has:

  • ID: Unique identifier
  • Tags: Keywords for matching user preferences
  • Style: glass or flat
  • Colors: 5 base colors that expand to full palette

Design Reference

See design-guide.md for layout rules, animation patterns, typography, and style conventions. This file should be included in every subagent prompt.

Project Structure

output-dir/
├── package.json
├── vite.config.js
├── tailwind.config.js      ← Theme colors
├── index.html              ← Title
├── src/
│   ├── main.jsx
│   ├── App.jsx             ← Slide imports & navigation
│   ├── index.css
│   ├── components/
│   │   └── Navigation.jsx
│   └── slides/
│       ├── 01-hero.jsx
│       ├── 02-framework.jsx
│       └── ...

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Agent Teams 智能编排决策引擎。自动分析任务复杂度,判断使用 Subagent 还是 Agent Teams。 触发场景: (1) 任务涉及多角度并行分析(如代码审查、竞争假说调试) (2) 需要成员之间互相通信、质疑、协作 (3) 跨层开发(前端/后端/测试各自负责) (4) 用户明确要求"创建团队"、"用 agent teams" (5) 任务描述包含"并行"、"同时"、"多人"、"协作"等关键词 (6) 使用 /team 命令

The English summary is being prepared. Showing the original description.

NanmiCoder/claude-code-skills60Updated Apr 3, 2026

为 B站视频生成章节列表。 触发场景: (1) 需要为视频创建 B站章节 (2) 用户说"转成B站格式"、"生成章节"、"生成B站章节" (3) 需要从字幕生成视频分段 (4) 处理视频进度条分段标记

The English summary is being prepared. Showing the original description.

NanmiCoder/claude-code-skills60Updated Apr 3, 2026

Manage Feishu channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed, or change policy for the Feishu channel.

The English summary is being prepared. Showing the original description.

NanmiCoder/claude-code-skills60Updated Apr 3, 2026

Set up the Feishu channel — save the bot credentials and check connection status. Use when the user pastes Feishu app credentials, asks to configure Feishu, or wants to check channel status.

The English summary is being prepared. Showing the original description.

NanmiCoder/claude-code-skills60Updated Apr 3, 2026

LangChain 1.0 使用指南。提供 Agent、Tool、Memory、Middleware 等核心概念的快速参考。当用户需要创建 AI Agent、集成 LangChain、或解决 LangChain 相关问题时激活。

The English summary is being prepared. Showing the original description.

NanmiCoder/claude-code-skills60Updated Apr 3, 2026

新闻站点内容提取。支持微信公众号、今日头条、网易新闻、搜狐新闻、腾讯新闻。当用户需要提取新闻内容、抓取公众号文章、爬取新闻、或获取新闻JSON/Markdown时激活。

The English summary is being prepared. Showing the original description.

NanmiCoder/claude-code-skills60Updated Apr 3, 2026

See all skills by NanmiCoder

Report a problem with this skill