소스 정보
- 저장소
- spotify/confidence-cli
- 최근 소스 활동
- 2026년 7월 20일 08:26
- 감지된 SKILL.md 언어
- 영어
- 스타
- 0
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/spotify/confidence-cli --skill ink-tui명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | ink-tui |
| description | Develop and modify the Ink-based terminal UI for the Confidence Wizard |
| version | 0.1 |
This skill covers building and modifying the interactive terminal user interface for the Confidence Wizard CLI. The TUI is built with Ink (React for CLIs), @inkjs/ui, and nanostores for state management.
The TUI follows a reactive session-driven pattern: the rendered screen derives from session state. Business logic updates state through store setters, and the router determines which screen to display.
src/lib/session.ts) — Source of truth for wizard statesrc/ui/tui/store.ts) — Nanostores-backed reactive store with explicit setterssrc/ui/tui/router.ts) — Declarative sequence-based navigationsrc/ui/tui/components/ScreenContainer.tsx) — Root layout orchestrating screenssrc/ui/tui/screen-registry.tsx) — Factory mapping ScreenId to componentssrc/ui/tui/screens/YourScreen.tsxScreenId entry in src/lib/session.tssrc/ui/tui/screen-registry.tsxsrc/ui/tui/screen-sequences.tsNo other files need changes.
For state that affects screen resolution:
WizardSession interfaceWizardStore that calls emitChange()For display-only state:
WizardStoresrc/ui/tui/components/)Reusable building blocks and composites: TextBlock, Divider, KeyboardHintsBar, ScreenContainer, TitleBar, etc. Barrel-exported from index.ts.
src/ui/tui/styles.ts)Shared constants: Colors, Icons, HAlign, VAlign. Import from here for consistent styling.
ink # Terminal React renderer (Yoga Flexbox)
react # Peer dependency
@inkjs/ui # Select, TextInput, Spinner, ProgressBar,
# ConfirmInput, MultiSelect, Badge, StatusMessage
Avoid standalone ink-text-input, ink-select-input — use @inkjs/ui instead.
| Browser | Ink Terminal |
|---|---|
<div> | <Box> |
<span> | <Text> |
| CSS/className | Direct props (flexDirection, padding) |
onClick | useInput() hook |
| Window size | useStdout().stdout.{columns,rows} |
| Layout | Flexbox via flexDirection |
ScreenId enum values, never raw strings for screen identificationWizardStore settersColors and Icons from styles.ts for consistent themingrouter as a prop for navigation@inkjs/ui components over custom implementationsuseEffect, not arrow functions — e.g. useEffect(function autoAdvance() { ... }, [deps])HAlign / VAlign enums from styles.ts instead of raw alignment strings ('flex-start', 'center', 'flex-end')SOC 직업 분류 기준