Index of every page on this site: llms.txt
All skills
meza avatar

/charm-tui

@982e21e
by mezameza/skills2 stars
Run it yourself

Design, build, refactor, and review Go terminal interfaces using Bubble Tea, Bubbles, Lip Gloss, and Bubblebook. Use whenever work involves Charm TUI components, message routing, focus, terminal layout, styling, component stories, or UI tests. Teaches one native v2 architecture with a coordinating root, reusable components, and isolated Bubblebook stories. Does not cover unrelated Charm services or authorize a v1 migration.

Use this Skill: https://skilld.dev/gh/meza/skills/charm-tui

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

README.md

≈829 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Charm TUI

Charm TUI guides an agent building Go terminal interfaces with Bubble Tea v2, Bubbles v2, Lip Gloss v2, and Bubblebook. It teaches one architecture: a root coordinates the application, components own their local behavior, and thin story adapters expose the same components in the catalogue.

The skill covers input and focus ownership, asynchronous work, terminal geometry, semantic styles, deterministic tests, and isolated component development. It respects the existing project's scope and does not automatically migrate a v1 application.

Install with npx skills

Install the skill into the current project:

npx skills add meza/skills --skill charm-tui

Install it globally for Codex:

npx skills add meza/skills --skill charm-tui --agent codex --global

Install it globally for Claude Code:

npx skills add meza/skills --skill charm-tui --agent claude-code --global

After installation, ask your agent to build, refactor, or review a Charm interface. For example:

Build a searchable results component with loading and error states, tests,
and Bubblebook stories for my Charm v2 application.

Bubblebook stories

Use meza/bubblebook, the native Bubble Tea v2 catalogue, to inspect fresh instances of the same components used by the application. Stories share controlled fixture inputs with component tests.

The story reference explains fixture ownership, the preview lifecycle, and verification. The agent's complete instructions are in SKILL.md.

Worked guidance

The skill pairs its architectural rules with practical references:

Reference What you can learn and apply
Component design Contracts and comparisons, with task routes to the complete Results example, input routing, effects and ordering, and lifecycle/Bubbles lessons
Layout and style Calculate outer and content sizes; inject semantic styles; handle ANSI and Unicode; position a real cursor through nested geometry
Testing Select the applicable layers, then read the component, effects/time, rendering/golden, parent-routing, or runtime test guide
Bubblebook stories Share fixtures, build a thin story adapter, register fresh factories, inspect edge states, and preserve preview lifecycle behavior
Performance and debugging Select CI/delivery, rendering performance, terminal debugging, or recording guidance for the current task
Library support Maintain a published component library's versioned Go and dependency support contract

Start with component design and follow the references for the task at hand. The tables explain the selected approach; the diagrams and code show how its parts connect. All examples use the same root-and-components architecture. The task routers require every guide applicable to the work; related examples retain explicit prerequisite links. Each lesson keeps its code, assumptions, and verification guidance together.

Repository changes follow the contribution guide.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The Charm TUI skill provides architectural guidance and practical examples for building terminal user interfaces in Go using the Bubble Tea ecosystem. It promotes best practices like component isolation, deterministic rendering, and comprehensive testing. No malicious code, data exfiltration, or obfuscation patterns were detected.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 982e21e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 weeks ago.

Activeupdated 3 months ago

README badge

README badge for meza/skills/charm-tui