zfl-skill-trigger-audit

Scans all user-created skills' frontmatter trigger schema and produces a classification list, candidate scene-bridging mappings, frontmatter hygiene issues, and trigger-word synonym/duplicate detection (dedup). Uses only the standard library by default; strict YAML hygiene checks are an optional PyYAML dependency and will be explicitly skipped with a warning if not present.

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 "zfl-skill-trigger-audit" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-9faf45776839fb25a9be483da584ae5d57b55930db3f518b741be4762756700c. Verify the upstream source and version against https://skillhub.cn/skills/user_f1d11e73/zfl-skill-trigger-audit 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

Scans all user-created skills' frontmatter trigger schema and produces a classification list, candidate scene-bridging mappings, frontmatter hygiene issues, and trigger-word synonym/duplicate detection (dedup). Uses only the standard library by default; strict YAML hygiene checks are an optional PyYAML dependency and will be explicitly skipped with a warning if not present.

0 Downloads

Introduction source: third_party · user_f1d11e73 · 1.5.3 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

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter

name: zfl-skill-trigger-audit
slug: zfl-skill-trigger-audit
displayName: 技能触发模式审计
summary: 扫描用户全部自建技能 frontmatter 触发 schema,输出分类清单、场景桥接候选、frontmatter 卫生问题与触发词近义/重复检测(dedup)。标准库零依赖;严格 YAML 卫生检查可选依赖 PyYAML(缺则显式跳过并告警)
version: "1.5.3"
description: >-
  扫描全部自建技能的 frontmatter 触发机制,自动分类(复合式/领域触发/纯触发词/纯场景/缺字段),
  识别可升级为复合式的桥接候选,检测 YAML 合法性与脏内容,输出触发词去重建议。
  支持 Markdown / JSON 输出,零依赖可独立运行。

技能触发模式审计

用途

盘点用户全部自建技能的「触发机制」,输出三类产物:

  1. 触发 schema 分类清单 —— 复合式 / 领域触发 / 仅触发词 / 仅 description / 无字段。
  2. 场景桥接候选 —— 哪些「仅触发词 / 仅 description」技能该升级为复合式以接入原生场景。
  3. frontmatter 卫生问题 —— 严格 YAML 不通过、frontmatter 内混入脏内容。
  4. 触发词去重 —— 精确重复 / 词序颠倒自动检测,近义词簇标建议人工复核。

详细调用方式、技术方法论、评分模型、部署说明见 references/implementation-details.md。

触发 schema 分类定义

形态 判定 含义
复合式 COMPOSITE 有触发词 且 有场景字段 主流形态
领域触发 DOMAIN_TRIGGER type: domain 或含 enforcement/priority SkillHub 层软触发
仅触发词 TRIGGER_ONLY 仅触发词字段 老式硬关键词,缺场景语义
仅场景 SCENE_ONLY 仅有场景字段 有场景语义但缺显式触发词
仅 description DESC_ONLY 只有 description dispatcher 靠语义匹配
无字段 NONE 连 description 都没有 禁用态 / 工作流文档

与其他技能的关系

  • 上游:本技能只审计,不修改。修改由使用者本人或 zfl-skill-creator / zfl-skill-factory 完成。
  • 互补:zfl-skill-quality-checker 做整体质量评分;本技能聚焦触发 schema 与 frontmatter 卫生。
  • 下游消费:zfl-audit-charts 可将本技能 JSON 输出聚合为 HTML 看板。

自测

# 断言内置 samples/ 的分类与卫生契约
python tests/smoke_test.py
# 人工核对样例报告
python scripts/scan_trigger_schemas.py --demo

三件套:scripts/samples/(6 个固化样例)+ --demo(隔离扫描)+ smoke_test.py(断言契约)。

Current listing version

1.5.3

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 提供对自建技能触发机制的全面审计,包括分类、桥接候选、卫生检查、去重检测
  • 属于开发者工具链中的高频刚需,显著提升技能管理效率
Trigger Precision88/100

Highlights

  • description 明确描述了功能范围,触发词覆盖合理,边界清晰
Structure and Standards78/100

Areas to improve

  • 缺少 When to Use 章节 Reported severity: Minor

    文档结构清晰,但缺少明确的 When to Use 章节

    Recommendation: 建议补充 When to Use 章节,明确说明何时使用此技能

Highlights

  • 文档结构清晰,包含用途、分类定义、与其他技能关系、自测说明
  • frontmatter 完整,有端到端示例(自测命令)
Execution Reliability90/100

Highlights

  • 工具来源明确(标准库零依赖,PyYAML 可选),参数正确
  • 覆盖主要异常(缺 PyYAML 显式跳过并告警),有自测机制
Evidence Verifiability (mean of the first four)87/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.

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.