yida-ppt-slider SKILL.md skillA
yida-ppt-slider from openyida/openyida is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add openyida/openyida/yida-ppt-slider@git:20260818.7ea39f2Pins git:20260818.7ea39f2 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- openyida/openyida
- Path
yida-skills/skills/yida-ppt-slider/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260818.7ea39f2, committed Aug 18, 2026
- First version recorded
- Jul 10, 2026
- Size
- 9,285 bytes
- Repository stars
- 231
- License
- MIT
宜搭全屏幻灯片页面开发,兼容旧 yida-ppt / PPT / 演示 / 幻灯片触发词,使用 React hooks 管理翻页、URL hash、键盘/演讲笔、全屏和副作用清理。支持浅色简约与 dark-tech 主题。平台 JSX 组件生命周期模式仅用于对应运行时维护。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 宜搭 PPT 幻灯片开发指南
## 核心定位
本技能用于在宜搭内交付全屏演示页:
- `.canvas.jsx` / `.canvas.tsx` + `YidaComp` 函数组件。
- `useState` 管当前页、主题、语言、导航显隐和全屏状态。
- `useEffect` 管键盘、hash、触摸、定时器和 cleanup。
- `useMemo` 派生当前页与页码数据。
- 常规图表默认交 `yida-rechart`;明确 ECharts/复杂 option 时才使用 `yida-chart`。
已有 `.oyd.jsx` / `.oyb.jsx` 或深度依赖平台实例桥时,按平台 JSX 组件运行时维护。
## 适用场景
| 用户意图 | 触发条件 | 处理方式 |
|---------|---------|---------|
| 在宜搭内创建演示文稿 | "PPT"、"yida-ppt"、"幻灯片"、"演示页面"、"产品路演" | 使用本技能 |
| 需要读取宜搭数据的演示 | 演示页要接入表单、权限或宜搭页面能力 | `YidaCodeCanvas` 组件 + `yida-canvas-data-binding` |
| 纯静态演讲稿 | 不依赖宜搭发布、不读取宜搭数据 | 优先改用独立 HTML 幻灯片能力 |
| 维护已有 `renderJsx` / `didMount` PPT | 已有平台 JSX 组件页面或强依赖平台实例桥 | 按平台 JSX 组件运行时维护 |
## 致命规则
1. **源码格式正确**:不得把 `.oyd.jsx`、`renderJsx`、`didMount` 写成默认页面实现。
2. **状态归 hooks**:翻页、导航、语言、主题、全屏状态用 React hooks。
3. **副作用必须清理**:键盘、触摸、鼠标、hash、fullscreen、定时器和图表副作用均在 `useEffect` cleanup。
4. **事件真实可触发**:禁止 `onClick={foo()}`、小写 `onclick`;可见按钮必须有 handler 或 disabled。
5. **图片完整展示**:默认 `object-fit: contain`,不得裁掉关键演示素材。
6. **hash 双向同步**:初始页读取 hash;翻页更新 hash;浏览器前进/后退能恢复页码。
7. **全屏由用户手势触发**:监听 `fullscreenchange` 同步 UI;卸载时移除监听。
8. **页面级隐藏导航**:演示页发布后配置 `isRenderNav=false` 并验证最终 URL;这不等同于应用导航隐藏。
## 开发流程
```bash
# 1. 只读检测
…Read the whole file at its exact version.
How to install
mdr add openyida/openyida/yida-ppt-slider@sha256:a27ab0df7a71a9d8The line at the top of this page pins the label git:20260818.7ea39f2, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_gjjm6tzaeahv3vek)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Jul 10, 2026 and Aug 18, 2026, about one every 10 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260818.7ea39f2 latest | 2026-08-18 | 7ea39f2 | 9,285 B | A | view · diff |
| git:20260814.93a1643 | 2026-08-14 | 93a1643 | 9,246 B | A | view · diff |
| git:20260728.ca83c23 | 2026-07-28 | ca83c23 | 9,366 B | A | view · diff |
| git:20260728.2c22517 | 2026-07-28 | 2c22517 | 8,391 B | A | view · diff |
| git:20260710.414c27c | 2026-07-10 | 414c27c | 8,427 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (9285 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
openyida/openyida · 231 stars · license MIT · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_gjjm6tzaeahv3vek GET https://markdownregistry.com/api/v1/resolve?ref=openyida/openyida/yida-ppt-slider GET https://markdownregistry.com/api/v1/blob/a27ab0df7a71a9d8d2912f199d516dda338ae8a222e24c9acec005892e1e7a23
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.