mcpbeat Sign in

Presentation Styling Skill for Claude

Knowledge about CSS classes, component patterns, and syntax highlighting in the presentation

789 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
63976
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/shanraisshan/claude-code-best-practice --skill presentation-styling

The instruction itself

12 sections, as written by the author

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 .good for green border, .bad for 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">&gt;</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 h1 elements of weighted slides

Other skills for the same job

different authors, same section of the catalogue
Theme Factory
by anthropics
vendor ×16

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

36k tokens
Brand Guidelines
by anthropics
vendor ×13

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

3k tokens
Artifacts Builder
by JayZeeDesign
×8

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

11k tokens scripts
Web Artifacts Builder
by anthropics
vendor ×7

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

11k tokens scripts
Frontend Design
by Karanjot786
×6

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

1k tokens
Frontend Design
by anthropics
vendor ×4

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

5k tokens
Expo Tailwind Setup
by openai
vendor ×4

Set up Tailwind CSS v4 in Expo with react-native-css and NativeWind v5 for universal styling

3k tokens
Use Dom
by openai
vendor ×3

Use Expo DOM components to run web code in a webview on native and as-is on web. Migrate web code to native incrementally.

3k tokens

How to use it

Copy the folder

Take shanraisshan/presentation-styling from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.