Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计提醒

rive-script-builderrive 脚本生成器

Agent Skill

rive-script-builder 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

349

周安装

14

GitHub Stars

2

下载量

113
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:rive-script-builder(rive 脚本生成器)
来源仓库:https://github.com/sanqiushili/rive_skills
仓库路径:skills/rive-script-builder
安装命令:
npx skills add https://github.com/sanqiushili/rive_skills --skill rive-script-builder
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/sanqiushili/rive_skills --skill rive-script-builder

简介

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 适用于信息检索、关键词搜索和结果筛选场景。
  • 通过 GitHub 仓库安装,使用 npx skills add 命令添加指定技能。
  • 需确认权限范围和维护状态,注意是否会触发联网、命令执行或文件读写操作。
  • rive-script-builder 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Rive Script Builder

Build Rive Luau scripts with a strict clarification-first workflow.

Knowledge policy:

  • Prefer Context7 MCP lookup first (library: /rive-app/rive-docs).
  • If Context7 is unavailable, fall back to sync_rive_docs.py online/cache/offline chain.
  • Never invent APIs, lifecycle methods, or editor menus.

Non-Negotiable Contract

  1. Parse user goal and recommend protocol(s) first.
  2. Ask only high-impact unresolved questions.
  3. Provide a "pending implementation plan" before writing code.
  4. Wait for explicit approval (for example: "同意", "开始写", "approved", "go ahead").
  5. After approval, output:
  • Luau script code
  • Rive editor wiring steps
  • Debug and test suggestions
  1. Follow the user's language automatically.
  2. If approval is missing, do not output final script code.

Workflow

Phase 0: Live Docs Lookup (Default)

Default lookup order:

  1. Context7 MCP (primary)
  2. scripts/sync_rive_docs.py (secondary fallback)

Context7 MCP primary call:

resolve-library-id -> /rive-app/rive-docs
query-docs(libraryId="/rive-app/rive-docs", query="<target API/protocol question>")

Query templates:

  • docs/context7-query-recipes.md

Fallback lookup commands:

python3 "$CODEX_HOME/skills/rive-script-builder/scripts/sync_rive_docs.py" search --source auto --query "PathEffect"
python3 "$CODEX_HOME/skills/rive-script-builder/scripts/sync_rive_docs.py" show --source auto --path scripting/protocols/path-effect-scripts.mdx

Optional cache prewarm (recommended, not required):

python3 "$CODEX_HOME/skills/rive-script-builder/scripts/sync_rive_docs.py" sync

auto fallback chain:

  • search: online -> cache -> offline
  • show: online -> cache

If fallback happens, keep the reason explicit in output. See docs/live-docs-workflow.md. Offline knowledge includes full upstream mirror at docs/source-scripting/.

Phase 1: Scope and Route

  • Identify target protocol using docs/protocol-router.md.
  • Use docs/api-signature-cheatsheet.md to lock exact method signatures.
  • If exact API details are ambiguous, check matching files in docs/source-scripting/api-reference/.
  • For data-driven scripts, align with docs/data-binding-deep-dive.md and docs/script-inputs-deep-dive.md.
  • If multiple protocols are needed, propose the smallest viable combination and explain why.
  • State assumptions explicitly.

Phase 2: Clarify Uncertainty

  • Ask only questions that change implementation decisions.
  • Use docs/clarification-checklists.md.
  • For interaction-heavy requests, use docs/pointer-events-playbook.md to narrow unresolved event-routing details.
  • Skip questions already answered by user context.

Phase 3: Present Pending Plan

Present this structure before coding:

  • Goal understanding
  • Recommended protocol(s) and rationale
  • Assumptions and constraints
  • Implementation outline (functions, inputs, data flow)
  • Rive wiring steps
  • Debug and test plan
  • Explicit confirmation request

If user does not approve, keep refining plan only.

Phase 4: Implement After Approval

  • Generate minimal, runnable, typed Luau script first.
  • Extend with requested behavior only.
  • Reuse templates from references/scaffold-templates.md.
  • For common tasks, start from references/case-recipes.md and adapt.
  • Keep protocol lifecycle contracts valid.

Phase 5: Deliver With Integration Guidance

Always include:

  • Final Luau code
  • Editor wiring instructions (where to attach, bind, and run)
  • Debug checklist (Problems and Console)
  • Test suggestions (especially Test scripts for Util logic)

Use docs/editor-wiring-recipes.md and docs/debug-test-playbook.md. Use docs/path-api-performance-notes.md for path-heavy scripts. Use docs/quality-gates.md as final quality checklist.

Protocol and API Guardrails

  • Never invent lifecycle functions, interfaces, or editor paths.
  • Keep TransitionCondition.evaluate fast and side-effect free.
  • Use ListenerAction.perform for side effects.
  • For PathEffect, keep update deterministic; use advance only for time-based behavior.
  • Remember: scripts cannot set normal input values; use context or view model access for writable data.
  • Remove long-lived listeners when no longer needed to avoid leaks.
  • Check docs/common-errors-and-fixes.md before final handoff.
  • If required details are missing, ask before coding.

Output Format

Before approval:

  • Understanding
  • Open questions
  • Pending plan
  • Confirmation prompt

After approval:

  • Script code
  • Wiring steps
  • Debug plan
  • Test plan

Docs and References Map

  • Live docs sync and fallback rules: docs/live-docs-workflow.md
  • Cross-platform publishing guidance: docs/publish-cross-platform.md
  • Protocol routing and method contracts: docs/protocol-router.md
  • Signature and API quick reference: docs/api-signature-cheatsheet.md
  • Clarification questions by protocol: docs/clarification-checklists.md
  • Data binding deep dive: docs/data-binding-deep-dive.md
  • Script inputs deep dive: docs/script-inputs-deep-dive.md
  • Pointer events playbook: docs/pointer-events-playbook.md
  • Path API and performance notes: docs/path-api-performance-notes.md
  • Final quality gates: docs/quality-gates.md
  • Context7 query templates: docs/context7-query-recipes.md
  • Full mirror index: docs/source-scripting-index.md
  • Full upstream mirror folder: docs/source-scripting/
  • Editor attach and binding steps: docs/editor-wiring-recipes.md
  • Debug and test workflow: docs/debug-test-playbook.md
  • Common errors and fixes: docs/common-errors-and-fixes.md
  • Minimal Luau templates: references/scaffold-templates.md
  • Practical case recipes: references/case-recipes.md

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.42%
按下载量换算41

Claude

29.99%
按下载量换算34

Cursor

19.99%
按下载量换算23

Gemini CLI

8.74%
按下载量换算10

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills