Agent instructions, skills, SSH host aliases and expansion triggers are worth having identical on every machine one person owns, and belong in none of the shared configuration. They live in user/ now, with a manifest saying where each piece goes and a link-user stage that puts it there. That stage does nothing unless the machine said yes. Somebody who clones Panama to try the desktop keeps their own ~/.claude/CLAUDE.md exactly where it was; the question names the destinations and defaults to no. Anything displaced goes to config/old rather than being deleted. ~/.claude/CLAUDE.md and ~/.codex/AGENTS.md were byte-identical copies of one file, which is the drift this exists to prevent. Also adds the vitals toggles for the battery and Claude usage readouts, which had preferences and no way to reach them.
62 lines
1.5 KiB
Markdown
62 lines
1.5 KiB
Markdown
# Slidev Skills for Claude Code
|
|
|
|
Agent skills that help Claude Code understand and work with [Slidev](https://sli.dev) presentations.
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
npx skills add slidevjs/slidev
|
|
```
|
|
|
|
This will add the Slidev skill to your Claude Code configuration.
|
|
|
|
## What's Included
|
|
|
|
The Slidev skill provides Claude Code with knowledge about:
|
|
|
|
- **Core Syntax** - Markdown syntax, slide separators, frontmatter
|
|
- **Animations** - Click animations, transitions, motion effects
|
|
- **Code Features** - Line highlighting, Monaco editor, code groups, magic-move
|
|
- **Diagrams** - Mermaid, PlantUML, LaTeX math
|
|
- **Layouts** - Built-in layouts, slots, global layers
|
|
- **Presenter Mode** - Recording, timer, remote access
|
|
- **Exporting** - PDF, PPTX, PNG, SPA hosting
|
|
|
|
## Usage
|
|
|
|
Once installed, Claude Code will automatically use Slidev knowledge when:
|
|
|
|
- Creating new presentations
|
|
- Adding slides with code examples
|
|
- Setting up animations and transitions
|
|
- Configuring themes and layouts
|
|
- Exporting presentations
|
|
|
|
### Example Prompts
|
|
|
|
```
|
|
Create a Slidev presentation about TypeScript generics with code examples
|
|
```
|
|
|
|
```
|
|
Add a two-column slide with code on the left and explanation on the right
|
|
```
|
|
|
|
```
|
|
Set up click animations to reveal bullet points one by one
|
|
```
|
|
|
|
```
|
|
Configure the presentation for PDF export with speaker notes
|
|
```
|
|
|
|
## Documentation
|
|
|
|
- [Slidev Documentation](https://sli.dev)
|
|
- [Theme Gallery](https://sli.dev/resources/theme-gallery)
|
|
- [Showcases](https://sli.dev/resources/showcases)
|
|
|
|
## License
|
|
|
|
MIT
|