knowledge: frontend visual-design ingest — anti-slop methodology + HTML-in-Canvas (new design category) - #120
Merged
Conversation
…ML-in-Canvas (new design category) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TfnWBYHtT5rh4VhoTSRyZq
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TfnWBYHtT5rh4VhoTSRyZq
choiyounggi
force-pushed
the
knowledge/frontend-design-ingest
branch
from
August 20, 2026 11:40
e941916 to
0f858f3
Compare
choiyounggi
added a commit
that referenced
this pull request
Aug 20, 2026
…ML-in-Canvas (new design category) (#120) * knowledge: frontend visual-design ingest — anti-slop methodology + HTML-in-Canvas (new design category) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TfnWBYHtT5rh4VhoTSRyZq * ci: retrigger checks Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TfnWBYHtT5rh4VhoTSRyZq --------- Co-authored-by: Younggi Choi <74581798+choiyounggi@users.noreply.github.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Knowledge ingest — frontend visual design (2 new pages, new
frontend/designcategory)User-directed ingest (2026-08-20 session): the personal knowledge base (
~/llm-wiki) is beingretired; its design-methodology knowledge moves into the plugin wiki so every session and
worker consuming dev-loop routes to it. 2 new pages, 1 new category (
frontend/design),frontend/index.mdrouting updated,log.mdappended.Verified best-practice
1.
frontend/design/anti-slop-visual-design→field-testedClaim: generated UI reads as "AI-made" primarily through structural repetition
(shared hero → 3-feature-grid → CTA rhythm, genre-blind nav/footer shapes), not color
choice — so structure decisions must precede visual styling, and colors/fonts must flow
through locked
:roottokens (OKLCH, one accent ≤3% of viewport, no pure#000/#fff).Includes the named-tells table (gradient heroes, equal 3-column icon grids, 100vh centered
heroes, redrawn browser/phone chrome, lazy-loaded LCP, eyebrow-label decoration, fabricated
metrics) with fixes, the 8-state interactive floor, and the responsive hard floor
(320/375/414/768px, one-line clickable text,
minmax(0, 1fr)image tracks).How verified / provenance: distilled this session from the locally installed hallmark
skill v1.1.0 (anti-AI-slop design skill — SKILL.md plus its anti-patterns and color
references read in full), which itself encodes Anthropic's frontend-design skill, the
Claude cookbook on frontend aesthetics, and the 2026 "tactile rebellion" consensus. Rated
field-tested, notverified: the rules are a curated practice consensus applied in realbuilds, not mechanism claims reproducible against a spec. The one mechanism-shaped claim
carried over (lazy-loaded LCP ≈ 2× worse p75 paint) is kept qualitative ("roughly doubles").
2.
frontend/design/html-in-canvas→verifiedClaim: the WICG HTML-in-Canvas draft lets real HTML render as live canvas pixels while
staying interactive in the DOM —
<canvas layoutsubtree>opts children into layout and hittesting;
drawElementImage(2d) /texElementImage2D(WebGL) /copyElementImageToTexture(WebGPU) paint the element; a
paintevent fires on embedded-HTML changes; and thetransform returned by
drawElementImagemust be applied toelement.style.transformorclicks land where the element is not. Progressive-enhancement-only: draft API, Chromium
behind
chrome://flags/#canvas-draw-elementsince Chrome 138 (Dec 2025), Origin Trial sinceChrome 148 (May 2026).
How verified: API surface (all four primitives, the opt-in attribute's
stacking-context/containment effects, the returned-transform contract) and trial status
checked this session against the WICG explainer repo and the blink-dev Intent-to-Experiment
thread; effect patterns cross-checked against the Codrops walkthrough. The originating
source (a third-party video describing the API as "Canary flag only") was corrected
during verification — the feature has since advanced to an Origin Trial; the page carries
the verified newer status.
Sources checked (opened this session): github.com/WICG/html-in-canvas,
groups.google.com/a/chromium.org/g/blink-dev/c/t_nGEmJ_v4s,
tympanus.net/codrops/2026/05/13/exploring-the-html-in-canvas-proposal/.
Existing-layer check
Pages read: frontend-structure-component-composition, frontend-accessibility-interactive-elements
Checked
wiki/frontend/end-to-end (index routing tables plus category listings): the 11existing pages cover state, structure/composition, rendering performance, data fetching,
performance, forms (validation timing), security, auth, agent-interfaces, and
accessibility — no existing page covers visual/aesthetic design decisions (color,
typography, layout structure, motion styling) or canvas effect layers;
git grep -i "oklch\|aesthetic\|anti-slop\|drawElementImage" wiki/returns nothing outside the newpages. Nearest-neighbor overlap is
frontend/accessibility/interactive-elements(focusvisibility and keyboard operability vs the new page's 8-state styling floor) — linked via
related:from both new pages rather than merged, since that page owns semantics/focusmechanics and the new page owns visual state styling; a reciprocal
related:entry wasadded to
interactive-elementspointing at the new page. The two new pages cross-referenceeach other (
related:both ways; the effect-layer page routes back to the base-design pagefor its "shader over slop" edge case).
Open-PR check
gh pr list --state open→ zero open PRs at ingest time (checked this session,2026-08-20). No open knowledge branch touches
wiki/frontend/, so no consolidation orrebase conflict is pending.
Routing decision
Target:
frontenddomain, NEW categorydesign(wiki/frontend/design/). Rationale:both pages answer "how should this web UI look/behave visually" — squarely frontend, but no
existing frontend category owns visual/styling decisions (structure = composition
mechanics, rendering = performance, accessibility = operability). A new sibling category
mirrors precedent (PR #111's
agent-interfaces).frontend/index.mdgets a## designsection with load-when rows for both pages, and the domain intro's "Route here for" line is
extended with visual-design scope so the router reaches the new category. Page ids follow
the path rule (
frontend-design-anti-slop-visual-design,frontend-design-html-in-canvas).Gates
wiki-lint-prohibitions.js: directives 71 → 71 (no new directive units; batshardcoded count untouched), 0 violations.
wiki-structure-checks.js: 244 pages / 13 indexes / 0 findings.tests/wiki-lint-prohibitions.bats+tests/wiki-structure-checks.bats: 17/17 ok locally.🤖 Generated with Claude Code
https://claude.ai/code/session_01TfnWBYHtT5rh4VhoTSRyZq