vibe-textual-ui
Textual TUI widget and TCSS conventions for Mistral Vibe. Use when building or styling Textual widgets, writing TCSS rules, working with selectable lists, tool headers, theme variables, or UI component layout.
- License 许可
- Apache-2.0
- 最近更新
- 2026-08-23
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- vibe-textual-ui
- metadata
- { "display-name": "Vibe Textual UI", "default-prompt": "Use $vibe-textual-ui to follow Vibe Textual UI conventions when building or styling widgets.", "short-description": "Widget and TCSS conventions for Vibe" }
- description
- Textual TUI widget and TCSS conventions for Mistral Vibe. Use when building or styling Textual widgets, writing TCSS rules, working with selectable lists, tool headers, theme variables, or UI component layout.
03 SKILL.md 正文
Vibe Textual UI
Conventions for building and styling Textual TUI widgets in Vibe. Apply when working in vibe/cli/, creating or modifying widgets, or writing TCSS.
Widgets
- For selectable lists, use
NavigableOptionListfromvibe/cli/textual_ui/widgets/navigable_option_list.pyinstead of Textual'sOptionList. It addsj/kcursor navigation on top of the arrow keys; the bareOptionListonly handles arrows. - Keep feature-specific Textual state and helper functions with the feature's widget package.
app.pyshould orchestrate mounting and message handling, not accumulate feature-local state models, defaulting helpers, or import factories. - Render tool headers as an explicit verb plus message in every state: progressive wording while a call is running, then a settled verb once any result arrives, including a failure. Preserve result metadata such as
(truncated)or(scratchpad)immediately after the message and keep error details in the expandable result body.
TCSS
- When a rule sets
color: $text-muted;, pair it with a nested&:ansi { text-style: dim; }so the muted intent survives under ANSI themes. - Never use
ansi_*colors (e.g.ansi_red,ansi_bright_blue). Use Textual theme variables like$primary,$foreground,$surface,$error, etc. — see https://textual.textualize.io/guide/design/. ANSI themes are derived from these variables automatically. - Keep truncation and overflow behavior declarative in TCSS. Do not add resize handlers or explicit widget-width calculations solely to force an ellipsis; accept clipping or overflow when Textual cannot express the layout reliably.
04 同仓库更多 Skills
prompts
暂无简介
write-vibe-tests
Write or refactor Mistral Vibe tests with proper decoupling. Use when adding behavior coverage, testing ports/adapters, replacing brittle mocks, creating fakes, adding characterization tests before refactors, or changing tests under tests/ for vibe/core, vibe/cli, vibe/acp, tools, config, sessions, skills, hooks, MCP, or setup.
write-vibe-adr
Create or update Architecture Decision Records for the Mistral Vibe Python CLI. Use when a design discussion creates a new architectural constraint, when an undocumented convention causes confusion or review feedback, or when architecture guidance in docs/adr or AGENTS.md must be changed.
instrument-feature-analytics
Plan analytics instrumentation for a feature. Use when implementing any feature — every feature must ship with telemetry. Decides which events and properties the metrics need (funnels, adoption, status flows), checks compatibility with the existing datalake and event registry, and walks through local, staging, and production verification.
create-vibe-feature
Add or modify a feature in the Mistral Vibe Python CLI while following the app architecture ADRs. Use when working in vibe/core, vibe/cli, vibe/acp, vibe/setup, built-in tools, config, sessions, skills, hooks, MCP, connectors, or other Vibe feature code.
vibe-python-style
Python coding conventions for Mistral Vibe. Use when writing, reviewing, or refactoring Python code in the Vibe codebase. Covers style, type hints, imports, Pydantic patterns, logging, error handling, and file I/O.