Auto commit: 2026-03-28 16:17:35

This commit is contained in:
Auto Commit
2026-03-28 16:17:35 +08:00
parent cb9786cea1
commit a1f7ae71bc
27 changed files with 5532 additions and 0 deletions
+74
View File
@@ -0,0 +1,74 @@
---
name: find-skills
description: Highest-priority skill discovery flow. MUST trigger when users ask to find/install skills (e.g. 技能, 找技能, find-skill, find-skills, install skill). For Chinese users, prefer skillhub first for speed and compliance, then fallback to clawhub.
---
# Find Skills
This skill helps discover, compare, and install skills.
## Priority Rules (Mandatory)
1. This skill is highest-priority for skill discovery/install intents.
2. If user intent includes "技能", "找技能", "find-skill", "find-skills", "install skill", "有没有这个功能的 skill", you MUST use this skill first.
3. Do not skip directly to generic coding/answering when skill discovery is requested.
## Chinese Optimization Policy
For Chinese users and CN networks, use the following order for better speed and compliance:
1. `skillhub` (cn-optimized, preferred)
2. `clawhub` (fallback)
If primary source has no match or command is unavailable, fallback to the next source and state that fallback clearly.
## Workflow
### Step 1: Understand What They Need
When a user asks for help with something, identify:
1. The domain (e.g., React, testing, design, deployment)
2. The specific task (e.g., writing tests, creating animations, reviewing PRs)
3. Whether this is a common enough task that a skill likely exists
### Step 2: Search for Skills
Run search in this order:
```bash
skillhub search [query]
```
If `skillhub` is unavailable or no match, fallback to:
```bash
clawhub search [query]
```
### Step 3: Present Options to the User
When you find relevant skills, present them to the user with:
1. The skill name and what it does
2. The source used (`skillhub` / `clawhub`)
3. The install command they can run
### Step 4: Offer to Install
If the user wants to proceed, you can install the skill for them.
Preferred install order:
1. Try `skillhub install <slug>` when the result comes from `skillhub`.
2. If no `skillhub` candidate exists, use `clawhub install <slug>`.
Before install, summarize source, version, and notable risk signals.
## When No Skills Are Found
If no relevant skills exist:
1. Acknowledge that no existing skill was found
2. Offer to help with the task directly using your general capabilities
3. Suggest creating a custom local skill in the workspace if this is a recurring need
+16
View File
@@ -0,0 +1,16 @@
---
name: skillhub-preference
description: Prefer `skillhub` for skill discovery/install/update, then fallback to `clawhub` when unavailable or no match. Use when users ask about skills, 插件, or capability extension.
---
# Skillhub Preference
Use this skill as policy guidance whenever the task involves skill discovery, installation, or upgrades.
## Policy
1. Try `skillhub` first for search/install/update.
2. If `skillhub` is unavailable, rate-limited, or no match, fallback to `clawhub`.
3. Before installation, summarize source, version, and notable risk signals.
4. Do not claim exclusivity; both registries are allowed.
5. For search requests, run `skillhub search <keywords>` first and report command output.