jsp20261891
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 "jsp20261891" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-054eacdb440c1ebb26063c83188f68366193b72f01c0d3a27fb9dcfbe688834c. Verify the upstream source and version against https://skillhub.cn/skills/user_f1b049da/jsp20261891 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
Plays a short, cute cat-meow sound on successful operations; can be muted and does not loop or repeatedly disturb.
Introduction source: third_party · user_f1b049da · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: jsp20261891
slug: jsp20261891
displayName: 猫叫声提示
version: 1.0.0
summary: 在成功操作时播放一声短促可爱的猫叫提示音,可静音,不循环打扰。
license: MIT
description: 在成功操作时播放一声短促可爱的猫叫提示音,可静音,不循环打扰。猫叫声提示
用 Web Audio 合成或短音频文件,播放一声「喵」作为成功/轻松反馈。比礼花更安静,比静默更有存在感。
何时使用
- 用户要「猫叫」「喵一声」「可爱提示音」
- 成功保存、抽签完成、打卡成功等轻反馈
硬约束
- 提供全局静音开关;尊重「减少动态效果/声音」类偏好(若页面可得)。
- 短促、单次;禁止循环或长鸣。
- 自动播放被拦截时,提示用户需先有一次点击手势,或降级为可见文案「喵~」。
- 失败业务点不要播喜庆猫叫。
核心实现(Web Audio 合成示意)
let muted = false;
export function setCatMeowMuted(v: boolean) { muted = v; }
/** 用振荡器拼一段短促下滑音,近似「喵」;也可用 Howl 播真实采样 */
export async function playCatMeow(): Promise<{ ok: boolean; message: string }> {
if (muted) return { ok: true, message: '已静音,跳过猫叫' };
try {
const ctx = new (window.AudioContext || (window as any).webkitAudioContext)();
if (ctx.state === 'suspended') await ctx.resume();
const o = ctx.createOscillator();
const g = ctx.createGain();
o.type = 'sine';
o.frequency.setValueAtTime(880, ctx.currentTime);
o.frequency.exponentialRampToValueAtTime(420, ctx.currentTime + 0.18);
g.gain.setValueAtTime(0.0001, ctx.currentTime);
g.gain.exponentialRampToValueAtTime(0.2, ctx.currentTime + 0.02);
g.gain.exponentialRampToValueAtTime(0.0001, ctx.currentTime + 0.22);
o.connect(g); g.connect(ctx.destination);
o.start();
o.stop(ctx.currentTime + 0.24);
return { ok: true, message: '喵~' };
} catch {
return { ok: false, message: '无法播放(需用户手势后重试)' };
}
}
可选:howler + 真实猫叫 wav/mp3(注意版权,优先自制/授权素材)。
验收
- 调用后约 0.2s 内有可闻短音(未静音时)。
- 静音后不再出声但仍返回成功提示。
- 不循环;连续点击可重叠但单次很短。
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供轻量级趣味反馈,满足用户对可爱提示音的个性化需求
- 明确区分成功/失败场景,避免误用
Highlights
- 触发词覆盖完整,包含多种用户表达变体
- 边界清晰,不易与其他音效类 Skill 混淆
Highlights
- 结构清晰,包含使用场景、约束、实现和验收标准
- 提供完整可运行的 TypeScript 代码示例
Highlights
- 异常处理完善,覆盖静音、自动播放拦截等场景
- 提供降级方案确保用户体验一致性
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.
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.