product-guide 是什么?
Design, build, or review a one-time in-app guide in Cherry Studio — a spotlight coachmark on a moved entry point, a changed default, or a capability users would not find, or a dialog that introduces newly unlocked content. Use when a change moves UI, changes a default users rely on, or ships something hard to discover, and whenever a guide's design, data, behavior, or Electron verification is in question.
以上为来源原文,中文用途说明尚待整理。
怎么接入你的 Agent?
- 定位完整 Skill 目录
打开本项目来源,核对
SKILL.md及其引用的脚本和资料。 - 交给你正在用的 Agent
在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。
- 确认识别,再做具体任务
让 Agent 回报安装目录和识别到的名称
product-guide,然后告诉 Agent 你的任务和实际输入,让它先核对触发条件。
展开并复制给 Codex 的安装指令
安装并检查 product-guide
请在 Codex 的当前工作环境中安装并检查 product-guide 这个 Skill。
项目身份:cherryhq/cherry-studio / product-guide
来源:https://github.com/cherryhq/cherry-studio/blob/253bd3d400e40a9cb9afdd7a4f97ecd5bc5f9d63/.agents/skills/product-guide/SKILL.md
已定位的源文件:.agents/skills/product-guide/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Claude Code 的安装指令
安装并检查 product-guide
请在 Claude Code 的当前工作环境中安装并检查 product-guide 这个 Skill。
项目身份:cherryhq/cherry-studio / product-guide
来源:https://github.com/cherryhq/cherry-studio/blob/253bd3d400e40a9cb9afdd7a4f97ecd5bc5f9d63/.agents/skills/product-guide/SKILL.md
已定位的源文件:.agents/skills/product-guide/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Cursor 的安装指令
安装并检查 product-guide
请在 Cursor Agent 的当前工作环境中安装并检查 product-guide 这个 Skill。
项目身份:cherryhq/cherry-studio / product-guide
来源:https://github.com/cherryhq/cherry-studio/blob/253bd3d400e40a9cb9afdd7a4f97ecd5bc5f9d63/.agents/skills/product-guide/SKILL.md
已定位的源文件:.agents/skills/product-guide/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 当前 Agent 的安装指令
安装并检查 product-guide
请在 当前 Agent 的当前工作环境中安装并检查 product-guide 这个 Skill。
项目身份:cherryhq/cherry-studio / product-guide
来源:https://github.com/cherryhq/cherry-studio/blob/253bd3d400e40a9cb9afdd7a4f97ecd5bc5f9d63/.agents/skills/product-guide/SKILL.md
已定位的源文件:.agents/skills/product-guide/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。来源原文与资料状态
- 源文件
- 已保存 SKILL.md,抓取于 2026-11-22T03:34:45.756Z
- 中文使用说明
- 尚待整理,保留英文来源内容
- 安装与任务测试
- 本站未执行安装或任务测试
- 来源复核
- 已保留来源记录;当前完整用法未逐项人工复核
展开 SKILL.md 原文、章节与历史收录资料
.agents/skills/product-guide/SKILL.md · 抓取时间 2026-11-22T03:34:45.756Z
以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。
抓取成功不代表已完成安装或任务测试。
Design, build, or review a one-time in-app guide in Cherry Studio — a spotlight coachmark on a moved entry point, a changed default, or a capability users would not find, or a dialog that introduces newly unlocked content. Use when a change moves UI, changes a default users rely on, or ships something hard to discover, and whenever a guide's design, data, behavior, or Electron verification is in question.
查看源文件章节 / Source sections
- 原文:Product Guide
- 原文:1. Decide whether a guide is warranted
- 原文:2. Locate the target in the real UI
- 原文:3. Preview before code
- 原文:4. Design rules
- 原文:5. Data
- 原文:6. Behavior
- 原文:7. i18n
- 原文:8. Tests
- 原文:9. Verify in Electron
- 原文:10. Before commit
原文:Product Guide
A guide tells users, once, where something is or what changed. It must look like part of Cherry Studio, show real data, never disturb the UI it points at, and never come back after it is dismissed. **Reference implementation:** the Cherry Cloud plan activation guide from [#24425](https://github.com/CherryHQ/cherry-studio/pull/24425). Its files exist on `main` once that PR merges; until then read them on the PR branch. Before that merge, `main` has an older, toast-only `useCherryCloudSubscriptionReminder.ts` that is not the reference. The design reference repeats the essential structure so this skill works without them. - `src/renderer/windows/main/subscription/CherryCloudPlanActivationDialog.tsx`: the decision dialog and its abstract illustration. - `src/renderer/components/cherryCloud/CherryCloudModelGuide.tsx`: the anchored spotlight guide. - `src/renderer/windows/main/hooks/useCherryCloudSubscriptionReminder.ts`: detection, edition rules, and data derivation. Match its size, type, spacing, and color unless a human asks otherwise. Exact values are in [design-reference.md](references/design-reference.md).
原文:1. Decide whether a guide is warranted
Add a guide only when at least one is true: - An entry point users already use moved or was renamed. - A default users rely on changed and the new behavior is visible to them. - A newly unlocked capability works only if users find a control they have no reason to open. Do not add one for a new feature that sits where users already look, for copy tweaks, or for anything a toast or an inline empty state already explains. One change gets at most one guide. Choose the audience. A guide about changed or moved behavior is for upgraded users only: fresh installs never saw the old UI. A guide about newly unlocked content follows the event that unlocked it. Decide eligibility from the user's own state, not from a missing seen flag: renderer persist cache is empty on both a fresh install and an upgrade. Mark the guide due at the moment that changes the user's experience, and show it only while that due record exists. When that moment is in the renderer (an unlocking event, a renderer-side check of the user's stored setting), write the due record there. When only the main process knows (a data or preference migration), main cannot write renderer persist cache. If the migrated state still tells upgraded users apart from fresh installs, read that. If it does not (for example, both end up with the same preference value), the guide needs a marker written by the migration; that is a new channel, so stop and ask a human before adding it. If the moved control is driven by a user-customizable default (a preference such as pinned toolbar items), changing the default does not affect existing users. That needs a migration and a product decision about whose settings to rewrite; raise it with a human before designing the guide.
原文:2. Locate the target in the real UI
- Read the target component's source and take a current screenshot from a running dev instance (`cherry-electron-dev`). Name the exact component and element the guide points at. Never place a guide from memory or from an older design. - Do not modify the target component's look, layout, or behavior. The only allowed change is exposing an anchor: an optional ref prop or a `data-*` attribute. - If the guide triggers an action (for example switching a model), route it through the target's own handler so its state reconciliation stays in one place.
原文:3. Preview before code
For any guide with visible UI, produce light and dark preview screenshots (an HTML mock or a dev-instance capture) and get explicit human agreement before implementing. Iterate on the preview, not on shipped code. Save the screenshots under `.context/`.
原文:4. Design rules
- **One spotlight, one card, one primary action.** Dim the window except a padded cutout around the target, and anchor a single card to the cutout. Do not add pulse rings, outlines on the target, a second action button, or a full-window dim without a cutout. - **Dismissal.** The card's action button, an outside click, a click on the target, and Escape all dismiss it. Never block the user: the dim layer stays `pointer-events-none`, so a click on the target also runs the target's own action, and an outside click also reaches whatever is underneath. Both are intended. - **Type.** Body text is `text-xs` (12px) and titles are `text-sm font-semibold` (14px). Never use 10/11/13px or `text-base` and larger inside a guide. When a card feels too large, reduce width and padding, not the type scale. - **Placement.** The reference values fit a target near the top of the window. Adapt them without asking: put the card on the side with room (`top` for targets near the bottom, such as the composer), align its edge with the cutout (`alignOffset` equal to minus the cutout padding for `align="start"`), and set the cutout radius to the target's radius plus the padding, or `rounded-full` for a round button. - **Size.** Guide cards are `w-76` (304px) wide; height follows content (a text-only card has no preview strip and is shorter). Dialogs are 340px wide. Checkbox and button labels fit on one line; descriptions take at most two lines in English. - **Color.** Use neutral surface tokens and the shared `emphasis` button. `primary` appears only as a thin selection indicator. No gradients, colored tags, or ad-hoc `dark:` overrides. - **Illustration.** Default to none for anchored guides; the spotlight already shows the target. A dialog or where-is-it guide may reuse the abstract illustration from the reference dialog. A new illustration must follow the rules in the design reference: interface structure only, tokens only, and a ground visibly distinct from the card in the dark theme. - **Copy.** Short and specific: what changed, where it is now, one action. Never name a plan or tier, never mention another plan, and never state numbers or names that are not in live data.
原文:5. Data
Skip this step if the guide shows no models, plans, quotas, or dates; still check both editions for layout differences near the target. - Take every model, plan, quota, and date from live API data. Check the public catalog (for example `GET /api/v1/public/plans` on the edition's Cherry Cloud origin) or the signed-in account response; never invent sample content. Seed dev-profile test data from those real values. - Confirm what each field means before showing it. Example: a monthly subscription returns no entitlement `expires_at`; its date is the `subscription_month` quota window's `period_end`. - Use the endpoints the feature already calls. Do not add a server or IPC endpoint for a guide unless a human asks for it. - Check the China and global editions separately. Their API origins, catalogs, and notification behavior differ.
文件 SHA256:55e8781339493b82b8699271211bede24bee45508b3bf21f44e544653e3d4494
仓库许可证记录:AGPL-3.0;repository-license-recorded-scope-unverified,查看来源。
Design, build, or review a one-time in-app guide in Cherry Studio — a spotlight coachmark on a moved entry point, a changed default, or a capability users would not find, or a dialog that introduces newly unlocked content. Use when a change moves UI, changes a default users rely on, or ships something hard to discover, and whenever a guide's design, data, behavior, or Electron verification is in question.
历史收录数据
| 来源仓库 | cherryhq/cherry-studio |
|---|---|
| Skill源路径 | .agents/skills/product-guide/SKILL.md |
安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。
