Presentation Styling
Reference CSS classes and HTML patterns for presentation components.
Installation
- Make sure Claude is on your device and in your terminal.
Skills load from
~/.claude/skills/when Claude Code starts up — so you need it on your machine first. If you don't have it yet, install it once with the command below, then runclaudein any terminal to verify.One-time setupnpm i -g @anthropic-ai/claude-codeAlready have it? Skip ahead.
- Paste into Claude Code or into your terminal.
This copies the whole skill folder into
~/.claude/skills/presentation-styling-shanraisshan/— the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Safe default: works for every skill.Faster alternative (instruction-only skills)
Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates — they won't be downloaded and the skill will fail when it tries to load them.
Quick install (SKILL.md only)Sign up to copy - Restart Claude Code.
Quit and reopen Claude Code (or any other agent that loads from
~/.claude/skills/). New skills are picked up on startup. - Just ask Claude.
Skills auto-activate when your request matches the skill's description — no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the “What this skill does” section above.
Prefer to read the source first? Open on GitHub.
When Claude uses it
Knowledge about CSS classes, component patterns, and syntax highlighting in the presentation
What this skill does
Presentation Styling Skill
CSS classes and HTML patterns used in presentation/index.html.
CSS Component Classes
Layout
.two-col— 2-column grid layout with 24px gap.info-grid— 2-column grid for info cards.col-card— Card inside a column (add.goodfor green border,.badfor red border).info-card— Card in an info grid
Content Blocks
.trigger-box— Gray box with dark left border (for key concepts, prerequisites).how-to-trigger— Green box with green border (for "Try This" actions).warning-box— Orange box with warning border (for important warnings).code-block— Dark code display block with monospace font
Lists
.use-cases— Container for icon+text list items.use-case-item— Individual item with icon and text.feature-list— Simple bordered list
Tags & Badges
.matcher-tag— Gray inline pill tag.weight-badge— Green pill badge (auto-injected by JS for weighted slides)
Code Block Syntax Highlighting
Inside .code-block, use these spans for syntax coloring:
<div class="code-block">
<span class="comment"># This is a comment</span>
<span class="key">field_name</span>: <span class="string">value</span>
<span class="cmd">></span> command to run
</div>
.comment— Green (#6a9955) for comments.key— Blue (#9cdcfe) for property names/keys.string— Orange (#ce9178) for string values.cmd— Yellow (#dcdcaa) for commands/prompts
Slide Type Patterns
Content Slide with Two Columns (Good vs Bad)
<div class="slide" data-slide="N" data-weight="5">
<h1>Title</h1>
<div class="two-col">
<div class="col-card bad">
<h4>Before (Vibe Coding)</h4>
<!-- bad example -->
</div>
<div class="col-card good">
<h4>After (Agentic)</h4>
<!-- good example -->
</div>
</div>
</div>
Do not hardcode <span class="weight-badge"> in slide HTML. The presentation JavaScript injects and removes weight badges automatically.
Content Slide with Code Example
<div class="slide" data-slide="N">
<h1>Title</h1>
<div class="trigger-box">
<h4>Key Concept</h4>
<p>Description</p>
</div>
<div class="code-block"><span class="comment"># Example</span>
<span class="key">field</span>: <span class="string">value</span></div>
</div>
Icon List Pattern
<div class="use-cases">
<div class="use-case-item">
<span class="use-case-icon">EMOJI</span>
<div class="use-case-text">
<strong>Title</strong>
<span>Description text</span>
</div>
</div>
</div>
Journey Bar Specific
.journey-bar— Fixed bar below progress bar.journey-bar.hidden— Hidden on title slide- Journey bar color transitions from red (0%) to green (100%) via HSL interpolation
- Weight badges are auto-injected by JS into
h1elements of weighted slides
Related skills
Generative Code Art
anthropics
Create algorithmic art with p5.js using randomness and interactive parameters.
UI/UX Pro Max
anthropics
Build production-grade web components and interfaces with distinctive, polished design.
Artifact Theme Toolkit
anthropics
Apply professional color and font themes to slides, docs, and web pages.
Multi-Component Web Artifacts
anthropics
Build complex React artifacts with Tailwind CSS and shadcn/ui components.