add-screen
/add-screen
Add a screen to the Bubble Tea UI in internal/ui, with its keys, help, golden frame and tests. Use when the user asks for a new view, page, panel or mode in the terminal app.
- Author
- steamfield ↗
- Repository
- stacks ↗
- Licence
- Apache-2.0
- Last repository change
- 08.11.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 08.11.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
What it does and when to use it
Add a screen to the Bubble Tea UI in internal/ui, with its keys, help, golden frame and tests. Use when the user asks for a new view, page, panel or mode in the terminal app.
Original author description
Add a screen to the Bubble Tea UI in internal/ui, with its keys, help, golden frame and tests. Use when the user asks for a new view, page, panel or mode in the terminal app.
How it works
SKILL.md has no level-two headings · 12 lines, 176 words
SKILL.md preview
--- name: add-screen description: Add a screen to the Bubble Tea UI in internal/ui, with its keys, help, golden frame and tests. Use when the user asks for a new view, page, panel or mode in the terminal app. --- # Add a screen The detail screen is the model to copy: a `screen` constant, a branch in `keyPress`, a render function in `view.go` and a frame in `TestFrames`. 1. Add a constant to the `screen` enum in `model.go` and any state the screen needs to `Model`. Data it shows arrives as a message from a `tea.Cmd`; never load it inside `Update`. 2. Add its bindings to `keyMap` in `keys.go` with `key.WithHelp`, and a `case` in `keyPress` that handles them. Include a way back (`m.keys.Back`) and `m.keys.Quit`. 3. Render it in `view.go` with a `<name>View()` function that reads only the model and takes styles from `internal/theme`. End with `m.help.ShortHelpView(...)` listing its bindings. 4. In `model_test.go`, add a frame to `TestFrames` built by sending key messages to a `ready` model, plus a test that the keys enter and leave the screen. 5. Run `make golden`, read every changed `.golden` file with the user, then `make test lint`. 6. If the screen needs new data in text or JSON output, extend `internal/output` and the integration cases in `tests/integration`.
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · steamfield/stacks | 86 | Apache-2.0 |
| steamfield/stacks | 86 | Apache-2.0 |
Database snapshot: 13.11.2026 · package version d5830e8b5585 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 1 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100cli-tui
Build or change the hive CLI's Bubble Tea TUI under cmd/hive/internal/tui -- views, modals, keybindings, async loads -- and test it with component and golden-file tests. Use when adding a view, a modal, a key, or a palette command to the TUI, when a TUI test or golden file… - 100go-tui
Build, review, or debug Go terminal UIs with the Charm stack — Bubble Tea, Lip Gloss, Bubbles, ntcharts. Use for any Go TUI, dashboard, or full-screen CLI, including colour-accurate screenshots. - 90tui-component-browser
Before writing a new TUI feature, browse the Charm component libraries for existing components. USE WHEN starting a new Bubble Tea screen, picking between custom and existing components, or unsure which component fits. Uses WebFetch to grab the source of relevant components from… - 100bubble-mcp-field-guide
Use this skill for ANY work on a Bubble.io app through Bubble's MCP server (mcp.bubble.io) from Claude Code, including small or quick requests: adding a field or data type, a page or button, privacy rules, API Connector calls, backend or API workflows, test data, connecting or… - 100create-plugin
Create new sidecar plugins implementing the plugin.Plugin interface, rendering views with Bubble Tea, handling keyboard input via keymap contexts, and integrating with the app shell (footer hints, event bus, adapters). Use when creating a new plugin, modifying plugin… - 86add-page
Add a page to this Nuxt app together with the server route it reads or writes, its zod schema and tests. Use when asked for a new page, screen, view, form or API route backed by server data.