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

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

presentation-structure is a skill for Claude Code from BuaaJoseph/claude-code-best-practice-zh. It costs 24 tokens per session (1,082 once invoked), scanned A, original, MIT.

A reference skill for structuring an HTML slide presentation, including slide numbering, navigation, sections, and four journey levels from Low to Pro.

In plain words
What is it for?
Use it when editing presentation/index.html or building similar slide structures with section transitions and inherited progress levels.
Why use it?
It prevents presentation changes from breaking the expected slide format, level indicators, or navigation behaviour.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/buaajoseph/claude-code-best-practice-zh/presentation-structure/github.svg)](https://agentmods.dev/skills/buaajoseph/claude-code-best-practice-zh/presentation-structure)
Your own site
<a href="https://agentmods.dev/skills/buaajoseph/claude-code-best-practice-zh/presentation-structure"><img src="https://agentmods.dev/badge/skills/buaajoseph/claude-code-best-practice-zh/presentation-structure/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-structure

Your own site · 80×15
<a href="https://agentmods.dev/skills/buaajoseph/claude-code-best-practice-zh/presentation-structure"><img src="https://agentmods.dev/badge/skills/buaajoseph/claude-code-best-practice-zh/presentation-structure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,082 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.00024 $0.01082
Opus 5.5 $0.00010 $0.00433
Sonnet 5.5 $0.00005 $0.00216
Haiku 4.5 $0.00002 $0.00108

Measured 1mo ago against content hash 05e0cf1fa03a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

presentation-structure 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 1mo 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.

.claude/skills/presentation/presentation-structure/SKILL.md · 89 lines

What it actually says

演示文稿结构技能

关于 presentation/index.html 中演示文稿结构如何组织的知识。

文件位置

presentation/index.html — 一个包含内联CSS和JS的单文件HTML演示文稿。

幻灯片格式

每个幻灯片是一个带有 data-slide(顺序编号)和可选 data-level(过渡点的旅程级别)的div:

<!-- 普通幻灯片 — 从前一个 data-level 幻灯片继承级别 -->
<div class="slide" data-slide="12">
    <h1>幻灯片标题</h1>
    <!-- 内容 -->
</div>

<!-- 级别过渡幻灯片 — 为本幻灯片及之后的所有幻灯片设置新级别 -->
<div class="slide section-slide" data-slide="10" data-level="low">
    <h1>章节名称</h1>
    <p class="section-desc">Level: Low — 本章节描述</p>
</div>

<!-- 标题幻灯片(居中) -->
<div class="slide title-slide" data-slide="1">
    <h1>演示文稿标题</h1>
    <p class="subtitle">副标题文本</p>
</div>

旅程条级别系统

演示文稿使用4级系统而非累积百分比:

  • 级别通过关键过渡幻灯片(章节分隔符)上的 data-level 属性设置
  • data-level 幻灯片之后的所有幻灯片继承该级别,直到下一个过渡
  • 旅程条填充至 Low/Medium/High/Pro 分别为 25%/50%/75%/100%
  • 旅程条在幻灯片1(标题幻灯片)隐藏;从幻灯片2开始显示
  • 第一个 data-level 之前的幻灯片(幻灯片2-9)显示空条(尚未设置级别)
  • .level-badge 由JS注入到带有 data-level 的幻灯片的 <h1> 中 — 不要在HTML中硬编码

各章节的级别转换

章节 幻灯片范围 data-level 条高度
Part 0: 介绍 幻灯片 1-4 (无) 隐藏/空
Part 1: 前提条件 幻灯片 5-9 (无) 空
Part 2: 更好的提示 幻灯片 10-17 low 25%
Part 3: 项目记忆 幻灯片 18-24 medium 50%
Part 4: 结构化工作流 幻灯片 25-28 (继承medium) 50%
Part 5: 领域知识 幻灯片 29-33 high 75%
Part 6: 代理工程 幻灯片 34-46 high 75%
附录 幻灯片 47+ (继承high) 75%

导航系统

  • goToSlide(n) — 用于TOC链接,必须与实际的 data-slide 编号匹配
  • totalSlides 从DOM自动计算(document.querySelectorAll('[data-slide]').length)
  • 方向键、空格和触摸滑动用于导航
  • 幻灯片计数器在左下角显示 当前/总数

重新编号规则

添加、删除或重新排序幻灯片后:

  1. 重新编号所有 data-slide 属性,从1开始顺序编号
  2. 更新TOC/Journey Map幻灯片中的所有 goToSlide() 调用
  3. JS totalSlides 自动计算 — 无需手动更新
  4. 验证没有间隙或重复

章节分隔符格式

章节分隔符使用 section-slide 类。级别转换章节分隔符带有 data-level,并在描述中显示级别名称:

<div class="slide section-slide" data-slide="10" data-level="low">
    <p class="section-number">Part 2</p>
    <h1>更好的提示</h1>
    <p class="section-desc">Level: Low — 有效提示带来真实结果。</p>
</div>

JS将在运行时将 .level-badge(例如 "→ Low")注入到级别转换时 <h1> 中 — 不要在HTML中手动添加这些。

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. 1mo ago First seen · 89 lines · 24 tokens per session scan A 05e0cf1fa03a

Subscribe to this mod's changes

presentation-structure is a skill published in the GitHub repository BuaaJoseph/claude-code-best-practice-zh (2 stars, last pushed 6mo ago), licensed MIT. It adds 24 tokens to every session and 1,082 once invoked, about $0.0001 per session on Opus 5.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-31.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

next-cache-components-optimizer

Optimize the meaningful UI available immediately from a Next.js route on an initial load (hard navigation) or named client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route and entry point at a time; the shipped test then guards…

vercel/next.js · 123 tokens