bubbletea-code-review

Review BubbleTea TUI code for Elm architecture conformance and Lipgloss styling.

75|9|Updated Dec 21, 2025
One-click install
npx skills add https://github.com/anderskev/beagle --skill bubbletea-code-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bubbletea-code-review
Source: https://github.com/anderskev/beagle/tree/main/skills/bubbletea-code-review
Command: npx skills add https://github.com/anderskev/beagle --skill bubbletea-code-review

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the review of terminal UI applications built with BubbleTea, ensuring immutable models and proper command patterns.

Frequently Asked Questions about bubbletea-code-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review BubbleTea TUI code for Elm architecture patterns?

Review BubbleTea TUI code by validating Elm architecture conformance: ensure immutable model updates, pure View functions, proper tea.Cmd and tea.Batch usage, and non-blocking Update operations. The Skill evaluates model/update/view patterns, subcomponent composition with Bubbles components, and WindowSizeMsg handling across your codebase.

What styling patterns should I follow in BubbleTea applications with Lipgloss?

Lipgloss styling in BubbleTea should integrate cleanly into the View function while maintaining immutability and responsiveness. The Skill checks responsive styling in common review scenarios, ensuring terminal UI rendering adapts to WindowSizeMsg events and component state changes without blocking operations.

Can I use BubbleTea with Bubbles components like list, table, and viewport?

Yes. BubbleTea works with Bubbles components including list, table, viewport, textinput, textarea, and spinner. The Skill validates proper subcomponent composition and Elm architecture conformance when integrating these components into your terminal UI application.

What are common mistakes in BubbleTea Update functions?

Common mistakes include blocking Update operations, mutating models instead of creating new immutable copies, and improper tea.Cmd or tea.Batch usage. The Skill identifies these patterns and verifies non-blocking operations and immutable model updates across your codebase.

How should I structure terminal UI components using the Elm architecture?

Structure components with clear separation: immutable Model for state, pure View functions for rendering, and Update functions that return new Models with tea.Cmd values for effects. The Skill reviews subcomponent composition and proper message handling to ensure architectural conformance in Bubbles-based UIs.