staruhub/ClaudeSkills / skills/Geek-skills-xuefeng-method
xuefeng-method
Verified雪峰式AI-Native产品开发方法论。适用于:(1) 用户行为开放、不可穷举的AI-native产品(AI日历、AI助手、AI推荐、对话式产品等),(2) 强模型依赖型场景,AI驱动核心决策而非仅辅助,(3) 多专精Agent架构设计与分工,(4) 上线后快速校准、行为审计与漂移检测,(5) 模型选择和智能路由策略,(6) 概率性输出的质量评估。触发场景包括"AI-native产品怎么做"、"用户行为不可预测怎么办"、"多agent怎么分工"、"模型漂移怎么处理"、"校准到95%太难了"、"唯快不破"、"怎么选模型"、"agent并行分工"、"AI产品上线后怎么迭代"。注意:如果产品是场景明确、边界可定义的+AI类型,请改用 keqian-method skill。即使用户没有明确说"AI-native",但在讨论AI驱动决策、用户行为不可预测、概率性输出等话题时也应触发。
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 10.9 KB |
| evals/routing-evals.json | config | 1.8 KB |
| references/behavioral-clusters.md | markdown | 3.4 KB |
| references/drift-detection.md | markdown | 4.4 KB |
| references/model-routing.md | markdown | 1.1 KB |
| references/operating-playbook.md | markdown | 2.1 KB |
references/model-routing.md
View on GitHub# 模型选择与智能路由
## 模型路由决策树
```
任务类型?
├── 纯代码编写 → codex系列
├── 代码+推理混合 → 通用旗舰模型(GPT-5.x / Claude Opus)
├── 自然语言理解/生成 → 通用模型
├── 多模态 → 专用多模态模型(如GLM-5V-Turbo)
└── 简单执行 → 轻量模型(省成本)
```
## Dumb Zone 防护
模型在长上下文中会"降智",不同模型的阈值不同:
| 模型类别 | 进入 dumb zone 的阈值 | 应对策略 |
|---------|----------------------|----------|
| 国际Top2(GPT/Gemini) | 上下文窗口*0.7~0.8 | 0.7时compact |
| 国模(GLM-5.1等) | 上下文窗口*0.4~0.5 | 0.5时compact |
铁律:达到阈值就 `/compact`,不要等到降智再补救。
## 智能路由架构
```
用户请求 → 复杂度评估器
↓
┌─ 简单请求 → 轻量模型(低成本)
├─ 中等请求 → 通用模型(平衡)
└─ 复杂请求 → 旗舰模型(高质量)
```
大部分请求用轻量模型,少数复杂请求用旗舰模型,总成本可控。
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |