본문으로 건너뛰기
cccskills
무료GitHub에 공개

design-button-hierarchy

Create clear primary/secondary/tertiary action distinctions

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

karanmrn/karanagentskills스타 3(GitHub 3 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Skill: Design Button Hierarchy

Purpose

Create clear distinctions between primary, secondary, and tertiary actions so users know which action to take.

Type

Generative + Evaluative

Input

  • List of actions/buttons needed
  • Relative importance of each action (primary, secondary, tertiary)
  • Context (form, modal, page, toolbar)

Output

  • Button style specifications for each level
  • Pass/Fail assessment of existing button hierarchy

Transformation Performed

Maps action importance to visual treatment: primary = filled brand color, secondary = outline or subtle (including grey solid), tertiary = text-only or link style.

Decision Criteria

PASS (Good Button Hierarchy)

  • One clear primary action per screen/section (filled, high contrast, brand color)
  • Secondary actions visually subordinate (outlined, ghost, or lower contrast solid including grey)
  • Tertiary actions minimal (text link or subtle)
  • Clear visual distinction between levels (not subtle 10% differences)
  • Destructive actions (delete) use red but don't compete with primary

FAIL (Poor Button Hierarchy)

  • Multiple buttons with equal visual weight
  • Primary action not obvious
  • Very light grey (200) secondary looks disabled
  • Destructive actions draw more attention than primary
  • All buttons filled with same color

Button Style Patterns

LevelBackgroundBorderTextUse Case
PrimaryBrand color (solid)NoneWhite/lightMain CTA, save, submit
SecondaryGrey (solid) or transparentBrand color (if outline)Brand color or greyAlternative action, cancel
TertiaryTransparentNoneBrand color or grayOptional actions, learn more
DestructiveRedNoneWhiteDelete, remove (not competing)
DisabledGray 200NoneGray 400Cannot proceed

Visual/UX Signals Used

  1. Fill vs outline: Filled = primary, outline = secondary
  2. Color saturation: More saturated = more important
  3. Size: Primary can be slightly larger
  4. Position: Primary often on right or bottom (reading pattern)

Common Failure Modes

FailureDescriptionFix
Button BattleSave and Cancel both filled brandMake Cancel outline or grey solid
Gray Button ConfusionVery light grey (200) secondary looks disabledUse grey 400-500 or outline, not near-white grey
Red AlertDelete button more prominent than primaryMake delete text-only or smaller
Primary Overload3+ "primary" buttonsChoose one primary, demote others
Invisible TertiaryText links same color as bodyUse brand color or underline

Prerequisites

  • Visual hierarchy established
  • Color palette defined

Dependencies

  • build-color-palette (needs brand and semantic colors)
  • establish-visual-hierarchy (buttons are part of hierarchy)

Refactoring UI References

  • "Make primary actions obvious"
  • "Destructive actions shouldn't dominate"
  • "Secondary actions should be clear but not prominent - outline styles or lower contrast background colors are great options"

Example Assessment

Input: Modal with "Save Changes" (filled blue), "Cancel" (filled grey), "Delete" (filled red)

Evaluation: PARTIAL

  • Cancel: Grey filled is acceptable secondary treatment (lower contrast solid)
  • Delete: Filled red competes with Save (should be text red)
  • Issue: Two actions with solid fills competing

Recommendation:

  • Save: Keep filled blue (primary)
  • Cancel: Grey filled is acceptable, but could be outline for clearer distinction
  • Delete: Change to text red (destructive shouldn't compete)

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Automate 21risk tasks via Rube MCP (Composio). Always search tools first for current schemas.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

karanmrn/karanagentskills32026년 8월 28일 업데이트

Automate 2chat tasks via Rube MCP (Composio). Always search tools first for current schemas.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

karanmrn/karanagentskills32026년 8월 28일 업데이트

1password

무료

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

karanmrn/karanagentskills32026년 8월 28일 업데이트

Build integrated IS/BS/CF financial workbooks in Excel.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

karanmrn/karanagentskills32026년 8월 28일 업데이트

9router

무료

Entry point for 9Router — local/remote AI gateway with OpenAI-compatible REST for chat, image, TTS, embeddings, web search, web fetch. Use when the user mentions 9Router, NINEROUTER_URL, or wants AI without writing provider boilerplate. This skill covers setup + indexes capability skills; fetch the relevant capability SKILL.md from the URLs below when needed.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

karanmrn/karanagentskills32026년 8월 28일 업데이트

Chat / code generation via 9Router using OpenAI /v1/chat/completions or Anthropic /v1/messages format with streaming + auto-fallback combos. Use when the user wants to ask an LLM, generate code, summarize text, or run prompts through 9Router.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

karanmrn/karanagentskills32026년 8월 28일 업데이트

karanmrn의 스킬 모두 보기

이 스킬의 문제 신고