api
RESTful API design patterns and best practices. Use when creating endpoints, designing APIs, or implementing routes.
Model selection strategy and routing. Use when choosing between models for different task types, subagent configurations, or optimizing token cost vs quality tradeoffs.
$ npx -y skills add xiaobei930/cc-best --skill model --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/modelContext preview
The summary Claude sees to decide when to auto-load this skill.
Model selection strategy and routing. Use when choosing between models for different task types, subagent configurations, or optimizing token cost vs quality tradeoffs.
name: model description: "Model selection strategy and routing. Use when choosing between models for different task types, subagent configurations, or optimizing token cost vs quality tradeoffs." allowed-tools: Read, Grep, Glob
本技能提供任务类型到模型的推荐映射,帮助 Claude 在不同场景下选择合适的模型。
1. **探索用 Haiku** — 快速、低成本,适合大量 Glob/Grep/Read 操作 2. **实现用 Sonnet** — 平衡质量和速度,适合编码和测试 3. **决策用 Opus** — 深度思考,适合架构设计和安全审查
当 Claude 遇到以下场景时,会自动参考本技能:
任务到达 ──→ 评估复杂度 ──→ 查询 routing-matrix ──→ 选择模型
│
├─ 简单(搜索/读取)→ haiku
├─ 中等(编码/测试)→ sonnet
└─ 复杂(架构/安全)→ opus1. **成本敏感场景** — 子代理探索任务优先 haiku,节省 token 2. **质量敏感场景** — 安全审查、架构决策必须用 opus 3. **混合场景** — 同一工作流中可对不同阶段使用不同模型 4. **用户偏好** — 尊重 `/cc-best:model` 设定的全局策略
---
> **记住**:模型选择的目标是用最低成本达到足够的质量。不是所有任务都需要最强模型,也不是所有任务都能用最快模型。
Role-Driven Development Workflow for Claude Code Transform Claude into a complete development team. From product requirements to code review — one plugin, full workflow. Quick Start • Features • Workflow • Commands • FAQ
Repo: xiaobei930/cc-best
RESTful API design patterns and best practices. Use when creating endpoints, designing APIs, or implementing routes.
Architecture design skill: ADR records, system design checklists, scalability assessment, architecture patterns. Use for complex system design and architecture…
Backend development patterns for services, error handling, logging, caching. Use when building backend services, APIs, or microservices.
Strategic compaction skill: suggests context compression at logical breakpoints. Use to suggest compaction at logical intervals during development sessions.
Database design, query optimization, migrations, and indexing. Use when designing schemas, writing queries, or managing migrations.
Systematic debugging methods, log analysis, and performance diagnostics. Use when debugging issues, analyzing errors, or troubleshooting incidents.