cursor

principle-exhaust-the-design-space

该技能针对没有代码库先例的 novel UI 交互或架构决策,构建 2-3 个备选方案原型,side by side 比较后再落地实施。适用于多种可行方案存在且最佳选择不明确的场景。

cursor 13,690 1,354 更新于 2个月前
GitHub

安装

npx skillscat add cursor/plugins/principle-exhaust-the-design-space

通过 SkillsCat registry 安装。

技能简介

该技能针对没有代码库先例的 novel UI 交互或架构决策,构建 2-3 个备选方案原型,side by side 比较后再落地实施。适用于多种可行方案存在且最佳选择不明确的场景。

SKILL.md

Exhaust the Design Space

When a novel interaction or architectural decision has no established precedent, explore several concrete alternatives before implementation. Building the wrong thing costs more than exploring three options.

The rule. When the right answer is not obvious, build 2-3 competing prototypes or sketches. Compare them side by side. Only then commit. Design it twice is this rule by another name. A second flavor of the first shape does not count.

When it applies:

  • Novel UI interactions (no prior art in the codebase)
  • Architectural choices with multiple viable approaches
  • Product design decisions where user experience depends on feel, not logic

When it doesn't:

  • Mechanical implementation where the pattern is established
  • Bug fixes or refactors with a clear target state
  • Changes where constraints dictate a single viable approach

分类