a9s-bt-v2
Bubble Tea v2 / Lipgloss v2 / Bubbles v2 API patterns for TUI-touching agents
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Bubble Tea v2 / Lipgloss v2 / Bubbles v2 API patterns for TUI-touching agents
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Recipe for adding a list-view attention column to a resource type — handles Tier A (existing field), Tier B (computed/Wave-2), and the FieldUpdates promotion path. Optimized to avoid the rediscovery overhead that plagued the first Tier A sweep.
Bug-hunting workflow for a9s using real AWS data, grounded in docs first, then live behavior, then code. Use for EC2-detail and related-view QA where existing tests may be misleading.
Shared rules for all a9s agents — shell rules, package access, build/test commands
Create or update the single-source fixture file for a resource type under `core/demo/fixtures/<shortName>.go`. Use when the coder is given a fixture-creation task during phase 6 of `a9s-implement-resource`, or any time a resource type needs new demo/test data (new states, new edge cases, new spec coverage). Takes a plain-language fixture list (typically from `docs/resources/<shortName>-impl-plan.md` §2) and produces realistic, graph-connected AWS SDK typed fakes that both `./a9s --demo` and the unit test suite import. Cross-references sibling fixture files so every related-panel pivot renders a non-zero count. Never creates orphan fixtures — a DB instance fixture without matching KMS keys, security groups, alarms, and CloudTrail events is a bug, not a feature. Adversarial / malformed fixtures (nil pointers, error cases) stay inline in tests and are explicitly out of scope for this skill.
End-to-end workflow for implementing a GitHub issue — from analysis through QA stories, design, scoped tasks, implementation, pre-release checks, and release prep. Use for any issue that is NOT a new-resource or child-view (those have their own skills).
Implement (or re-implement) an a9s resource type from its golden UX/UI spec at `docs/resources/<shortName>.md`. Use whenever the user asks to "implement", "wire up", "finish", "fix", or "rebuild" a resource that already has a spec doc — including cases where partial, stubbed, or buggy code exists and must be replaced. Treats the spec doc as the contract and the existing implementation as disposable. Reads ONLY the spec doc and four contract-surface files (`<shortName>_interfaces.go`, `<shortName>_related.go`, `<shortName>_issue_enrichment.go`, `<shortName>_detail_enrichment.go`); never reads existing tests or fetchers. Dispatches `a9s-qa` and `a9s-coder` with scoped file lists. Cleans up stubs and "pretend to work" code tied to TBDs. Trigger this for any request that names a resource shortName and asks for implementation, tests, fixtures, or cleanup — even if the user doesn't explicitly mention the spec doc.
| name | a9s-bt-v2 |
| description | Bubble Tea v2 / Lipgloss v2 / Bubbles v2 API patterns for TUI-touching agents |
charm.land/bubbletea/v2 v2.0.6)Init() tea.Cmd — NOT (tea.Model, tea.Cmd) (that was BT v1)View() tea.View via tea.NewView(string) — child views return stringUpdate() (tea.Model, tea.Cmd) — child Update() (ConcreteType, tea.Cmd)tea.Cmd — NEVER block in Update()tea.Tick(duration, func(time.Time) tea.Msg) tea.Cmd for timerscharm.land/lipgloss/v2 v2.0.3)lipgloss.Width(s) for ANSI-aware width — NEVER len(s)lipgloss.NewStyle().Foreground(color).Bold(true).Render(text)lipgloss.Place for frame construction — frames are manual per design speccharm.land/bubbles/v2 v2.1.0)viewport.New(viewport.WithWidth(w), viewport.WithHeight(h)) — NOT viewport.New(w, h)vp.SetWidth(w), vp.SetHeight(h), vp.SetContent(s) — NOT field assignmentkey.NewBinding(key.WithKeys(...), key.WithHelp(...)) + key.Matches(msg, binding)internal/tui/keys/keys.go — no inline key.NewBindingRead BT/Lipgloss/Bubbles source directly from:
~/go/pkg/mod/charm.land/bubbletea/v2@v2.0.6/~/go/pkg/mod/charm.land/lipgloss/v2@v2.0.3/~/go/pkg/mod/charm.land/bubbles/v2@v2.1.0/