CtrlK
BlogDocsLog inGet started
Tessl Logo

tpscloud/charmedimsure

Source-verified skills for the Charm terminal stack: Bubble Tea v2, Bubbles v2, Lip Gloss v2, Huh v2, Log v2, Glamour v2, plus the gum and vhs CLIs.

100

1.02x
Quality

100%

Does it follow best practices?

Impact

100%

1.02x

Average score across 9 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

Overview
Quality
Evals
Security
Files

migration.mdskills/charmed-huh/references/

Migrating from Huh v1

How v1 (github.com/charmbracelet/huh) code maps onto v2.0.3 (charm.land/huh/v2), and how to check the result.

v1v2
github.com/charmbracelet/huhcharm.land/huh/v2
huh.ThemeCharm() returning *Themehuh.ThemeCharm(isDark) returning *Styles
Theme structTheme interface; ThemeFunc(func(bool) *Styles)
field.WithAccessible(true)removed; use form.WithAccessible(true)
huh/accessibility packageremoved
Input.Password(true)EchoMode(huh.EchoModePassword)
lipgloss.Position from v1 lipglossfrom charm.land/lipgloss/v2
outer Bubble Tea model View() stringouter model View() tea.View

New in v2: WithViewHook, Width(int) on MultiSelect, exported huh.Model. See the v2.0.3 upgrade guide, but use the theme wrapper and outer tea.View shown in this skill; some guide examples do not match the pinned APIs. The upstream README also still shows the v1 View() string outer model.

Checking a migration

  1. Run your application's tests, fix failures, and rerun.
  2. In a terminal, check required-field validation, back navigation, cancellation, dynamic options, and completion.
  3. Check accessible mode separately (accessible.md).
  4. Resize an embedded form to verify its width and final output.

README.md

tile.json