summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.changeset/design-it-twice-check-facts.md5
-rw-r--r--skills/engineering/codebase-design/DESIGN-IT-TWICE.md2
2 files changed, 7 insertions, 0 deletions
diff --git a/.changeset/design-it-twice-check-facts.md b/.changeset/design-it-twice-check-facts.md
new file mode 100644
index 0000000..3d1aaf1
--- /dev/null
+++ b/.changeset/design-it-twice-check-facts.md
@@ -0,0 +1,5 @@
+---
+"mattpocock-skills": patch
+---
+
+`codebase-design`'s design-it-twice now checks each design's factual claims against the brief and the source before comparing, so a design built on a false fact is flagged as an error.
diff --git a/skills/engineering/codebase-design/DESIGN-IT-TWICE.md b/skills/engineering/codebase-design/DESIGN-IT-TWICE.md
index aebdc9f..e8e7ce2 100644
--- a/skills/engineering/codebase-design/DESIGN-IT-TWICE.md
+++ b/skills/engineering/codebase-design/DESIGN-IT-TWICE.md
@@ -39,6 +39,8 @@ Each sub-agent outputs:
### 3. Present and compare
+Before comparing, check each design's factual claims (library behaviour, call sites, guards) against the brief and the source. A claim that contradicts them is an error: say so, and fix or drop that design, rather than weighing it as a design difference.
+
Present designs sequentially so the user can absorb each one, then compare them in prose. Contrast by **depth** (leverage at the interface), **locality** (where change concentrates), and **seam placement**.
After comparing, give your own recommendation: which design you think is strongest and why. If elements from different designs would combine well, propose a hybrid. Be opinionated: the user wants a strong read, not a menu.