본문으로 건너뛰기
Skillpedia
인터페이스 (UI/UX)56k · #3287

shade-use-primitives

하는 일

이 스킬은 AI 에이전트가 손으로 쓴 레이아웃 클래스 대신 Shade의 레이아웃 블록을 쓰도록 합니다. 일관된 간격과 구조를 원하는 인터페이스 개발자에게 맞습니다.

사용하는 경우

  • ✓Shade 기반 앱에서 화면, 섹션, 행의 레이아웃을 짤 때.
  • ✓요소의 간격을 맞추거나, 정렬하거나, 쌓거나, 줄바꿈해야 할 때.
  • ✓일반 래퍼 요소에 레이아웃 클래스를 추가하고 싶은 유혹이 들 때.

스킬 링크

https://github.com/TryGhost/Ghost/blob/main/apps/shade/skills/shade-use-primitives/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/TryGhost/Ghost/blob/main/apps/shade/skills/shade-use-primitives/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“설정 페이지의 입력 항목들을 Shade의 레이아웃 블록으로 일정한 간격을 두고 배치해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 각 래퍼마다 레이아웃 블록을 고릅니다. 예를 들어 세로 묶음에는 Stack, 가로 줄에는 Inline을 씁니다. 간격과 여백은 Shade의 이름 있는 간격 단계에서 정하고, 속성으로 다룰 수 없는 부분에만 클래스 이름을 씁니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Shade use primitives

Layout in Ghost UI reads by intent: Stack, Inline, Box, Grid, Container and Text replace hand-written flex and grid classes. The rules live in Primitives.

Docs links use https://shade.ghost.org. If the project's AGENTS.md says where Shade's docs are (another address, or a source folder), use that instead. Fetch web pages with curl -s.

Workflow

  1. Check for a larger shape first. A whole page starts from shade-page-templates; a recurring product shape may already be a pattern in Patterns.
  2. Pick the primitive for each wrapper with Use a primitive when.
  3. Set gaps and padding from the Spacing scale.
  4. Reserve className for what the props don't cover.

Self-check

  • No wrapper element in your diff carries only layout classes.
  • Spacing on primitives uses the named steps, and direction, gap, alignment and justification come from props.
  • Nothing in Don't applies to your diff.
자주 묻는 질문

주요 레이아웃 블록은 무엇인가요?

스킬은 Stack, Inline, Box, Grid, Container, Text를 기본 블록으로 꼽습니다.

그래도 flex나 grid 클래스를 써야 하나요?

스킬은 레이아웃이 의도대로 읽혀야 한다고 말하며, 블록이 손으로 쓰던 대부분의 flex와 grid 클래스를 대신한다고 설명합니다.

페이지 전체를 빠르게 만드는 방법이 있나요?

네. 전체 페이지는 페이지 템플릿에서 시작하며, 반복되는 형태는 이미 패턴으로 있을 수 있습니다.

상세 정보

작성자의 원본 설명

Lay out Ghost UI with Shade's layout primitives. Use when laying out a screen, section or row, or when spacing, aligning, stacking or wrapping elements.

repo: TryGhost/Ghost

인기도

GitHub 스타
56k
순위
#3287
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