协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
skill-router【开发与工程】This skill should be used when the user has a vague or cross-domain request and asks "which skill should I use", "is there a skill for this", "find the right skill", or "route this to the best skill" — it matches an intent against the whole skills library and recommends the best-fit skill(s).
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
This library has hundreds of skills across sixteen domains. A user rarely knows the exact skill name — they know their intent ("I need to figure out what to build next quarter," "I have to respond to a data breach"). The router closes that gap: it matches a free-text request against every skill's description and tags, ranks the candidates, and recommends the best fit — so the right skill activates on the first try instead of the user grepping folders or guessing.
It is the user-invoked orchestrator in the two-tier model: it never does the work itself, it routes to the skill (the discipline) that does. Treat its output as a recommendation, then activate the chosen skill.
Before routing, confirm these inputs. If any is unknown or vague, ASK — do not assume:
Stop rule: if the request is already specific, skip the questions and route directly.
# Recommend the best-fit skills for an intent
python scripts/route_skill.py "plan a go-to-market for a new B2B feature"
# Narrow to a domain, or widen the result set
python scripts/route_skill.py "respond to a data breach" --top 5
python scripts/route_skill.py "forecast revenue" --domain finance --format json
route_skill.py "<the user's goal>" against the generated catalog (cli/skills.json).The script scores each skill by term overlap between the query and the skill's
name, tags, domain, and description, weighting exact name/tag hits highest.
It reads the catalog from cli/skills.json (regenerated by scripts/build_manifest.py),
so it always reflects the current library without hardcoding any skill list.
In Scope: Matching a free-text intent against the skills catalog and recommending the best-fit skill(s); disambiguating similar skills; confirming whether a skill exists for a goal.
Out of Scope: Executing the matched skill's workflow (that's the target skill's job); multi-skill workflow orchestration across a sequence (see standards/ orchestration protocol and agents/personas/); installing or extracting skills.
Dependency note: the router reads the repo-level catalog cli/skills.json. It is a navigation aid for use within the library, not a standalone single-skill download — if the catalog is absent, point the script at it with --catalog <path> or regenerate it with python scripts/build_manifest.py.
scripts/route_skill.py — intent-to-skill scorer over cli/skills.json.