gustavo-fior/craft

craft-design-engineering

Design engineering concepts from Craft (craft.gustavofior.com) covering typography, color, layout, motion, sound, and data details that make interfaces feel right.

소스 보기

사용 방법

  1. 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
  2. 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
  3. 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/gustavo-fior/craft --skill craft-design-engineering

시작 전 확인

  • 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
  • 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 Skill 문서

원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.

Craft

A collection of design engineering concepts by Gustavo Fior. Each concept is a short explainer with a rule you can apply directly, plus the CSS, Tailwind, or React to do it. The live site pairs every concept with an interactive demo.

How to use this skill

  1. Find the concepts that match the work in the index below. A button needs

the hover, press, and hit-area concepts; a table or timer needs tabular numbers; anything with an image needs image outlines.

  1. Read the matching file in references/ before writing code. Each concept

there contains the full reasoning, the rule, and the code snippets. Do not apply a concept from the one-line summary alone.

  1. Apply the rule, and prefer the site's exact values (durations, easings,

radii, opacities) over inventing your own.

  1. When reviewing existing UI, report each change as a row in a table with

the columns Before, After, and Concept, linking the concept URL so the user can read and try the demo.

  1. Only cite a concept that is in the index. If the question is outside the

index, say so and fall back to general judgement.

Principles

  • Details that nobody notices still compound. Correct defaults on radius,

spacing, easing, and contrast are what make an interface feel finished.

  • Consistency beats novelty. Reuse the same two or three easings, the same

radius ratios, and the same shadow recipe across the product.

  • Motion has to earn its place. Frequent, intentional interactions should be

instant; rare or spatial ones can animate.

  • Respect physical intuition. Nothing appears from nothing, nested corners

share a center, and light comes from above.

Concept index

<!-- concepts:start -->

Typography

  • Tabular Numbers: Steady digits for values that change. (reference, demo)
  • Optical Alignment: Center for the eye, not the math. (reference, demo)
  • Font Smoothing: Light text on dark renders heavier. (reference, demo)

Color

  • Noise: Grain hides banding and adds texture. (reference, demo)
  • Image Outlines: A faint inner edge that frames images. (reference, demo)

Layout

  • Nested Border Radius: Inner radius is outer minus padding. (reference, demo)
  • HTML Background: Paint the canvas behind your page. (reference, demo)
  • Scroll Fades: Fade the edge that has more to scroll. (reference, demo)

Motion

  • Button Press: Scale down on press so it feels real. (reference, demo)
  • Interruptibility: Let people change their mind mid-motion. (reference, demo)
  • Hover Restraint: Frequent interactions should be instant. (reference, demo)

<!-- concepts:end -->

Keeping this skill current

This file and references/ are generated from the site's content with bun run build:skill in the Craft repository. Edit the articles, not the references.

관련 작업