kwakseongjae/oh-my-design / .claude/skills/claude-design
claude-design
Verified현재 코드베이스(또는 폴더)를 분석해 "디자인 컨텍스트 브리프"(스택/디자인 토큰/컴포넌트/ 라우트/실제 UI 카피/큐레이션된 에셋/레포 링크)를 합성하고, 그걸 Claude Design (claude.ai/design)에 자동으로 전달해 디자인을 생성한 뒤 결과 링크를 터미널에 클릭 가능한 형태로 돌려주는 스킬. 터미널 한 번의 호출로 코드베이스 → Claude Design 컨텍스트 이관을 수행한다. claude.ai/design 은 사용자의 로그인된 Chrome(claude-in-chrome)으로 구동하되, 상호작용 레이어가 막히면(알려진 chrome-extension 충돌 버그) 깔끔하게 수동 핸드오프로 전환한다. 렌더링 스크린샷 캡처는 하지 않는다. 트리거: "/claude-design", "이 코드베이스를 클로드 디자인으로 옮겨줘", "코드베이스 분석해서 claude design에 전달", "랜딩 디자인 뽑아줘", "claude.ai/design에 보내줘", "클로드 디자인에 디자인 요청해줘", "이 레퍼런스로 디자인 만들어줘", "Claude Design에 시안 요청".
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 29.9 KB |
| references/claude-design-flow.md | markdown | 30.5 KB |
| references/codebase-analysis.md | markdown | 25.1 KB |
| scripts/analyze_codebase.pyexecutable | script | 51.0 KB |
| scripts/clickable_link.shexecutable | script | 2.0 KB |
| scripts/collect_source.py | script | 7.1 KB |
| scripts/drive_claude_design.cjs | script | 22.3 KB |
| scripts/gather_references.pyexecutable | script | 15.1 KB |
scripts/clickable_link.sh
View on GitHub#!/usr/bin/env bash
# clickable_link.sh — emit a terminal-clickable OSC-8 hyperlink for a URL.
#
# Part of the `claude-design` skill. Used at the end of the flow to surface the
# resulting claude.ai/design canvas/result link in the terminal as a clickable
# hyperlink, with a plain-URL fallback line for terminals that don't support OSC-8.
#
# Usage: bash scripts/clickable_link.sh "<url>" ["<label>"]
# <url> required — the link to make clickable
# <label> optional — visible text for the hyperlink (defaults to the url)
#
# Behavior:
# - If stdout is a TTY, prints the OSC-8 hyperlink AND a plain-url fallback line.
# - If stdout is NOT a TTY, prints only the plain url (avoids junk escapes in pipes/files).
# - The plain-url fallback line is ALWAYS printed (even if the hyperlink line fails),
# so the URL is never lost.
# - Exits 2 with a usage message on stderr if no url argument is given.
set -u
if [ "$#" -lt 1 ] || [ -z "${1:-}" ]; then
printf 'usage: %s "<url>" ["<label>"]\n' "${0##*/}" >&2
exit 2
fi
url=$1
label=${2:-$url}
# Strip control characters (incl. ESC) from url/label so a malformed value cannot
# break out of the OSC-8 sequence or inject terminal escapes. Treat the inputs as
# data, not as terminal control. Uses tr; falls back to the raw value if tr fails.
strip_ctrl() {
# Delete bytes 0x00-0x1F and 0x7F (C0 controls + DEL).
printf '%s' "$1" | tr -d '\000-\037\177' 2>/dev/null || printf '%s' "$1"
}
url=$(strip_ctrl "$url")
label=$(strip_ctrl "$label")
# ESC]8;;URL ESC\ LABEL ESC]8;;ESC\ — OSC-8 hyperlink sequence.
# Only when stdout is a TTY (otherwise escapes would be junk in pipes/files).
# `|| true` so a transient write error here never prevents the plain-url fallback below.
if [ -t 1 ]; then
printf '\033]8;;%s\033\\%s\033]8;;\033\\\n' "$url" "$label" || true
fi
# Plain-url fallback on its own line — ALWAYS printed (the only output when non-TTY,
# and the safety net when the OSC-8 line is unsupported or failed).
printf '%s\n' "$url"
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |