Agent skill

Presentation Styling Reference

by shanraisshan in shanraisshan/claude-code-best-practice

Reference for the CSS classes, HTML slide patterns and code-block highlighting spans used in a project's presentation/index.html slide deck.

MITAuto-check passedDocuments & Office

Install Presentation Styling Reference

skills CLI
$ npx skills add shanraisshan/claude-code-best-practice --skill presentation-styling -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install shanraisshan/claude-code-best-practice presentation-styling --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/shanraisshan/claude-code-best-practice.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/presentation/presentation-styling .claude/skills/presentation-styling && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
presentation-styling
GitHub stars
67k
Token cost
~780 tokens
SKILL.md length
232 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
MIT

At a glance

Reference for the CSS classes, HTML slide patterns and code-block highlighting spans used in a project's presentation/index.html slide deck.

  • Adding a new slide to the presentation HTML file
  • SKILL.md covers CSS Component Classes, Code Block Syntax Highlighting, Slide Type Patterns and Journey Bar Specific
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Choosing the right callout box or card class for slide content

What it does

The skill is a catalogue of the styling vocabulary in `presentation/index.html`. Layout classes include `.two-col` and `.info-grid`, with `.col-card` cards that take `.good` or `.bad` for a green or red border. Content blocks cover `.trigger-box` for key concepts, `.how-to-trigger` for Try This actions, `.warning-box` for important warnings and `.code-block` for dark monospace code. Lists use `.use-cases`, `.use-case-item` and `.feature-list`, and pills come from `.matcher-tag` and `.weight-badge`.

Inside a `.code-block`, the spans `.comment`, `.key`, `.string` and `.cmd` give green, blue, orange and yellow syntax coloring. The skill also shows slide patterns, including a two-column good-versus-bad slide, a slide with a code example and an icon list, each wrapped in a `.slide` element with a `data-slide` attribute and an optional `data-weight`. Weight badges are injected by the presentation's JavaScript and must not be hardcoded, and the fixed journey bar shifts from red to green and is hidden on the title slide.

When your agent uses it

  • Adding a new slide to the presentation HTML file
  • Choosing the right callout box or card class for slide content
  • Coloring code samples inside a slide's code block

Example prompts

  • “Add a good-versus-bad two-column slide on prompt length to presentation/index.html.”
  • “Add a slide with a code example and a warning box about hooks.”
  • “Which class should I use for a Try This callout on a slide?”

Requirements

  • The `presentation/index.html` file and its stylesheet in the host project

What it can do on your machine

Read from SKILL.md and the folder at commit 6182843. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are html).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Presentation Styling Reference loads about 780 tokens when it runs. Until then it costs about 28 tokens; SKILL.md has 232 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~28
When it runs · the whole SKILL.md, loaded when a task matches
~780

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from shanraisshan/claude-code-best-practice at commit 6182843, republished under its MIT licence (© shanraisshan). 232 words, ~780 tokens.

Download SKILL.mdSave it as .claude/skills/presentation-styling/SKILL.md (or your agent's skills folder).
name
presentation-styling
description
Knowledge about CSS classes, component patterns, and syntax highlighting in the presentation

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:

html
<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)
html
<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
html
<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
html
<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

© shanraisshan, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/presentation/presentation-styling of shanraisshan/claude-code-best-practice.

Open the folder on GitHubat commit 6182843

Compare with similar skills

Presentation Styling Reference next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Presentation Styling Reference compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Presentation Styling Reference this skillshanraisshan/claude-code-best-practice67k—~780Automated safety check: PassMIT
Frontend Slideszarazhangrui/frontend-slides30k16 repos~7kAutomated safety check: PassMIT
HTML PPT Studiolewislulu/html-ppt-skill8.6k4 repos~4.7kAutomated safety check: PassMIT
Single-File HTML Slide Decksop7418/guizang-ppt-skill27k1 repos~6.3kAutomated safety check: PassAGPL-3.0
Openkb Deck EditorialVectifyAI/OpenKB4.8k1 repos~2.1kAutomated safety check: PassApache-2.0
Science Content Slide PagesUnclecheng-li/AI-Animation-Skill5721 repos~1.5kAutomated safety check: PassMIT

