usf20267314

Implements step-by-step highlighted onboarding using driver.js. Highlights UI elements in sequence and shows tips, intended for scenarios needing Driver.js, user onboarding, or feature highlight tours.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "usf20267314" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-b94b96403f4e85bd6e18a106e4b4e37a4442de58e4f43c2cd42dae58c801afbd. Verify the upstream source and version against https://skillhub.cn/skills/user_f1b049da/usf20267314 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Implements step-by-step highlighted onboarding using driver.js. Highlights UI elements in sequence and shows tips, intended for scenarios needing Driver.js, user onboarding, or feature highlight tours.

0 Downloads

Introduction source: third_party · user_f1b049da · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: usf20267314
slug: usf20267314
displayName: Driver.js新手引导
version: 1.0.0
summary: 用 driver.js 做产品功能高亮引导,帮助新员工快速上手 CRM。
license: MIT
description: 用 driver.js 实现分步高亮新手引导。当用户要 Driver.js、新手引导、功能高亮导览时使用。

Driver.js 新手引导(driver.js)

灵感:能力工具箱 driverjs(pkg: driver.js)。

小四原创:首登弹分步高亮;可跳过、可「不再提示」;步骤绑稳定 data-tour 选择器。

何时使用

  • 新员工第一次进 CRM 首页
  • 上线新功能要圈重点按钮
  • 演示环境一键「带看一遍」

硬约束

  1. 使用 driver.js;引入配套 CSS。
  2. 步骤选择器优先 data-tour="...",少用易变 class。
  3. 提供跳过;localStorage 记「已看过」(键名含产品版本更佳)。
  4. 路由切换时销毁未完成引导,防幽灵遮罩。
  5. 实现要点注释标 小四原创。
  6. 尊重 prefers-reduced-motion:可减弱动画。

推荐实现

import { driver } from 'driver.js'
import 'driver.js/dist/driver.css'

const SEEN_KEY = 'crm-tour-v1'

// 小四原创:CRM 首登引导
export function startCrmTour(force = false) {
  if (!force && localStorage.getItem(SEEN_KEY) === '1') return null
  const d = driver({
    showProgress: true,
    nextBtnText: '下一步',
    prevBtnText: '上一步',
    doneBtnText: '完成',
    steps: [
      { element: '[data-tour="search"]', popover: { title: '搜索', description: '按公司名或联系人找客户' } },
      { element: '[data-tour="add-customer"]', popover: { title: '新建', description: '从这里录入新客户' } },
      { element: '[data-tour="today-follow"]', popover: { title: '今日跟进', description: '优先处理今天的待办' } },
    ],
    onDestroyed: () => localStorage.setItem(SEEN_KEY, '1'),
  })
  d.drive()
  return d
}

Agent 步骤

  1. 给关键节点加 data-tour。
  2. 首登或帮助菜单触发 startCrmTour。
  3. 「重新观看」传 force=true。
  4. 自测:跳过、完成写入 localStorage、换页无残留遮罩。

不要做

  • 每次刷新强制全屏打断老用户。
  • 步骤超过 8 步且无分组(易疲劳)。

附加

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 提供基于 driver.js 的分步高亮新手引导实现方案,适用于新员工上手 CRM、新功能圈重点等明确场景
  • 具有实际工程价值和通用性,能有效提升用户上手效率
Trigger Precision85/100

Highlights

  • 触发词精准完整,覆盖多种变体,边界清晰
Structure and Standards80/100

Areas to improve

  • 缺少显式出口条件说明 Reported severity: Minor

    文档中缺少对引导完成后的状态或出口条件的显式说明

    Recommendation: 建议在 Agent 步骤或推荐实现部分补充说明引导完成后的状态处理

  • Missing referenced files Reported severity: Minor

    SKILL.md 中引用了 [README.md]、[reference.md]、[templates/usage.md],但未传入这些文件

    Recommendation: 请确保所有被引用的文件都包含在 Skill 包中,或移除无效引用

Highlights

  • Phase/步骤清晰,有端到端代码示例,frontmatter 完整
Execution Reliability88/100

Highlights

  • 工具来源明确,参数正确,覆盖主要异常,不可逆操作有确认机制
Evidence Verifiability (mean of the first four)82/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.