api-shape-explorer
仓库创建 2025年6月22日最近提交 1 天前SkillHot 收录 21 天前
▸ 精选理由
基于“Design It Twice”原则快速产出多备选接口形态,利于架构抉择。
这个 Skill 做什么
并行生成多种截然不同的 API 设计方案并进行比较与评估。
并行生成多套风格迥异的 API 接口设计方案,并对比各方案的优缺点和适用场景,帮助选出更稳妥的接口形态。适合在设计模块接口、做架构评审或想“多方案比较”时使用。特点是通过多路线并行探索,避免被第一想法锁定并提高可维护性。
▸ 展开 SKILL.md 英文原文
Generate multiple radically different interface designs for a module using parallel sub-agents. Use when user wants to design an API, explore interface options, compare module shapes, or mentions "design it twice".
4.4k
Stars
448
Forks
40
仓库内 Skill
+70
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/zebbern/claude-code-guide/main/skills/api-shape-explorer/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/zebbern/claude-code-guide/main/skills/api-shape-explorer/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Design an Interface Based on "Design It Twice" from "A Philosophy of Software Design": your first idea is unlikely to be the best. Generate multiple radically different designs, then compare. ## Workflow ### 1. Gather Requirements Before designing, understand: - [ ] What problem does this module solve? - [ ] Who are the callers? (other modules, external users, tests) - [ ] What are the key operations? - [ ] Any constraints? (performance, compatibility, existing patterns) - [ ] What should be hidden inside vs exposed? Ask: "What does this module need to do? Who will use it?" ### 2. Generate Designs (Parallel Sub-Agents) Spawn 3+ sub-agents simultaneously using Task tool. Each must p
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有