bubbletea-code-review

Review BubbleTea code for Elm-architecture correctness and Lipgloss styling.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/TrollHeap/dotfiles --skill bubbletea-code-review-trollheap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bubbletea-code-review
Source: https://github.com/TrollHeap/dotfiles/tree/main/ai-config/.claude/templates/bubbletea/.claude/skills/bubbletea-code-review
Command: npx skills add https://github.com/TrollHeap/dotfiles --skill bubbletea-code-review-trollheap

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

BubbleTea code reviews are error-prone without a structured framework that enforces Elm architecture, proper model/update/view patterns, and Lipgloss styling. This skill provides a concise checklist and guidance to identify anti-patterns and maintain code quality.

Core Features & Use Cases

  • Architecture validation: checks for correct Elm architecture: immutable model, Update handling, and appropriate tea.Cmd usage.
  • View & styling checks: ensures View functions are pure and Lipgloss styles are defined once.
  • Component guidance: validates sub-component updates, window resizing, and integration with BubbleTea components.
  • Use Case: QA engineers or code reviewers can run this skill to audit a BubbleTea project and produce a structured improvement report.

Quick Start

Analyze a BubbleTea project by providing the repository path or code files to scan.

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 code for Elm architecture correctness?

Review BubbleTea code by validating immutable model updates, non-blocking I/O in Update functions, and proper tea.Cmd usage. This skill checks model/update/view patterns to ensure terminal UI projects maintain correct Elm architecture and produce a structured improvement report.

What are common anti-patterns in BubbleTea model and update functions?

Common BubbleTea anti-patterns include mutating the model directly instead of returning immutable copies, performing blocking I/O operations inside Update, and misusing tea.Cmd for asynchronous tasks. This skill identifies these issues during code reviews to maintain proper architecture.

How do I validate Lipgloss styling consistency across BubbleTea components?

Validate Lipgloss styling by ensuring View functions remain pure and Lipgloss styles are defined once rather than recreated on each render. This skill audits terminal UI projects to enforce design consistency and proper styling patterns across components.

Can I use this to check sub-component updates and window resizing in BubbleTea?

Yes, this skill validates sub-component updates, window resizing handling, and integration with BubbleTea components. It audits how components communicate and ensures update patterns align with the Elm architecture referenced in official BubbleTea documentation.

Does this skill work for QA checks on existing terminal UI projects?

Yes, QA engineers and code reviewers can run this skill to audit existing BubbleTea projects. Provide the repository path or code files to scan, and it produces a structured improvement report covering architecture validation and styling checks.