feat(skill): absorb external design skills, restore interview gate, add review route
- Restore the step-0 interview as a mechanical gate the skill explicitly depends on; add harness.md (per-harness question tools, limits, fallbacks) and brief-interview.md (slots, question cards, rounds). - Add 10 reference docs absorbed from external design skills (accessibility, interaction-feel, elevation, color, icons, product-copy, component-systems, critique, change-review, print-email) and extend existing references. - Add a review-only route and two hard-gate clauses (truncated content reachability, three-flashes limit). - design-gate: split tap targets into WCAG 2.5.8 and 44px contract layers, run axe-core when available, and fix false positives found on a real site (decorative alt="", stacked wordmark line count, url-only pages). - lint-skill: fail if the interview gate section or its links disappear. - Ship agents/openai.yaml and THIRD_PARTY_NOTICES.md.
This commit is contained in:
parent
79e79c120b
commit
6805fb2be7
37 changed files with 5688 additions and 128 deletions
|
|
@ -374,7 +374,7 @@ export function createStage(canvas, { dprMax = 1.5, alpha = false } = {}) {
|
|||
## 4. 코드 B — 메시 그라디언트 셰이더 플레인
|
||||
|
||||
**언제**: 랜딩 히어로 배경의 기본 무기. three를 쓰기로 했다면 90%는 이것으로 끝난다. 드로우콜 1개, 텍스처 0장.
|
||||
**색과 속도는 3단계 토큰에서 읽는다. 셰이더에 hex를 쓰지 마라** (하드 게이트 #1).
|
||||
**색과 속도는 3단계 토큰에서 읽는다. 셰이더에 hex를 쓰지 마라** (프로젝트 계약 — 토큰이 프로젝트 결정을 반영하는가).
|
||||
|
||||
```js
|
||||
// src/gl/scenes/hero.js
|
||||
|
|
@ -614,7 +614,7 @@ export default function mount(canvas, { selector = 'img[data-gl]' } = {}) {
|
|||
stage.onResize(stage.size.w, stage.size.h)
|
||||
|
||||
stage.add((t, dt) => {
|
||||
// 스크롤 값은 rAF 에서 직접 읽는다. `scroll` 리스너는 하드 게이트 #10 위반이고,
|
||||
// 스크롤 값은 rAF 에서 직접 읽는다. `scroll` 리스너는 '애니메이션·스크롤 로직이 입력을 방해하지 않는다' 하드 게이트 위반이고,
|
||||
// 어차피 매 프레임 필요한 값이다.
|
||||
const k = 1 - Math.pow(.001, dt), hk = 1 - Math.pow(.0005, dt), prev = scroll.cur
|
||||
scroll.cur += (scrollY - scroll.cur) * k
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue