fix: add trigger phrases to skill descriptions for auto-matching#5
Merged
fix: add trigger phrases to skill descriptions for auto-matching#5
Conversation
- Add trigger phrases to all yida-* skill descriptions - Skills now auto-trigger based on user queries like '帮我做一个考勤应用' - Reference: OpenClaw Issue #43410, Anthropic Claude Code Skill Guide Closes #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
修复技能无法自动触发的问题。所有 yida-* 技能的 description 现在包含触发短语,AI 可以根据用户对话自动匹配技能。
Problem
通过 ClawHub 安装技能后,直接对话无法命中技能,必须显式告诉 OpenClaw "使用 yida-app 技能" 才能触发。
例如:
Root Cause
OpenClaw 使用 description-based matching:
关键:description 必须包含触发短语(trigger phrases),否则 AI 不知道何时使用该技能。
Solution
在所有 yida-* 技能的 description 中添加触发短语,参考官方 skill-creator 的写法:
Changes
修改了以下 9 个技能的 SKILL.md:
Expected Effect
修复后,用户说以下话应该能自动触发对应技能:
References
Related Issue
Closes #4