tui-ui-guidelines — Claude Code skill: how to write TUI UI code
The tui-ui-guidelines skill for Claude Code provides standards for building Warp TUI interfaces. Install this before starting any TUI implementation task.
AGPL-3.0 ★ 720 updated 2026-11-10
npx skills add dominikmartn/harp --skill tui-ui-guidelines -a claude-codeWhat tui-ui-guidelines does
This skill details the requirements for building front-end components within the crates/warp_tui module. It clarifies that GUI assumptions like pixel geometry, GPU rendering, or WGSL shaders are invalid here, directing developers to use the grid-based TuiElement library instead.
Developers should implement the TuiElement trait and utilize the semantic styling helpers from TuiUiBuilder. Always call .finish() when constructing an element tree to ensure consistency. The skill provides the necessary reference for element composition and input handling within the terminal environment.
Ensure that you have access to the component directory at crates/warpui_core/src/elements/tui before applying these guidelines.
What it helps with
- Design a UI component using
TuiElement - Apply consistent themes via
TuiUiBuilder - Compose layouts using
TuiFlexcontainers - Attach key handlers with
TuiEventHandler
Example prompts for the agent
- tui-ui-guidelines: how to style
TuiTextproperly? - tui-ui-guidelines: show a
TuiFlexcolumn example - tui-ui-guidelines: what are the rules for
TuiElement?
How to install tui-ui-guidelines
1Skills CLI (Vercel)
npx skills add dominikmartn/harp --skill tui-ui-guidelines -a claude-code2Manually: put the files in place
~/.claude/skills/tui-ui-guidelines/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/tui-ui-guidelines/
1Skills CLI (Vercel)
npx skills add dominikmartn/harp --skill tui-ui-guidelines -a codex2Manually: put the files in place
.agents/skills/tui-ui-guidelines/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add dominikmartn/harp --skill tui-ui-guidelines -a cursor2Manually: put the files in place
.cursor/skills/tui-ui-guidelines/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install dominikmartn/harp .agents/skills/tui-ui-guidelines2Manually: put the files in place
.github/skills/tui-ui-guidelines/SKILL.md1Skills CLI (Vercel)
npx skills add dominikmartn/harp --skill tui-ui-guidelines -a gemini-cli2Platform CLI
gemini skills install https://github.com/dominikmartn/harp --path .agents/skills/tui-ui-guidelinesManually: put the files in place
.devin/skills/tui-ui-guidelines/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about tui-ui-guidelines
How to install tui-ui-guidelines in Claude Code?
Run npx skills add dominikmartn/harp --skill tui-ui-guidelines -a claude-code in your project terminal.
What does tui-ui-guidelines do?
It provides architectural guidelines for building terminal-based UI components in Warp, separating TUI logic from pixel-based GUI code.
What is required to use tui-ui-guidelines?
Access to the project source code containing crates/warpui_core and a standard Rust development environment.