返回 slidev
README.md
根目录 / skills / slidev / README.md
1 # Slidev Skills for Claude Code
2
3 Agent skills that help Claude Code understand and work with [Slidev](https://sli.dev) presentations.
4
5 ## Installation
6
7 ```bash
8 npx skills add slidevjs/slidev
9 ```
10
11 This will add the Slidev skill to your Claude Code configuration.
12
13 ## Requirements
14
15 Slidev itself needs [Node.js](https://nodejs.org) >= 22.12.0 and a package manager (pnpm recommended). The skill tells the agent to check for both before creating a project.
16
17 ## What's Included
18
19 The Slidev skill provides Claude Code with knowledge about:
20
21 - **Core Syntax** - Markdown syntax, slide separators, frontmatter
22 - **Animations** - Click animations, transitions, motion effects
23 - **Code Features** - Line highlighting, Monaco editor, code groups, magic-move
24 - **Diagrams** - Mermaid, PlantUML, LaTeX math
25 - **Layouts** - Built-in layouts, slots, global layers
26 - **Presenter Mode** - Recording, timer, remote access
27 - **Exporting** - PDF, PPTX, PNG, SPA hosting
28
29 ## Usage
30
31 Once installed, Claude Code will automatically use Slidev knowledge when:
32
33 - Creating new presentations
34 - Adding slides with code examples
35 - Setting up animations and transitions
36 - Configuring themes and layouts
37 - Exporting presentations
38
39 ### Example Prompts
40
41 ```
42 Create a Slidev presentation about TypeScript generics with code examples
43 ```
44
45 ```
46 Add a two-column slide with code on the left and explanation on the right
47 ```
48
49 ```
50 Set up click animations to reveal bullet points one by one
51 ```
52
53 ```
54 Configure the presentation for PDF export with speaker notes
55 ```
56
57 ## Documentation
58
59 - [Slidev Documentation](https://sli.dev)
60 - [Theme Gallery](https://sli.dev/resources/theme-gallery)
61 - [Showcases](https://sli.dev/resources/showcases)
62
63 ## License
64
65 MIT
66
66 lines MARKDOWN