본문으로 건너뛰기
cccskills
무료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.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

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

설치 방법 보기

이럴 때 유용합니다

  • 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

포함된 파일(1)

  • SKILL.md3.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

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-practice6.8만2026년 10월 18일 업데이트

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-practice6.8만2026년 10월 18일 업데이트

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-practice6.8만2026년 10월 18일 업데이트

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-practice6.8만2026년 10월 18일 업데이트

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-practice6.8만2026년 10월 18일 업데이트

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-practice6.8만2026년 10월 18일 업데이트

shanraisshan의 스킬 모두 보기

이 스킬의 문제 신고