Similar skills

  • Frontend Slides

    zarazhangrui/frontend-slides

    Builds animated HTML slide decks that run in the browser with no dependencies, or converts PowerPoint files to the web, starting from visual style previews.

    30k GitHub starsUsed in 16 repos~7k tokens
    Documents & OfficeAuto-check passed
  • HTML PPT Studio

    lewislulu/html-ppt-skill

    Authors static HTML presentations from a library of themes, layouts and animations, with keyboard navigation, for talks, pitch decks and reports.

    8.6k GitHub starsUsed in 4 repos~4.7k tokens
    Documents & OfficeAuto-check passed
  • Single-File HTML Slide Decks

    op7418/guizang-ppt-skill

    Generates single-file HTML slide decks with horizontal paging, WebGL backgrounds and a presenter view, in an editorial-magazine style or a Swiss-style layout.

    27k GitHub starsUsed in 1 repo~6.3k tokens
    Documents & OfficeAuto-check passed
  • Openkb Deck Editorial

    VectifyAI/OpenKB

    A skill your agent uses when the user asks the openkb chat to make a deck / slide presentation / PPT / slides / 演示稿 / 幻灯片 from their compiled KB content.

    4.8k GitHub starsUsed in 1 repo~2.1k tokens
    Documents & OfficeAuto-check passed
  • Science Content Slide Pages

    Unclecheng-li/AI-Animation-Skill

    Turns popular-science text into an animated slide-style single-page HTML presentation, or restyles it as a flat-UI flowchart, using templates built into the skill.

    572 GitHub starsUsed in 1 repo~1.5k tokens
    Documents & OfficeAuto-check passed
  • PPT as Code

    Russell-cell/PPT-as-code

    Plans and builds HTML-based web presentations through staged quick, basic or advanced workflows, with optional visualization planning, motion, a workbench and PPTX export handoff.

    191 GitHub stars~11k tokensUpdated 5 mo ago
    Documents & OfficeAuto-check passed

More from shanraisshan/claude-code-best-practice

All 8 skills in this repo
  • Pakistan Time Display

    shanraisshan/claude-code-best-practice

    Display the current time in Pakistan Standard Time (PKT, UTC+5). Use when the user asks for the current time, Pakistan time, or PKT.

    67k GitHub stars~202 tokensUpdated today
    Auto-check passed
  • HTML Presentation Structure Guide

    shanraisshan/claude-code-best-practice

    Documents how a single-file HTML slide deck is built: slide markup, the four-level journey bar, navigation and the renumbering rules after edits.

    67k GitHub stars~882 tokensUpdated today
    Auto-check passed
  • Vibe to Agentic Engineering Framework

    shanraisshan/claude-code-best-practice

    Explains the conceptual model behind a presentation on moving from unstructured vibe coding to fully configured agentic engineering, including its 4-level scoring system and slide conventions.

    67k GitHub stars~3.3k tokensUpdated today
    Auto-check passed
  • Dubai Weather Fetcher

    shanraisshan/claude-code-best-practice

    Reads the current temperature in Dubai from the Open-Meteo API with a single web fetch and returns it in Celsius or Fahrenheit.

    67k GitHub stars~397 tokensUpdated today
    Auto-check passed
  • Dubai Time Fetcher

    shanraisshan/claude-code-best-practice

    Instructions for fetching current Dubai time via bash command

    67k GitHub stars~155 tokensUpdated today
    Auto-check passed
  • Dubai Time SVG Creator

    shanraisshan/claude-code-best-practice

    Creates an SVG time card showing the current time for Dubai. Writes the SVG to agent-teams/output/dubai-time.svg and updates agent-teams/output/output.md.

    67k GitHub stars~299 tokensUpdated today
    Auto-check passed

Questions about Presentation Styling Reference

What does Presentation Styling Reference do?

Reference for the CSS classes, HTML slide patterns and code-block highlighting spans used in a project's presentation/index.html slide deck. html`.bad` for a green or red border.

When should I use Presentation Styling Reference?

Presentation Styling Reference fits situations like: adding a new slide to the presentation HTML file; choosing the right callout box or card class for slide content; coloring code samples inside a slide's code block.

How do I install Presentation Styling Reference in Claude Code?

Run `npx skills add shanraisshan/claude-code-best-practice --skill presentation-styling -a claude-code`. Or copy the skill folder (.claude/skills/presentation/presentation-styling in shanraisshan/claude-code-best-practice) into .claude/skills/presentation-styling in your project. Claude Code loads it when a task matches its description.

How do I install Presentation Styling Reference in Codex?

Run `npx skills add shanraisshan/claude-code-best-practice --skill presentation-styling -a codex`. Or copy the skill folder (.claude/skills/presentation/presentation-styling in shanraisshan/claude-code-best-practice) into .agents/skills/presentation-styling in your project. Codex loads it when a task matches its description.

Can I use Presentation Styling Reference in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add shanraisshan/claude-code-best-practice --skill presentation-styling -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/presentation-styling, .gemini/skills/presentation-styling, .github/skills/presentation-styling and .opencode/skills/presentation-styling in your project.

What does Presentation Styling Reference need to run?

SKILL.md names no scripts, command-line tools or credentials: Presentation Styling Reference is instructions for the agent only. Our summary lists: The `presentation/index.html` file and its stylesheet in the host project.

Does Presentation Styling Reference access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Presentation Styling Reference safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Presentation Styling Reference use?

Presentation Styling Reference is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Presentation Styling Reference use?

About 780 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Presentation Styling Reference?

Skills that share tags, products or a category with Presentation Styling Reference: Frontend Slides (zarazhangrui/frontend-slides, 30k stars), HTML PPT Studio (lewislulu/html-ppt-skill, 8.6k stars), Single-File HTML Slide Decks (op7418/guizang-ppt-skill, 27k stars) and Openkb Deck Editorial (VectifyAI/OpenKB, 4.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Presentation Styling Reference?

shanraisshan (a GitHub user) maintains it in shanraisshan/claude-code-best-practice, which has 67,289 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 9, 2026.

Source: shanraisshan/claude-code-best-practice on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.