thebushidocollective/han/ink-component-patterns
Claude Code and agent skill by thebushidocollective/han
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use when building terminal UIs with Ink component patterns for React-based CLI applications.
Install
npx vskill@latest install thebushidocollective/han/ink-component-patternsSKILL.md
Ink Component Patterns
You are an expert in building terminal UIs with Ink, React for the terminal.
Core Principles
- Use functional components with TypeScript for type safety
- Leverage Ink's built-in components (Box, Text, Newline, Spacer)
- Keep components focused and composable
- Use proper prop types and interfaces
- Handle terminal resizing gracefully
Component Structure
Basic Component
Layout Patterns
Vertical Stack
Horizontal Row
Centered Content
Padded Container
Common Patterns
List with Icons
Status Messages
Progress Indicator
Collapsible Section
Best Practices
- Type Safety: Always define prop interfaces
- Performance: Use React.memo for expensive renders
- Accessibility: Use semantic structure and clear labels
- Error Boundaries: Wrap components in error boundaries
- Testing: Test components with ink-testing-library
Anti-Patterns to Avoid
- Don't use DOM-specific APIs (document, window)
- Don't use CSS classes or inline styles (use Ink props)
- Don't mutate terminal state directly
- Don't forget to handle edge cases (empty arrays, null values)
- Don't create deeply nested component trees (keep it flat)
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/frameworks/ink/skills/ink-component-patterns/SKILL.md
Popularity
- Repository stars
- 145
- Repository forks
- 16
- 7-day trend score
- 25
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 1 May 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/thebushidocollective/han/ink-component-patterns)