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 Rito-w/claude-code-best-practice-zh. It costs 19 tokens per session (819 once invoked), scanned A, a copy of presentation-styling, MIT.

A reference guide to the presentation’s CSS classes, layout patterns, content blocks, badges, lists, and code formatting.

In plain words
What is it for?
Use it when styling slides, arranging columns or cards, adding warnings and code blocks, or highlighting syntax.
Why use it?
It helps edits match the existing visual design instead of introducing inconsistent markup or styling.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is Rito-w/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 Rito-w/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/Rito-w/claude-code-best-practice-zh/main/.claude/skills/presentation/presentation-styling/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Rito-w/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/rito-w/claude-code-best-practice-zh/presentation-styling.svg)](https://agentmods.dev/skills/rito-w/claude-code-best-practice-zh/presentation-styling)
Your own site
<a href="https://agentmods.dev/skills/rito-w/claude-code-best-practice-zh/presentation-styling"><img src="https://agentmods.dev/badge/skills/rito-w/claude-code-best-practice-zh/presentation-styling.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 819 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 100% 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.00019 $0.00819
Opus 5 $0.00010 $0.00409
Sonnet 5 $0.00004 $0.00164
Haiku 4.5 $0.00002 $0.00082

Measured 7d ago against content hash 919e79acdfd8, 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

100% identical to presentation-styling — 0 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 · 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.

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.

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. 7d ago First seen · 107 lines · 19 tokens per session scan A 919e79acdfd8

Subscribe to this mod's changes

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

Related

Other skills, from other repositories

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

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

accessibility

Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.

microsoft/hve-core · 47 tokens

make-resume

A Chinese-language tool for creating editable HTML resumes that can be changed in a browser and printed to PDF. It uses available resume templates when they are installed and otherwise provides a simpler fallback.

Hisn00w/ASu-skills · 86 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens