Command Palette

Search for a command to run...

Back to skills
skill № 16279

code

Guide for Slidev code block features. Use when configuring syntax highlighting, line highlighting, Monaco editor, Magic Move animations, TwoSlash type…

FreeNo executable scripts
vinnie357by vinnie357★ 30 GitHub stars

Install code in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

Slidev Code Blocks

Code presentation features including highlighting, editor integration, and animated transitions.

For code block syntax, highlighting options, and editor configuration, see references/code.md.

Anti-fabrication

This skill follows core:anti-fabrication. Verified claim-by-claim against live slidevjs/slidev source (claude-skills-223, 2026-08-05) — line-highlighting and Magic Move against docs/features/line-highlighting.md and docs/features/shiki-magic-move.md (added the undocumented {hide}/{none} line values and Magic Move's {at:}/duration/ title-bar options); code groups against docs/features/code-groups.md (corrected: groups require comark: true, not mdc: true — mdc is a deprecated-but-working alias); Monaco editor against docs/features/monaco-editor.md and packages/types/src/ frontmatter.ts (all confirmed, no changes); import-snippet against docs/features/ import-snippet.md (confirmed exact match including the "since v0.47.0" version claim). The finally code-block option was independently re-verified against source (CodeBlockWrapper.vue's prop declaration) after two earlier revisions of this pass wrongly called it nonexistent from a docs-only search. Re-verify against a fresh slidevjs/slidev clone before asserting a code-block feature this skill doesn't cover.

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

  • references/code.md

FAQ

What does the code skill do?

Guide for Slidev code block features. Use when configuring syntax highlighting, line highlighting, Monaco editor, Magic Move animations, TwoSlash type annotations, or code groups.

How do I install the code skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the code skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare code with