api
無料RESTful API design patterns and best practices. Use when creating endpoints, designing APIs, or implementing routes.
日本語の概要は準備中です。原文の説明を表示しています。
Research-before-coding workflow: systematically search existing solutions before custom implementation. Use when introducing new libraries, tools, or solving unfamiliar problems.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
编码前系统化搜索现有方案,做出 Adopt/Extend/Compose/Build 决策。
核心原则:不重复造轮子,但也不盲目引入依赖。
/cc-best:lead 技术方案设计阶段1. 并行搜索(限时 5-10 分钟)
├─ 包管理器(npm/PyPI/Maven 等,根据项目技术栈)
├─ MCP 服务器(如适用)
├─ GitHub/社区方案
└─ 官方文档/API 参考
2. 方案评估
├─ 功能匹配度
├─ 维护活跃度(最近提交、issue 响应)
├─ 许可证兼容性
└─ 依赖复杂度
3. 决策 + 记录
├─ 输出 Adopt/Extend/Compose/Build 决策
├─ 记录到 progress.md 决策表
└─ 标注置信度
| 条件 | 决策 | 行动 |
|---|---|---|
| 精确匹配 + 活跃维护 + 兼容许可 | 采用 (Adopt) | 直接安装使用 |
| 部分匹配 + 良好基础 | 扩展 (Extend) | 安装 + 薄包装器适配 |
| 多个弱匹配 | 组合 (Compose) | 组合 2-3 个小包 |
| 无合适方案 | 构建 (Build) | 自研,但带着搜索知识 |
- [ ] 功能是否满足核心需求(≥80%)
- [ ] 最近 6 个月内有提交
- [ ] 许可证与项目兼容(MIT/Apache/ISC 优先)
- [ ] 依赖数量合理(<20 direct deps)
- [ ] 有测试覆盖和文档
- [ ] 无已知安全漏洞
在 /cc-best:lead 工作流中,技术栈选型前自动触发:
PM(需求) → Lead(search-first → 方案设计) → Dev(实现)
| 场景 | 搜索深度 | 时间上限 |
|---|---|---|
| 已知成熟方案 | 浅搜索 | 2 分钟 |
| 常见功能需求 | 标准搜索 | 5 分钟 |
| 创新/罕见需求 | 深度搜索 | 10 分钟 |
### 搜索决策: [功能描述]
**搜索范围**: [npm/GitHub/WebSearch]
**候选方案**:
1. [方案A] - [优劣概述]
2. [方案B] - [优劣概述]
**决策**: [Adopt/Extend/Compose/Build] [方案名]
**理由**: [1-2 句]
**置信度**: [高/中/低]
记住: 搜索不是目的,做出有依据的决策才是目的。5 分钟的搜索可以避免 5 天的重复造轮子。
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
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 decisions.
日本語の概要は準備中です。原文の説明を表示しています。
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.
日本語の概要は準備中です。原文の説明を表示しています。