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.

referencestesting-routing.md

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

Root routing tests

Read this when designing, building, reviewing, or testing root input routing, focus, modal precedence, resize, lifecycle, or result ownership.

If you have not selected the applicable test layers for the current task, read the testing guide first. Read every applicable guide it selects.

Test the root's routing decisions

Use distinct initial states and identifiers so accidental broadcasting is observable. Choose cases relevant to the parent being changed:

Input or transition Expected recipient Check
Key while modal is open Modal, except the root's explicit global policy Editor and underlying list remain unchanged
Key with editor focus Editor List selection remains unchanged
List movement with list focus Results operation Editor value remains unchanged
Background load result Matching owner/request Works even when that owner lacks input focus
Obsolete load result Nobody Current data, loading, and error remain unchanged
Widget tick Owning widget lifecycle Returned next command survives without broadcasting input
Resize Root allocation, then each affected child once Correct child rectangle and preserved command
Mouse at a component edge Region containing the cell Local coordinates use actual layout origin
Owner replacement New instance, old supported work cancelled Old results and recurring work do not revive old state
Focus transfer Previous blur and next focus One focused visible cursor; focus command survives

Use a sentinel message from a child command to detect command loss. Do not assert that a command is merely non-nil when delivering its result is what matters.

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