aboutsummaryrefslogtreecommitdiff
path: root/claude-rules/ui-prototyping.md
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-13 08:16:04 -0500
committerCraig Jennings <c@cjennings.net>2026-07-13 08:16:04 -0500
commitcac1aa11d1d3e75e751038965f88d40ee448b875 (patch)
treee20efc07b8045216a682365d9006824dd6b533fa /claude-rules/ui-prototyping.md
parent828f70a788279e0019548385ccbce389c0313f4b (diff)
downloadrulesets-cac1aa11d1d3e75e751038965f88d40ee448b875.tar.gz
rulesets-cac1aa11d1d3e75e751038965f88d40ee448b875.zip
feat(rules): add SVG-first rendering guidance for Emacs app UIs
emacs.md gains an SVG Rendering section: default to svg.el for Emacs app UIs with real visual structure, prototype in HTML first, and stay inside the librsvg-safe constraint sheet from jotto's Emacs 30.2 pgtk spike. ui-prototyping.md points Emacs UI prototypes at the svg.el port target. jotto sent the proposal as inbox handoff 2026-07-11-0248.
Diffstat (limited to 'claude-rules/ui-prototyping.md')
-rw-r--r--claude-rules/ui-prototyping.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/claude-rules/ui-prototyping.md b/claude-rules/ui-prototyping.md
index c58c199..c453258 100644
--- a/claude-rules/ui-prototyping.md
+++ b/claude-rules/ui-prototyping.md
@@ -41,6 +41,11 @@ shared engine, in the project's design language. Pick a direction, then iterate
that one across numbered passes to the final. Save each meaningful pass as its
own numbered prototype so the design history is walkable.
+For an Emacs app UI, the production port target is `svg.el` — browser SVG and
+librsvg share primitives, so the winning prototype ports near-1:1. Keep every
+prototype within the librsvg-safe constraint sheet in `emacs.md` (SVG Rendering
+section) so the port stays mechanical.
+
### 4. Full working prototypes, not mockups
The prototypes must be functional: real state, real controls, real behavior, so