Frontend Slides
zarazhangrui/frontend-slides
Builds animated HTML slide decks that run in the browser with no dependencies, or converts PowerPoint files to the web, starting from visual style previews.
Agent skill
Documents how a single-file HTML slide deck is built: slide markup, the four-level journey bar, navigation and the renumbering rules after edits.
$ npx skills add shanraisshan/claude-code-best-practice --skill presentation-structure -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install shanraisshan/claude-code-best-practice presentation-structure --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/shanraisshan/claude-code-best-practice.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/presentation/presentation-structure .claude/skills/presentation-structure && 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-structure" agent skill from https://github.com/shanraisshan/claude-code-best-practice/tree/main/.claude/skills/presentation/presentation-structure into .claude/skills/presentation-structure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "presentation-structure", 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/shanraisshan/claude-code-best-practice/tree/main/.claude/skills/presentation/presentation-structureType 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 shanraisshan/claude-code-best-practice --skill presentation-structure -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install shanraisshan/claude-code-best-practice presentation-structure --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/shanraisshan/claude-code-best-practice.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/presentation/presentation-structure .agents/skills/presentation-structure && 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-structure" agent skill from https://github.com/shanraisshan/claude-code-best-practice/tree/main/.claude/skills/presentation/presentation-structure into .agents/skills/presentation-structure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "presentation-structure", 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 shanraisshan/claude-code-best-practice --skill presentation-structure -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install shanraisshan/claude-code-best-practice presentation-structure --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/shanraisshan/claude-code-best-practice.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/presentation/presentation-structure .cursor/skills/presentation-structure && 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-structure" agent skill from https://github.com/shanraisshan/claude-code-best-practice/tree/main/.claude/skills/presentation/presentation-structure into .cursor/skills/presentation-structure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "presentation-structure", 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/shanraisshan/claude-code-best-practice.git --path .claude/skills/presentation/presentation-structure--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 shanraisshan/claude-code-best-practice --skill presentation-structure -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install shanraisshan/claude-code-best-practice presentation-structure --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/shanraisshan/claude-code-best-practice.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/presentation/presentation-structure .gemini/skills/presentation-structure && 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-structure" agent skill from https://github.com/shanraisshan/claude-code-best-practice/tree/main/.claude/skills/presentation/presentation-structure into .gemini/skills/presentation-structure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "presentation-structure", 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 shanraisshan/claude-code-best-practice presentation-structureInstalls 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 shanraisshan/claude-code-best-practice --skill presentation-structure -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/shanraisshan/claude-code-best-practice.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/presentation/presentation-structure .github/skills/presentation-structure && 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-structure" agent skill from https://github.com/shanraisshan/claude-code-best-practice/tree/main/.claude/skills/presentation/presentation-structure into .github/skills/presentation-structure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "presentation-structure", 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 shanraisshan/claude-code-best-practice --skill presentation-structure -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install shanraisshan/claude-code-best-practice presentation-structure --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/shanraisshan/claude-code-best-practice.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/presentation/presentation-structure .opencode/skills/presentation-structure && 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-structure" agent skill from https://github.com/shanraisshan/claude-code-best-practice/tree/main/.claude/skills/presentation/presentation-structure into .opencode/skills/presentation-structure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "presentation-structure", 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-structureDocuments how a single-file HTML slide deck is built: slide markup, the four-level journey bar, navigation and the renumbering rules after edits.
The skill describes the deck at presentation/index.html, one HTML file with inline CSS and JavaScript. Each slide is a div carrying a sequential data-slide number and, at section transitions, an optional data-level attribute. A journey bar shows progress in four levels, Low, Medium, High and Pro, which fill it to 25%, 50%, 75% and 100%. Slides inherit the level of the last transition slide, and the bar is hidden on the title slide.
A section table maps the parts of the deck to slide ranges and levels, and the level badge on a heading is injected by JavaScript rather than written into the HTML. Navigation uses goToSlide(n) in table-of-contents links, arrow keys, Space and touch swipe, with a counter at the bottom left, and totalSlides is computed from the DOM. After slides are added, removed or reordered, the agent renumbers every data-slide from 1, updates the goToSlide calls in the table-of-contents slide and checks for gaps or duplicates.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 63e587b. 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.
HTML Presentation Structure Guide loads about 882 tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 340 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 shanraisshan/claude-code-best-practice at commit 63e587b, republished under its MIT licence (© shanraisshan). 340 words, ~882 tokens.
.claude/skills/presentation-structure/SKILL.md (or your agent's skills folder).Knowledge about how the presentation at presentation/index.html is structured.
presentation/index.html — a single-file HTML presentation with inline CSS and JS.
Each slide is a div with data-slide (sequential number) and optional data-level (journey level at transition points):
<!-- Regular slide — inherits level from previous data-level slide -->
<div class="slide" data-slide="12">
<h1>Slide Title</h1>
<!-- content -->
</div>
<!-- Level transition slide — sets new level for this slide and all following -->
<div class="slide section-slide" data-slide="10" data-level="low">
<h1>Section Name</h1>
<p class="section-desc">Level: Low — description of this section</p>
</div>
<!-- Title slide (centered) -->
<div class="slide title-slide" data-slide="1">
<h1>Presentation Title</h1>
<p class="subtitle">Subtitle text</p>
</div>The presentation uses a 4-level system instead of cumulative percentages:
data-level attribute on key transition slides (section dividers)data-level slide inherit that level until the next transitiondata-level (slides 2–9) show an empty bar (no level yet set).level-badge is JS-injected on the <h1> of slides that carry data-level — do NOT hardcode in HTML| Section | Slide Range | data-level | Bar Height |
|---|---|---|---|
| Part 0: Introduction | Slides 1-4 | (none) | hidden / empty |
| Part 1: Prerequisites | Slides 5-9 | (none) | empty |
| Part 2: Better Prompting | Slides 10-17 | low | 25% |
| Part 3: Project Memory | Slides 18-24 | medium | 50% |
| Part 4: Structured Workflows | Slides 25-28 | (inherits medium) | 50% |
| Part 5: Domain Knowledge | Slides 29-33 | high | 75% |
| Part 6: Agentic Engineering | Slides 34-46 | high | 75% |
| Appendix | Slides 47+ | (inherits high) | 75% |
goToSlide(n) — used in TOC links, must match actual data-slide numberstotalSlides is auto-computed from DOM (document.querySelectorAll('[data-slide]').length)current / total at bottom-leftAfter adding, removing, or reordering slides:
data-slide attributes sequentially starting from 1goToSlide() calls in the TOC/Journey Map slidetotalSlides auto-computes — no manual update neededSection dividers use the section-slide class. Level-transition section dividers carry data-level and show the level name in the description:
<div class="slide section-slide" data-slide="10" data-level="low">
<p class="section-number">Part 2</p>
<h1>Better Prompting</h1>
<p class="section-desc">Level: Low — effective prompting for real results.</p>
</div>The JS will inject a .level-badge (e.g., "→ Low") into the <h1> at runtime when the level transitions — do not add these manually in HTML.
© shanraisshan, 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-structure of shanraisshan/claude-code-best-practice.
Open the folder on GitHubat commit 63e587b
HTML Presentation Structure Guide 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 |
|---|---|---|---|---|---|---|
| HTML Presentation Structure Guide this skillshanraisshan/claude-code-best-practice | 67k | — | ~882 | Automated safety check: Pass | MIT | |
| Frontend Slideszarazhangrui/frontend-slides | 30k | 16 repos | ~7k | Automated safety check: Pass | MIT | |
| HTML PPT Studiolewislulu/html-ppt-skill | 8.6k | 4 repos | ~4.7k | Automated safety check: Pass | MIT | |
| Openkb Deck EditorialVectifyAI/OpenKB | 4.8k | 1 repos | ~2.1k | Automated safety check: Pass | Apache-2.0 | |
| Science Content Slide PagesUnclecheng-li/AI-Animation-Skill | 574 | 1 repos | ~1.5k | Automated safety check: Pass | MIT | |
| PPT as CodeRussell-cell/PPT-as-code | 190 | — | ~11k | Automated safety check: Pass | MIT |
zarazhangrui/frontend-slides
Builds animated HTML slide decks that run in the browser with no dependencies, or converts PowerPoint files to the web, starting from visual style previews.
lewislulu/html-ppt-skill
Authors static HTML presentations from a library of themes, layouts and animations, with keyboard navigation, for talks, pitch decks and reports.
VectifyAI/OpenKB
A skill your agent uses when the user asks the openkb chat to make a deck / slide presentation / PPT / slides / 演示稿 / 幻灯片 from their compiled KB content.
Unclecheng-li/AI-Animation-Skill
Turns popular-science text into an animated slide-style single-page HTML presentation, or restyles it as a flat-UI flowchart, using templates built into the skill.
Russell-cell/PPT-as-code
Plans and builds HTML-based web presentations through staged quick, basic or advanced workflows, with optional visualization planning, motion, a workbench and PPTX export handoff.
beefiker/superloopy
Creates zero-dependency, animation-rich HTML slide decks that run in the browser, with style presets, PowerPoint conversion and PDF export, proven by a real-browser render.
shanraisshan/claude-code-best-practice
Display the current time in Pakistan Standard Time (PKT, UTC+5). Use when the user asks for the current time, Pakistan time, or PKT.
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.
shanraisshan/claude-code-best-practice
Explains the conceptual model behind a presentation on moving from unstructured vibe coding to fully configured agentic engineering, including its 4-level scoring system and slide conventions.
shanraisshan/claude-code-best-practice
Reads the current temperature in Dubai from the Open-Meteo API with a single web fetch and returns it in Celsius or Fahrenheit.
shanraisshan/claude-code-best-practice
Instructions for fetching current Dubai time via bash command
shanraisshan/claude-code-best-practice
Creates an SVG time card showing the current time for Dubai. Writes the SVG to agent-teams/output/dubai-time.svg and updates agent-teams/output/output.md.
Categories
Documents how a single-file HTML slide deck is built: slide markup, the four-level journey bar, navigation and the renumbering rules after edits. html, one HTML file with inline CSS and JavaScript. Each slide is a div carrying a sequential data-slide number and, at section transitions, an optional data-level attribute.
HTML Presentation Structure Guide fits situations like: adding or reordering slides in the single-file HTML presentation; changing the journey bar level at a section divider; fixing table-of-contents links after slides were renumbered.
Run `npx skills add shanraisshan/claude-code-best-practice --skill presentation-structure -a claude-code`. Or copy the skill folder (.claude/skills/presentation/presentation-structure in shanraisshan/claude-code-best-practice) into .claude/skills/presentation-structure in your project. Claude Code loads it when a task matches its description.
Run `npx skills add shanraisshan/claude-code-best-practice --skill presentation-structure -a codex`. Or copy the skill folder (.claude/skills/presentation/presentation-structure in shanraisshan/claude-code-best-practice) into .agents/skills/presentation-structure 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 shanraisshan/claude-code-best-practice --skill presentation-structure -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-structure, .gemini/skills/presentation-structure, .github/skills/presentation-structure and .opencode/skills/presentation-structure in your project.
SKILL.md names no scripts, command-line tools or credentials: HTML Presentation Structure Guide is instructions for the agent only. Our summary lists: A presentation/index.html file in the project.
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.
HTML Presentation Structure Guide is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 882 tokens (SKILL.md is roughly 3.5k 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 HTML Presentation Structure Guide: Frontend Slides (zarazhangrui/frontend-slides, 30k stars), HTML PPT Studio (lewislulu/html-ppt-skill, 8.6k stars), Openkb Deck Editorial (VectifyAI/OpenKB, 4.8k stars) and Science Content Slide Pages (Unclecheng-li/AI-Animation-Skill, 574 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
shanraisshan (a GitHub user) maintains it in shanraisshan/claude-code-best-practice, which has 67,323 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 10, 2026.
Source: shanraisshan/claude-code-best-practice on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.