Token导航 LogoToken导航

Agent Skill · 前端设计

tooyoung%3afrontend-slides(Tooyoung%3a 前端幻灯片)

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

tooyoung%3afrontend-slides 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,暂无第三方扫描结果,按安装量在前端设计类的 10,216 个 Skill 里排第 8,536。

总安装 279周安装 12GitHub Stars 15下载 98核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tooyoung%3afrontend-slides(Tooyoung%3a 前端幻灯片)
来源仓库:https://github.com/shiqkuangsan/oh-my-daily-skills
仓库路径:skills/tooyoung%3Afrontend-slides
安装命令:
npx skills add https://github.com/shiqkuangsan/oh-my-daily-skills --skill tooyoung:frontend-slides
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/shiqkuangsan/oh-my-daily-skills --skill tooyoung:frontend-slides

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

用于辅助前端页面和组件的开发与维护。适合生成或审查 React、Vue、CSS 等相关代码,整理组件结构。使用时需结合项目现有设计系统和路由方式,避免孤立片段。涉及页面改动时应配合本地预览检查视觉效果。tooyoung%3afrontend-slides 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/tooyoung%3Afrontend-slides

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/shiqkuangsan/oh-my-daily-skills --skill tooyou…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

tooyoung%3afrontend-slides 怎么安装?

在终端执行 npx skills add https://github.com/shiqkuangsan/oh-my-daily-skills --skill tooyoung:fronten…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

tooyoung%3afrontend-slides 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

tooyoung%3afrontend-slides 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

tooyoung%3afrontend-slides 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

tooyoung%3afrontend-slides 用的人多吗?

公开数据是累计安装 279 次,近一周安装 12 次,下载 98 次,GitHub 15 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

tooyoung%3afrontend-slides 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
tooyoung%3afrontend-slides

Tooyoung%3a 前端幻灯片 · 本页

27915操作浏览器未明确未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Frontend Slides

Create beautiful, single-file HTML slide presentations. Each slide fills exactly one viewport — no scrolling within slides, no build tools, no frameworks. Inspired by zarazhangrui/frontend-slides.

Output: One .html file containing all CSS, JS, and slide content inline.

Font strategy: Every theme specifies a Google Fonts / Fontshare web font AND a system font fallback stack. Web fonts enhance — they are not required. Presentations must look good offline.

Reference files contain complete code templates. Load them on-demand — only read what you need for the current task.

Core Principles

  1. One slide = one viewport. 100dvh, overflow: hidden, scroll-snap-align: start. Content that overflows → split into more slides.
  2. All sizes use clamp(). No fixed px/rem for typography or spacing. Everything scales with the viewport.
  3. Content density limits are hard rules. See the table below — never exceed them.
  4. Single-file output. Fonts via CDN <link>, everything else inline. No external CSS/JS files.
  5. Respect prefers-reduced-motion. All animations must have a reduced-motion fallback.

Viewport Fitting (Single Source of Truth)

This section is THE authority on viewport rules. Reference files do not repeat these — they assume this CSS is always present.

Required Base CSS

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  height: 100%;
}

.slide {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  position: relative;
}

.slide-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-height: 100%;
  overflow: hidden;
  padding: var(--slide-padding);
}

Required CSS Variables

:root {
  /* Typography — MUST use clamp() */
  --title-size: clamp(1.5rem, 5vw, 4rem);
  --h2-size: clamp(1.25rem, 3.5vw, 2.5rem);
  --h3-size: clamp(1rem, 2.5vw, 1.75rem);
  --body-size: clamp(0.75rem, 1.5vw, 1.125rem);
  --small-size: clamp(0.65rem, 1vw, 0.875rem);

  /* Spacing — MUST use clamp() */
  --slide-padding: clamp(1rem, 4vw, 4rem);
  --content-gap: clamp(0.5rem, 2vw, 2rem);
  --element-gap: clamp(0.25rem, 1vw, 1rem);

  /* Animation */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-normal: 0.6s;
}

