microsoft/ghqr/tui-developer
Claude Code and agent skill by microsoft/ghqr
- vendor
Checking that the SKILL.md file is still in the repository.
Generate Go Bubble Tea TUI applications with chat-like interfaces. Use when the user asks to create terminal UIs, chat interfaces, interactive CLI, REPLs, or log viewers. Follow the specified architecture and implementation requirements for consistent results.
Install
npx vskill@latest install microsoft/ghqr/tui-developerSKILL.md
The same SKILL.md was published earlier as microsoft/ghqr/tui-developer.
TUI Developer Skill
Generate minimal, idiomatic Go Bubble Tea TUI applications with chat-like interfaces using alt screen + internal viewport.
When to Use
Use this skill when the user asks to:
- Create a terminal UI with Bubble Tea
- Build a chat-like CLI interface
- Implement a REPL or interactive terminal
- Create a log viewer with input
Architecture
The TUI uses alt screen with an internal viewport for scrollable conversation history. Completed output is accumulated in a persisted string that is written to stdout after the alt screen exits, giving the user a transcript in their terminal scrollback.
Key Design Decisions
- `tea.WithAltScreen()` — full-screen TUI; avoids inline rendering artifacts
- `bubbles/viewport` — scrollable content area; height = terminal height minus fixed chrome rows
- `persisted string` — accumulates all finalized output; written to stdout on exit so the user keeps a transcript
- `buildViewportContent()` — returns
persisted+ live activity (spinner/streaming) when a response is in progress - `appendToViewport(content)` — appends to
persistedand callsupdateViewport()(SetContent + GotoBottom) - No `tea.WithMouseCellMotion()` — mouse capture is omitted so the user can select text with the mouse
- No `tea.Println` — all output goes through the viewport
Required Dependencies
Implementation Requirements
Model Structure
Initialization
Viewport Height
Reserve 6 rows for chrome: two separators (each with a top margin counts as 2 rows) + input row + status row:
Viewport Content Helpers
Keyboard Scrolling
Scroll Arrow in Status Bar
Display ↑/↓/↕ in the status bar to indicate scroll position:
View Layout
View() renders the full screen: viewport + chrome. Return "" when quitting so the alt screen clears cleanly.
Program Entry and Exit Transcript
After p.Run() returns, print persisted to stdout so the user gets a transcript in their shell:
Ctrl+C Behaviour
First Ctrl+C clears the input (with a 2-second warning); second Ctrl+C within that window exits:
Quality Checklist
Before returning generated code, verify:
- [ ] Uses
tea.WithAltScreen()— full-screen, no inline artifacts - [ ] Uses
bubbles/viewport— scrollable content area - [ ] Does NOT use
tea.Println— all output goes through the viewport - [ ] Does NOT use
tea.WithMouseCellMotion()— preserves native text selection - [ ]
persistedstring accumulates all finalized content - [ ]
appendToViewport= append topersisted+updateViewport() - [ ]
buildViewportContent=persisted+ live activity when processing - [ ] Viewport height = terminal height minus 6 fixed chrome rows
- [ ]
View()returns""when quitting - [ ] After
p.Run(), printsfm.persistedto stdout for transcript - [ ] PgUp/PgDn and Up/Down scroll the viewport
- [ ] Scroll arrow (↑/↓/↕) shown in status bar
- [ ] First Ctrl+C clears input; second Ctrl+C quits
- [ ] Model uses pointer receiver (
*model) for all methods - [ ] Update handlers are broken into focused methods
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 2 Oct 2026.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.github/skills/tui-developer/SKILL.md
Popularity
- Repository stars
- 530
- Repository forks
- 33
- 7-day trend score
- 31
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 Mar 2026, 8 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/microsoft/ghqr/tui-developer)