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

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

presentation-styling is a skill for Claude Code from BuaaJoseph/claude-code-best-practice-zh. It costs 23 tokens per session (951 once invoked), scanned A, a copy of presentation-styling, MIT.

A reference for styling presentation pages with CSS classes, reusable layout components, content boxes, lists, badges, and code highlighting. CSS is the language used to control the appearance of web pages.

In plain words
What is it for?
Use it when creating or editing presentation slides that need two-column layouts, cards, warnings, code blocks, syntax colors, or use-case lists.
Why use it?
It gives a consistent way to build and format the presentation's existing visual patterns.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is BuaaJoseph/claude-code-best-practice-zh's own configuration. It tells Claude Code how to work on claude-code-best-practice-zh 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-zh configures →

Reuse

Borrowing it

Nothing to install: this file belongs to BuaaJoseph/claude-code-best-practice-zh. 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/BuaaJoseph/claude-code-best-practice-zh/master/.claude/skills/presentation/presentation-styling/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/BuaaJoseph/claude-code-best-practice-zh

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/buaajoseph/claude-code-best-practice-zh/presentation-styling.svg)](https://agentmods.dev/skills/buaajoseph/claude-code-best-practice-zh/presentation-styling)
Your own site
<a href="https://agentmods.dev/skills/buaajoseph/claude-code-best-practice-zh/presentation-styling"><img src="https://agentmods.dev/badge/skills/buaajoseph/claude-code-best-practice-zh/presentation-styling.svg" alt="Measured on agentmods" 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 951 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 84% copy Near-identical to another mod 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.00951
Opus 5 $0.00012 $0.00476
Sonnet 5 $0.00005 $0.00190
Haiku 4.5 $0.00002 $0.00095

Measured 7d ago against content hash de85529af57c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, 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 7d 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

This is a copy

84% identical to presentation-styling — 67 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

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

What it actually says

演示文稿样式技能

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) 用于命令/提示

幻灯片类型模式

带两列的内容幻灯片(好 vs 坏)

<div class="slide" data-slide="N" data-weight="5">
    <h1>标题</h1>
    <div class="two-col">
        <div class="col-card bad">
            <h4>之前(Vibe Coding)</h4>
            <!-- 坏示例 -->
        </div>
        <div class="col-card good">
            <h4>之后(Agentic)</h4>
            <!-- 好示例 -->
        </div>
    </div>
</div>

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

带代码示例的内容幻灯片

<div class="slide" data-slide="N">
    <h1>标题</h1>
    <div class="trigger-box">
        <h4>关键概念</h4>
        <p>描述</p>
    </div>
    <div class="code-block"><span class="comment"># 示例</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">表情符号</span>
        <div class="use-case-text">
            <strong>标题</strong>
            <span>描述文本</span>
        </div>
    </div>
</div>

旅程条特定

  • .journey-bar — 进度条下方的固定条
  • .journey-bar.hidden — 在标题幻灯片上隐藏
  • 旅程条颜色通过HSL插值从红色(0%)过渡到绿色(100%)
  • 权重徽章由JS自动注入到加权幻灯片的 h1 元素中
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. 7d ago First seen · 106 lines · 23 tokens per session scan A de85529af57c

Subscribe to this mod's changes

presentation-styling is a skill published in the GitHub repository BuaaJoseph/claude-code-best-practice-zh (2 stars, last pushed 4mo ago), licensed MIT. It adds 23 tokens to every session and 951 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 84% identical to presentation-styling, differing in 67 lines, and is treated as a copy.

Related

Other skills, from other repositories

html-ppt-zhangzara-retro-zine

A neighborhood zine on the disappearing corner shops — portraits, voices, and what a block loses when they close. Built as a decision-grade story deck for community, local readers.

nexu-io/open-design · 49 tokens

html-ppt-zhangzara-studio

A photography studio's portfolio-and-rate deck — the signature work, the process, and the packages that win the brief. Built as a decision-grade design craft deck for prospective clients.

nexu-io/open-design · 47 tokens

motion-frames

A single-frame motion-design composition with looping CSS animations — rotating type ring, animated globe, ticking timer, parallax labels. Renders as a hero video poster you can hand straight to HyperFrames or any keyframe-based exporter. Use when the brief asks for "motion design", "animated hero", "loop", "video…

nexu-io/open-design · 91 tokens

webgl-halftone-drift

A self-contained WebGL2 hero: a flowing field screened through a rotated halftone dot grid into a duotone print aesthetic; move the cursor to bend the drift.

nexu-io/open-design · 44 tokens

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

motion-graphics

A short, design-led motion graphic where motion is the message — kinetic typography, stat count-up, chart/data-viz hit, logo sting / brand lockup, lower-third / callout / social overlay, animated map (highlight regions, connect places, zoom to a location), animated tweet / news-article / headline, webpage / UI…

heygen-com/hyperframes · 139 tokens