claude-code-best-practice-cn: Skill for Claude Code

.claude/skills/presentation/presentation-styling/SKILL.md

presentation-styling is a skill for Claude Code from clxzl/claude-code-best-practice-cn. It costs 23 tokens per session (965 once invoked), scanned A, original, MIT.

A reference for the CSS classes and HTML patterns used to style presentation slides, including layouts, cards, lists, badges, warnings, and code blocks.

In plain words
What is it for?
Creating or editing slide layouts, comparison cards, information panels, action boxes, warnings, feature lists, and syntax-highlighted code examples.
Why use it?
It helps an agent use the presentation project’s existing visual language instead of inventing incompatible markup or styles.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is clxzl/claude-code-best-practice-cn's own configuration. It tells Claude Code how to work on claude-code-best-practice-cn itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-code-best-practice-cn configures →

Reuse

Borrowing it

Nothing to install: this file belongs to clxzl/claude-code-best-practice-cn. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/clxzl/claude-code-best-practice-cn/main/.claude/skills/presentation/presentation-styling/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/clxzl/claude-code-best-practice-cn

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for presentation-styling

README.md
[![agentmods](https://agentmods.dev/badge/skills/clxzl/claude-code-best-practice-cn/presentation-styling/github.svg)](https://agentmods.dev/skills/clxzl/claude-code-best-practice-cn/presentation-styling)
Your own site
<a href="https://agentmods.dev/skills/clxzl/claude-code-best-practice-cn/presentation-styling"><img src="https://agentmods.dev/badge/skills/clxzl/claude-code-best-practice-cn/presentation-styling/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for presentation-styling

Your own site · 80×15
<a href="https://agentmods.dev/skills/clxzl/claude-code-best-practice-cn/presentation-styling"><img src="https://agentmods.dev/badge/skills/clxzl/claude-code-best-practice-cn/presentation-styling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 965 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00023 $0.00965
Opus 5 $0.00012 $0.00483
Sonnet 5 $0.00005 $0.00193
Haiku 4.5 $0.00002 $0.00097

Measured 9d ago against content hash 09cc26441f22, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

presentation-styling scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

.claude/skills/presentation/presentation-styling/SKILL.md · 107 lines

How it starts

The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.

演示文稿样式 Skill

presentation/index.html 中使用的 CSS 类和 HTML 模式。

CSS 组件类

布局

  • .two-col — 2 列网格布局,间距 24px
  • .info-grid — 信息卡片的 2 列网格
  • .col-card — 列中的卡片(添加 .good 为绿色边框,.bad 为红色边框)
  • .info-card — 信息网格中的卡片

内容块

  • .trigger-box — 灰色盒子带深色左边框(用于关键概念、前置条件)
  • .how-to-trigger — 绿色盒子带绿色边框(用于"尝试此操作"动作)
  • .warning-box — 橙色盒子带警告边框(用于重要警告)
  • .code-block — 深色代码显示块,使用等宽字体

列表

  • .use-cases — 图标+文本列表项的容器
  • .use-case-item — 带图标和文本的单个项目
  • .feature-list — 简单的带边框列表

标签和徽章

  • .matcher-tag — 灰色内联药丸标签
  • .weight-badge — 绿色药丸徽章(由 JS 为带权重的幻灯片自动注入)

代码块语法高亮

.code-block 内,使用以下 span 进行语法着色:

<div class="code-block">
<span class="comment"># 这是一条注释</span>
<span class="key">field_name</span>: <span class="string">value</span>
<span class="cmd">&gt;</span> 要运行的命令
</div>
  • .comment — 绿色 (#6a9955) 用于注释
  • .key — 蓝色 (#9cdcfe) 用于属性名/键名
  • .string — 橙色 (#ce9178) 用于字符串值
  • .cmd — 黄色 (#dcdcaa) 用于命令/提示符

幻灯片类型模式

带双栏的内容幻灯片(好与坏对比)

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

不要在幻灯片 HTML 中硬编码 <span class="weight-badge">。演示文稿 JavaScript 会自动注入和移除权重徽章。

带代码示例的内容幻灯片

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

图标列表模式

<div class="use-cases">
    <div class="use-case-item">
        <span class="use-case-icon">EMOJI</span>
        <div class="use-case-text">
            <strong>标题</strong>
            <span>描述文本</span>
        </div>
    </div>
</div>

Read the full file on GitHub · 107 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 107 lines · 23 tokens per session scan A 09cc26441f22

Subscribe to this mod's changes

presentation-styling is a skill published in the GitHub repository clxzl/claude-code-best-practice-cn (127 stars, last pushed 4mo ago), licensed MIT. It adds 23 tokens to every session and 965 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

frontend-ui-dark-ts

Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.

microsoft/skills · 48 tokens

reveal-hover-effect

Build cursor-following spotlight reveals that expose a second aligned image through a soft radial mask. Use for hover-to-color, before-and-after, x-ray, material, texture, product-detail, and illustrated hero effects where a desaturated or embossed base image should remain visible while another treatment follows an…

MengTo/Skills · 66 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

better-colors

Helps you build a color system and answer anything about color in your project. You can generate palettes, use semantic tokens, convert between formats, check contrast and more.

jakubkrehel/skills · 38 tokens