Responsive Breakpoints

/* Short viewports (< 700px height) */
@media (max-height: 700px) {
  :root {
    --slide-padding: clamp(0.75rem, 3vw, 2rem);
    --content-gap: clamp(0.4rem, 1.5vw, 1rem);
    --title-size: clamp(1.25rem, 4.5vw, 2.5rem);
    --h2-size: clamp(1rem, 3vw, 1.75rem);
  }
}

/* Very short (< 600px height) */
@media (max-height: 600px) {
  :root {
    --slide-padding: clamp(0.5rem, 2.5vw, 1.5rem);
    --content-gap: clamp(0.3rem, 1vw, 0.75rem);
    --title-size: clamp(1.1rem, 4vw, 2rem);
    --body-size: clamp(0.7rem, 1.2vw, 0.95rem);
  }
  .nav-dots,
  .keyboard-hint,
  .decorative {
    display: none;
  }
}

/* Landscape phones (< 500px height) */
@media (max-height: 500px) {
  :root {
    --slide-padding: clamp(0.4rem, 2vw, 1rem);
    --title-size: clamp(1rem, 3.5vw, 1.5rem);
    --h2-size: clamp(0.9rem, 2.5vw, 1.25rem);
    --body-size: clamp(0.65rem, 1vw, 0.85rem);
  }
}

/* Narrow viewports (< 600px width) */
@media (max-width: 600px) {
  :root {
    --title-size: clamp(1.25rem, 7vw, 2.5rem);
  }
  .grid {
    grid-template-columns: 1fr;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.2s !important;
  }
  html {
    scroll-behavior: auto;
  }
}

Content Density Limits

Hard maximums per slide type. If content exceeds → split into multiple slides.

Slide TypeMaximum Content
Title1 heading + 1 subtitle + optional tagline
Content1 heading + 4–6 bullets OR 1 heading + 2 paragraphs
Feature Grid1 heading + 6 cards max (2×3 or 3×2)
Code1 heading + 8–10 lines of code max
Quote1 quote (max 3 lines) + attribution
Two-Column1 heading + 2 columns, each ≤ 4 bullets
Image1 heading + 1 image (max-height: min(50vh, 400px))

Slide Types

Seven standard types. See references/slide-components.md for complete HTML/CSS templates.

TypeClassUse For
Title.title-slideOpening slide, section dividers
Content.content-slideBullet points, paragraphs
Code.code-slideCode snippets with syntax highlighting
Feature Grid.grid-slideFeature cards, comparisons
Quote.quote-slideTestimonials, key statements
Two-Column.two-col-slideSide-by-side comparisons
Image.image-slideScreenshots, diagrams, photos

Theme Collection

8 curated themes across 3 categories. Each theme includes CSS variables, font pairings with system fallbacks, layout guidance, and signature element CSS.

Dark Themes → references/themes-dark.md

ThemeVibeSignature
Bold SignalConfident, high-impactColored card on dark gradient, large section numbers
Creative VoltageEnergetic, retro-modernElectric blue + neon yellow, halftone textures
Dark BotanicalElegant, sophisticatedSoft gradient circles, warm gold/pink accents

Light Themes → references/themes-light.md

ThemeVibeSignature
Notebook TabsEditorial, tactilePaper card with colored tabs, binder holes
Pastel GeometryFriendly, approachableRounded card with vertical pills on right edge
Vintage EditorialWitty, personality-drivenGeometric shapes, bold bordered CTAs, serif headlines

Specialty Themes → references/themes-specialty.md

ThemeVibeSignature
Neon CyberFuturistic, techyParticle backgrounds, neon glow, grid patterns
Terminal GreenDeveloper, hackerScan lines, blinking cursor, monospace everything

Font Fallback Strategy

Every theme has two font stacks — web (CDN) and system (offline).

