design-an-interface

仓库创建 2026年7月6日最近提交 22 天前SkillHot 收录 22 天前
▸ 精选理由

实践“设计两次”理念,适合需要探索多种接口形态的设计评审。

这个 Skill 做什么

为模块生成多套截然不同的接口设计并进行比较与评估。

先把需求捋清楚,再并行生成几套风格截然不同的接口方案(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".

开发编程接口设计方案对比并行思考API设计通用
0
Stars
0
Forks
38
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/K3639284/skills/main/skills/deprecated/design-an-interface/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/K3639284/skills/main/skills/deprecated/design-an-interface/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 公开信息 · 原文版权归作者所有