Presentation Styling Reference
shanraisshan/claude-code-best-practice
Reference for the CSS classes, HTML slide patterns and code-block highlighting spans used in a project's presentation/index.html slide deck.
“关于演示文稿中 CSS 类、组件模式和语法高亮的知识”
$ npx skills add clxzl/claude-code-best-practice-cn --skill presentation-styling -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install clxzl/claude-code-best-practice-cn presentation-styling --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/clxzl/claude-code-best-practice-cn.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/presentation/presentation-styling .claude/skills/presentation-styling && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "presentation-styling" agent skill from https://github.com/clxzl/claude-code-best-practice-cn/tree/main/.claude/skills/presentation/presentation-styling into .claude/skills/presentation-styling/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "presentation-styling", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/clxzl/claude-code-best-practice-cn/tree/main/.claude/skills/presentation/presentation-stylingType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add clxzl/claude-code-best-practice-cn --skill presentation-styling -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install clxzl/claude-code-best-practice-cn presentation-styling --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/clxzl/claude-code-best-practice-cn.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/presentation/presentation-styling .agents/skills/presentation-styling && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "presentation-styling" agent skill from https://github.com/clxzl/claude-code-best-practice-cn/tree/main/.claude/skills/presentation/presentation-styling into .agents/skills/presentation-styling/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "presentation-styling", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add clxzl/claude-code-best-practice-cn --skill presentation-styling -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install clxzl/claude-code-best-practice-cn presentation-styling --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/clxzl/claude-code-best-practice-cn.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/presentation/presentation-styling .cursor/skills/presentation-styling && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "presentation-styling" agent skill from https://github.com/clxzl/claude-code-best-practice-cn/tree/main/.claude/skills/presentation/presentation-styling into .cursor/skills/presentation-styling/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "presentation-styling", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/clxzl/claude-code-best-practice-cn.git --path .claude/skills/presentation/presentation-styling--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add clxzl/claude-code-best-practice-cn --skill presentation-styling -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install clxzl/claude-code-best-practice-cn presentation-styling --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/clxzl/claude-code-best-practice-cn.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/presentation/presentation-styling .gemini/skills/presentation-styling && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "presentation-styling" agent skill from https://github.com/clxzl/claude-code-best-practice-cn/tree/main/.claude/skills/presentation/presentation-styling into .gemini/skills/presentation-styling/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "presentation-styling", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install clxzl/claude-code-best-practice-cn presentation-stylingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add clxzl/claude-code-best-practice-cn --skill presentation-styling -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/clxzl/claude-code-best-practice-cn.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/presentation/presentation-styling .github/skills/presentation-styling && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "presentation-styling" agent skill from https://github.com/clxzl/claude-code-best-practice-cn/tree/main/.claude/skills/presentation/presentation-styling into .github/skills/presentation-styling/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "presentation-styling", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add clxzl/claude-code-best-practice-cn --skill presentation-styling -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install clxzl/claude-code-best-practice-cn presentation-styling --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/clxzl/claude-code-best-practice-cn.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/presentation/presentation-styling .opencode/skills/presentation-styling && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "presentation-styling" agent skill from https://github.com/clxzl/claude-code-best-practice-cn/tree/main/.claude/skills/presentation/presentation-styling into .opencode/skills/presentation-styling/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "presentation-styling", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
presentation-stylingPresentation Styling is a skill in clxzl/claude-code-best-practice-cn (132 stars). Its SKILL.md is about 563 tokens. Licence: MIT.
Read from SKILL.md and the folder at commit d084a34. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are html).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Presentation Styling loads about 563 tokens when it runs. Until then it costs about 12 tokens; SKILL.md has 98 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from clxzl/claude-code-best-practice-cn at commit d084a34, republished under its MIT licence (© clxzl). 98 words, ~563 tokens.
.claude/skills/presentation-styling/SKILL.md (or your agent's skills folder).presentation/index.html 中使用的 CSS 类和 HTML 模式。
.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">></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>.journey-bar — 进度条下方的固定条.journey-bar.hidden — 在标题幻灯片上隐藏h1 元素中© clxzl, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/presentation/presentation-styling of clxzl/claude-code-best-practice-cn.
Open the folder on GitHubat commit d084a34
Presentation Styling next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Presentation Styling this skillclxzl/claude-code-best-practice-cn | 132 | — | ~563 | Automated safety check: Pass | MIT | |
| Presentation Styling Referenceshanraisshan/claude-code-best-practice | 67k | — | ~780 | Automated safety check: Pass | MIT | |
| CSS Minificationthedaviddias/Front-End-Checklist | 74k | — | ~415 | Automated safety check: Pass | MIT | |
| CSS Orderthedaviddias/Front-End-Checklist | 74k | — | ~404 | Automated safety check: Pass | MIT | |
| Styles Lintthedaviddias/Front-End-Checklist | 74k | — | ~416 | Automated safety check: Pass | MIT | |
| Unused CSSthedaviddias/Front-End-Checklist | 74k | — | ~415 | Automated safety check: Pass | MIT |
shanraisshan/claude-code-best-practice
Reference for the CSS classes, HTML slide patterns and code-block highlighting spans used in a project's presentation/index.html slide deck.
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing stylesheets, component styles, and responsive behavior related to Minify all CSS files.
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing stylesheets, component styles, and responsive behavior related to Order CSS files correctly.
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing stylesheets, component styles, and responsive behavior related to Lint CSS and SCSS files.
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing stylesheets, component styles, and responsive behavior related to Remove unused CSS rules.
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing stylesheets, component styles, and responsive behavior related to Inline critical CSS for faster rendering.
clxzl/claude-code-best-practice-cn
AI 代理的浏览器自动化 CLI 工具。当用户需要与网站交互时使用,包括导航页面、填写表单、点击按钮、截取屏幕截图、提取数据、测试 Web 应用或自动化任何浏览器任务。触发条件包括"打开网站"、"填写表单"、"点击按钮"、"截取屏幕截图"、"从页面抓取数据"、"测试此 Web 应用"、"登录网站"、"自动化浏览器操作"或任何需要编程式 Web 交互的任务。
clxzl/claude-code-best-practice-cn
演示文稿背后的概念框架 —— "从 Vibe Coding 到 Agentic Engineering"的含义、旅程为何如此结构化,以及每张幻灯片如何契合叙事弧线
clxzl/claude-code-best-practice-cn
显示巴基斯坦标准时间(PKT,UTC+5)的当前时间。当用户询问当前时间、巴基斯坦时间或 PKT 时使用. An agent skill from clxzl/claude-code-best-practice-cn.
clxzl/claude-code-best-practice-cn
关于演示文稿幻灯片格式、权重系统、导航和章节结构的知识
clxzl/claude-code-best-practice-cn
创建一个 SVG 时间卡片,显示迪拜的当前时间。将 SVG 写入 agent-teams/output/dubai-time.svg 并更新 agent-teams/output/output.md。
clxzl/claude-code-best-practice-cn
创建一个 SVG 天气卡片,显示迪拜的当前温度。将 SVG 写入 orchestration-workflow/weather.svg 并更新 orchestration-workflow/output.md。
Run `npx skills add clxzl/claude-code-best-practice-cn --skill presentation-styling -a claude-code`. Or copy the skill folder (.claude/skills/presentation/presentation-styling in clxzl/claude-code-best-practice-cn) into .claude/skills/presentation-styling in your project. Claude Code loads it when a task matches its description.
Run `npx skills add clxzl/claude-code-best-practice-cn --skill presentation-styling -a codex`. Or copy the skill folder (.claude/skills/presentation/presentation-styling in clxzl/claude-code-best-practice-cn) into .agents/skills/presentation-styling in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add clxzl/claude-code-best-practice-cn --skill presentation-styling -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/presentation-styling, .gemini/skills/presentation-styling, .github/skills/presentation-styling and .opencode/skills/presentation-styling in your project.
SKILL.md names no scripts, command-line tools or credentials: Presentation Styling is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Presentation Styling is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 563 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Presentation Styling: Presentation Styling Reference (shanraisshan/claude-code-best-practice, 67k stars), CSS Minification (thedaviddias/Front-End-Checklist, 74k stars), CSS Order (thedaviddias/Front-End-Checklist, 74k stars) and Styles Lint (thedaviddias/Front-End-Checklist, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
clxzl (a GitHub user) maintains it in clxzl/claude-code-best-practice-cn, which has 132 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on May 11, 2026.
Source: clxzl/claude-code-best-practice-cn on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.