ThemeWeb FontSystem Fallback
Bold SignalArchivo Black / Space GroteskImpact, Arial Black / system-ui
Creative VoltageSyne / Space MonoTrebuchet MS / Courier New, monospace
Dark BotanicalCormorant / IBM Plex SansGeorgia, Times New Roman / system-ui
Notebook TabsBodoni Moda / DM SansDidot, Georgia / system-ui
Pastel GeometryPlus Jakarta Sanssystem-ui, -apple-system
Vintage EditorialFraunces / Work SansGeorgia, Palatino / system-ui
Neon CyberClash Display / Satoshisystem-ui, -apple-system
Terminal GreenJetBrains Mono"SF Mono", "Cascadia Code", "Fira Code", monospace

When web fonts fail to load, the presentation must still look intentional — system fallbacks are chosen to preserve the theme's character.

Creation Workflow

  1. User provides: topic, audience, optional theme preference
  2. Choose theme: match audience/mood to theme vibe (see table above)
  3. Load references:

- Always: references/slide-template.md (HTML skeleton) - Always: the relevant references/themes-*.md (for chosen theme) - As needed: references/slide-components.md (for specific slide types) - As needed: references/animation-recipes.md (for advanced effects)

  1. Plan slides: outline each slide with type + key content (respect density limits)
  2. Generate: single HTML file using the skeleton, theme CSS, and component patterns
  3. Verify: every slide fits viewport, no overflow, animations have reduced-motion fallback

CSS Gotchas

Negating CSS Functions

/* WRONG — silently ignored, no console error: */
right: -clamp(28px, 3.5vw, 44px);
margin-left: -min(10vw, 100px);

/* CORRECT — wrap in calc(): */
right: calc(-1 * clamp(28px, 3.5vw, 44px));
margin-left: calc(-1 * min(10vw, 100px));

Browsers silently discard declarations with - before clamp(), min(), max().

Image Constraints

.slide-image {
  max-width: 100%;
  max-height: min(50vh, 400px);
  object-fit: contain;
  border-radius: 8px;
}

.slide-image.screenshot {
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

Grid Auto-Fit

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(0.5rem, 1.5vw, 1rem);
}

Effect-to-Feeling Guide

FeelingTechniques
DramaticSlow fade-ins (1–1.5s), scale 0.9→1, dark bg + spotlight, parallax
TechyNeon glow, particle canvas, grid patterns, monospace, glitch effects
PlayfulBouncy easing, large border-radius, pastels, floating animations
ProfessionalSubtle fast animations (200–300ms), clean sans-serif, minimal decoration
CalmVery slow subtle motion, high whitespace, muted palette, serif type
EditorialStrong type hierarchy, pull quotes, grid-breaking layouts, serif + sans

DO NOT USE

  • position: fixed for slides (breaks scroll-snap)
  • Fixed px / rem for typography or spacing (use clamp())
  • vh without dvh fallback (mobile address bar issues)
  • overflow: auto/scroll on .slide (breaks one-slide-per-viewport rule)
  • Google Fonts @import in CSS (use <link> in <head> for performance)
  • More than 6 feature cards per grid slide
  • Code blocks longer than 10 lines per slide

References

FileContentsWhen to Load
slide-template.mdComplete HTML/CSS/JS skeleton with navigationAlways — every presentation starts here
slide-components.md7 slide type HTML templatesAlways — for building individual slides
themes-dark.mdBold Signal, Creative Voltage, Dark BotanicalWhen using a dark theme
themes-light.mdNotebook Tabs, Pastel Geometry, Vintage EditorialWhen using a light theme
themes-specialty.mdNeon Cyber, Terminal GreenWhen using a specialty theme
animation-recipes.mdReveal, stagger, typewriter, particle effectsWhen advanced animations are needed

平台分布

Codex

32.19%
按下载量换算32

Claude

29.59%
按下载量换算29

Cursor

18.17%
按下载量换算18

Gemini CLI

10.14%
按下载量换算10

安全审计

暂无安全审计结果可展示。

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills