Skip to content

feat(frontend): official design-system routing, motion skeletons, and redesign protocol#27

Merged
beefiker merged 2 commits into
beefiker:mainfrom
jellychoco:feat/frontend-taste-v2-mechanisms
Jul 12, 2026
Merged

feat(frontend): official design-system routing, motion skeletons, and redesign protocol#27
beefiker merged 2 commits into
beefiker:mainfrom
jellychoco:feat/frontend-taste-v2-mechanisms

Conversation

@jellychoco

@jellychoco jellychoco commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

요약

이 PR을 현재 main 위로 통합하고, 유용한 부분만 선택적으로 정리했습니다. 기존 Web/Qt 라우터와 Qt 레퍼런스는 그대로 유지하고, 웹 작업에서 필요할 때만 추가 컨텍스트를 지연 로드합니다.

  • web.md: 실제 플랫폼 계약, 모션 구현, 운영 중인 사이트 리디자인 요청만 각각의 레퍼런스로 라우팅합니다.
  • system-map.md: 디자인시스템을 시각적 분위기가 아니라 기존 의존성·호스트·정책·명시적 사용자 선택으로 판정합니다. 새 패키지는 설치 전에 반드시 승인을 받습니다. Primer는 제품 React (@primer/react), CSS (@primer/css), 마케팅/브랜드 (@primer/react-brand) 경로를 구분합니다.
  • motion.md: GSAP/Motion 시작 템플릿에 반응형 재계산, 범위가 제한된 cleanup, 정적 reduced-motion 레이아웃, 실제 브라우저 검증 체크리스트를 포함합니다.
  • redesign.md: 분석/검색 데이터가 없으면 추측하지 않고 unavailable and unverified로 기록하며, 필드 이름과 필드 순서를 별도 계약으로 다룹니다.
  • upstream-notice.md: MIT 기반 Taste Skill 적응 범위와 전체 저작권/허가 고지를 패키지에 보존합니다.

What this helps

이 변경은 Superloopy 프런트엔드 스킬이 다음 세 상황에서 더 안전하고 구체적인 판단을 하도록 돕습니다.

  1. 기존 제품 스택을 보존하면서 공식 디자인시스템 경로를 선택할 때
  2. 스크롤 모션을 정적·접근 가능한 폴백과 함께 구현할 때
  3. 기존 사이트의 SEO, 분석, 폼, 브랜드 계약을 훼손하지 않고 리디자인할 때

Scope and safety

  • 현재 main의 Web/Qt 라우팅과 Qt 작업은 변경하지 않습니다.
  • Superloopy 자체 의존성은 추가하지 않습니다.
  • 모든 호스트 매니페스트와 lockfile을 0.10.0으로 동기화했습니다.
  • 새 레퍼런스 4개가 실제 npm 패키지에 포함되는 회귀 테스트를 추가했습니다.
  • 모션 코드는 출발점 템플릿이며, 적용 대상 프로젝트에서 실제 브라우저/반응형/접근성 검증이 필요합니다.

Validation

  • node --test test/*.test.js with a clean HOME: 561/561 passed
  • node --test test/plugin.test.js: 19/19 passed
  • node src/cli.js doctor --json: ok: true, file/design/reviewability audits clean
  • node scripts/sync-version.mjs: 0 files updated (idempotent)
  • npm pack --dry-run --json --ignore-scripts: all four new references included
  • Independent follow-up review: ready to merge, no blockers

English summary

Selectively integrates the useful mechanisms from the original proposal on top of current main. It preserves the existing Web/Qt router, adds web-only lazy context for platform contracts, motion, and living-site redesigns, requires approval before dependencies, keeps static reduced-motion fallbacks, and retains the complete MIT attribution notice. No dependencies were added; version metadata is synchronized at 0.10.0; the clean test suite passes 561/561.

jellychoco and others added 2 commits July 11, 2026 11:11
…redesign protocol

Extend superloopy-frontend with three lazily loaded context references and
a dial-inference table, closing three request shapes the skill had no lane
for: platform briefs owned by an official component package, scroll/physics
motion that fails at implementation, and redesigns of living sites.

Per-file changes:
- skills/superloopy-frontend/references/system-map.md (new, 60 lines):
  brief -> official-package routing table (Fluent, Material, Carbon,
  Polaris, Atlaskit, Primer, GOV.UK, USWDS, Bootstrap, Radix, shadcn/ui,
  Tailwind), honesty rules (never hand-roll a system's look, no
  mostly-overridden token imports, one system per project),
  aesthetic-vs-system boundary with the Liquid Glass labeled-approximation
  caveat, and install-command reality anchors. These are user-project
  dependencies only; Superloopy's package.json stays dependency-free.
- skills/superloopy-frontend/references/motion.md (new, 149 lines): named
  bans (window scroll listeners, continuous values in React state, rAF
  loops touching state, GSAP/Motion mixed in one tree, un-isolated motion
  leaves, half-built motion) plus three canonical skeletons (GSAP
  sticky-stack, GSAP horizontal pan, Motion whileInView stagger), each
  with its known failure mode called out (pin at start: "top top", never
  "top center") and reduced-motion fallbacks kept mandatory.
- skills/superloopy-frontend/references/redesign.md (new, 52 lines): mode
  detection (greenfield/preserve/overhaul), audit-before-touching recorded
  as REDESIGN_AUDIT.md under the evidence root, preservation rules
  (IA/slugs/anchors, brand-color override path, copy voice, a11y wins,
  analytics contracts), a never-change-silently list, priority-ordered
  modernization levers, and an evolution-vs-redesign decision tree.
- skills/superloopy-frontend/SKILL.md (108 -> 122 lines): three router
  bullets for the new references; Phase 1 gains a dial-inference table so
  DESIGN_VARIANCE / MOTION_INTENSITY / VISUAL_DENSITY trace to the Design
  Read instead of habit. Activation contract and frontmatter untouched.
- test/plugin.test.js: new pin test ("frontend skill routes system-map,
  motion, and redesign references with dial inference") locking the router
  bullets, the one-system lock, the scroll-listener ban, start: "top top",
  useMotionValue, ctx.revert() cleanup, reduced-motion, REDESIGN_AUDIT.md,
  and the never-change-silently list.
- docs/superloopy-file-audit.md: 3 inventory rows (role + Superloopy-native
  boundary) for the new references.
- docs/superloopy-loop-golden-set.md: 3 evidence rows with must-keep
  invariants for the new references.
- docs/superloopy-design-audit.md: new `frontend-context-routing` decision
  row (reason / effect / guard).
- Version 0.9.1 -> 0.10.0; scripts/sync-version.mjs stamped
  .claude-plugin/plugin.json, .codex-plugin/plugin.json,
  .claude-plugin/marketplace.json, and package-lock.json.

Design context: mechanisms adapted (independently re-authored prose, no
external code or design files vendored) from the MIT-licensed taste-skill
v2 (github.com/Leonxlnx/taste-skill), whose dial/anti-slop spine
superloopy-frontend already draws on. Content lands as lazily loaded
references to keep the router light, matching the v0.7.1 payload
discipline.

Validation: node --test runs 544 tests, 540 pass; the 4 failures
(doctor-packed installedModelPolicy x3 + doctor CLI root fallback) fail
identically on origin/main in this environment (stale local
~/.codex/agents fleet vs model policy 2026-07-10) and are unrelated to
this change. All new files sit under the 550-line reviewability cap.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Merge the current main branch while preserving its Web/Qt router, then add web-only system, motion, and redesign references with dependency approval, static fallbacks, provenance, focused tests, and the 0.10.0 version sync.
@beefiker
beefiker merged commit 7700169 into beefiker:main Jul 12, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants