Skip to content
Back to skills

447 Tui Best Practices C1751db7

ASecurity

Designing terminal user interfaces

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
designrustgoawsperformance

Works with

  • terminal

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 447-tui-best-practices_c1751db7 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 447 Tui Best Practices C1751db7?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 447 Tui Best Practices C1751db7
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-447-tui-best-practices-c1751db7/badge)](https://www.skillsdirectory.com/skills/tools-only-447-tui-best-practices-c1751db7)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tui-best-practices
description: Designing terminal user interfaces
---


# TUI Best Practices

**Use this skill when:**
- Designing terminal user interfaces
- Creating accessible TUIs
- Optimizing TUI performance
- Implementing keyboard navigation
- Building cross-platform TUIs

## Keyboard Shortcuts

Use consistent, discoverable shortcuts:

```
Standard Conventions:
- q / Ctrl+C: Quit
- h/j/k/l or arrows: Navigate
- Enter: Select/Confirm
- Esc: Cancel/Back
- /: Search
- ?: Help
- Tab: Next field
- Shift+Tab: Previous field
```

## Layout Design

```
Principles:
- Clear visual hierarchy
- Consistent spacing
- Meaningful borders
- Status information visible
- Help text always available
```

## Performance

```
Optimization:
- Limit redraws (only when state changes)
- Use double buffering
- Batch terminal updates
- Cache rendered content
- Throttle high-frequency events
```

## Accessibility

```
Guidelines:
- Support screen readers
- High contrast colors
- Keyboard-only navigation
- Clear focus indicators
- Avoid color-only information
```

## Error Handling

```
Best Practices:
- Show errors inline
- Provide actionable messages
- Don't crash on terminal resize
- Handle missing terminal features
- Graceful degradation
```

## Related Skills

- **bubbletea-architecture.md** - Go TUI patterns
- **ratatui-architecture.md** - Rust TUI patterns

Files in this skill

  • README.md907 B
  • skill.md1.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.