Presentation styling
Skill shekerkamma/cc-best-practice/.claude/skills/presentation/presentation-styling
Personal fork of claude-code-best-practice with tokyo-time skills, hooks demo, and presentation work
npx -y skills add shekerkamma/cc-best-practice --skill presentation-stylingAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Knowledge about CSS classes, component patterns, and syntax highlighting in the presentation
SKILL.md
3.1 KB, as published. Nobody here has run it
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
Gives 0 of the 12 instructions most slides presentations skills give
Counted across 568 of the 571 authors here whose files we hold, read 2026-08-06
- include a visual element on every slidein 52 of 568, across 21 files
- put one idea per slidein 50 of 568, across 42 files
- state the design approach before writing codein 38 of 568, across 8 files
- validate XML immediately after each editin 37 of 568, across 7 files
- rasterize gradients and icons as PNG images before referencing themin 37 of 568, across 7 files
- generate and inspect thumbnails to validate layoutin 37 of 568, across 7 files
- commit to a single visual motif across every slidein 37 of 568, across 12 files
- use web-safe fonts onlyin 36 of 568, across 7 files
- keep 0.5 inch minimum marginsin 35 of 568, across 9 files
- use two-column layout for slides with charts or tablesin 34 of 568, across 5 files
- save a template inventory analysis to a filein 33 of 568, across 4 files
- use subagents to visually inspect rendered slidesin 33 of 568, across 9 files
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once.