wavesurfer-visit-audio
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 "wavesurfer-visit-audio" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-f9650506d7a583b6d396a4917de2469da7ad3d5ec018b78378acc5a1f8a1e7f1. Verify the upstream source and version against https://skillhub.cn/skills/user_f1b049da/nqh20261476 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
Uses wavesurfer.js in the browser to display visit or call recording waveforms, supporting play, pause, and waveform-click seeking; suited for voice waveform visualization and recording playback.
Introduction source: third_party · user_f1b049da · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: wavesurfer-visit-audio
slug: nqh20261476
displayName: 语音波形
version: 1.0.0
summary: 用 WaveSurfer 展示拜访录音波形并支持播放定位。
license: MIT
description: 用 wavesurfer.js 在浏览器展示拜访/通话录音波形,支持播放、暂停与点击定位。当用户需要语音波形、WaveSurfer、拜访录音回放、音频可视化时使用。语音波形(WaveSurfer)
灵感:能力工具箱 audio-wave(pkg: wavesurfer.js)。
把拜访录音画成波形:可看、可听、可点到某一秒,方便复盘沟通要点。
何时使用
- CRM 拜访记录附录音回放
- 质检/培训时快速定位片段
- 需要轻量波形 UI,不上沉重编辑器
硬约束
- 依赖
wavesurfer.js;音频来自用户上传或已授权 URL(注意 CORS)。 - 提供播放/暂停/停;点击波形跳转;展示当前时间与总时长。
- 卸载组件时
destroy(),防泄漏。 - 尊重隐私:默认不自动外传录音;页面卸载可停播。
- 实现要点可标 小四原创。
实现要点(小四原创)
import WaveSurfer from 'wavesurfer.js'
// 小四原创:拜访录音波形
export function mountVisitWave(container: HTMLElement, url: string) {
const ws = WaveSurfer.create({
container,
url,
height: 64,
waveColor: '#94a3b8',
progressColor: '#2563eb',
cursorWidth: 1,
})
return {
playPause: () => ws.playPause(),
destroy: () => ws.destroy(),
getWs: () => ws,
}
}
Agent 步骤
- 安装
wavesurfer.js,封装mountVisitWave。 - 挂到拜访详情;自测播放与点击定位。
- 路由离开调用
destroy。
附加
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 针对CRM拜访录音场景提供波形可视化解决方案
- 支持播放/暂停/点击定位等核心交互功能
Highlights
- 触发词覆盖完整,明确指向语音波形可视化、拜访录音回放等场景
Areas to improve
-
引用文件缺失 Reported severity: Minor
SKILL.md 中引用了 README.md 和 templates/usage.md,但未在传入内容中提供
Recommendation: 建议补充相关引用文件或移除引用链接
Highlights
- 文档结构清晰,包含使用场景、约束条件、实现要点和操作步骤
- 提供了完整的TypeScript实现示例
Highlights
- 明确依赖 wavesurfer.js 并提供了正确的初始化配置
- 包含组件销毁机制防止内存泄漏
- 有隐私保护说明,不自动外传录音
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.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.