Skip to content
cccskills
FreePublished on GitHub

presentation-styling

Style slides in an existing HTML presentation using documented CSS classes and component patterns. The skill covers two-column comparisons, cards, warning boxes, and code coloring, along with rules for automatically displayed slide badges.

OriginalShow the original description

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

See how to install

Good for

  • Arranging before-and-after examples in two columns
  • Coloring code examples by syntax
  • Formatting key concepts, actions, and warnings
  • Following rules for automatic slide badges

Files included (1)

  • SKILL.md3.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

agent-browser

FreeSummary

Automate website tasks with agent-browser, a command-line browser tool for AI agents. Fill forms, click controls, extract page text, capture screenshots, and test web apps, with support for saving and reusing login state.

  • Automating form entry and submission
  • Extracting text from web pages
  • Capturing screenshots and checking web app behavior
shanraisshan/claude-code-best-practice67.7KUpdated Oct 18, 2026

Edit a single-file HTML presentation while keeping slide numbers, contents links, section dividers, and level indicators consistent. The skill explains how navigation and inherited section levels work, including what to update when slides move.

  • Adding slides and updating contents links
  • Checking navigation after reordering slides
  • Adjusting section dividers and level indicators
shanraisshan/claude-code-best-practice67.7KUpdated Oct 18, 2026

time-fetcher

FreeSummary

Fetch the current date and time in Dubai using a bash command. Return the time, the GST timezone label, and the complete dated output as separate fields for a consistently structured response.

  • Checking the current time in Dubai
  • Retrieving Dubai's date and time with its timezone
  • Returning time information in separate fields
shanraisshan/claude-code-best-practice67.7KUpdated Oct 18, 2026

time-skill

FreeSummary

Check the current date and time in Pakistan Standard Time, which is UTC+5. The skill uses a bash command and presents a concise line containing the date, a 24-hour time, and the PKT label.

  • Checking the current time in Pakistan
  • Getting the date and time in PKT
  • Displaying Pakistan time in a concise 24-hour format
shanraisshan/claude-code-best-practice67.7KUpdated Oct 18, 2026

time-svg-creator

FreeSummary

Create a Dubai time card as an SVG image and a Markdown summary from supplied time values. It fills the included templates and saves both files in the designated output directory without fetching or recalculating the time.

  • Turning supplied Dubai time into a visual card
  • Saving a time card with a Markdown summary
  • Creating time cards from a consistent template
shanraisshan/claude-code-best-practice67.7KUpdated Oct 18, 2026

Plan and edit a presentation explaining the progression from unstructured Claude Code use to configured engineering workflows. It provides a teaching sequence, proficiency levels, and a TodoApp example connecting project instructions, skills, agents, and automation.

  • Structuring a Claude Code training presentation
  • Checking the order of slide concepts
  • Explaining workflows through TodoApp examples
shanraisshan/claude-code-best-practice67.7KUpdated Oct 18, 2026

See all skills by shanraisshan

Report a problem with this skill