build-tui-view
БесплатноБез исполняемых скриптовНе проверенProvides instructions for building Hatchet TUI views in the Hatchet CLI.
Об этом скилле
📝 SELF-UPDATING DOCUMENT: This skill automatically updates itself when inaccuracies are discovered or new patterns are learned. Always verify information against the actual codebase and update this file when needed.
Overview
This skill provides instructions for creating and maintaining Terminal User Interface (TUI) views in the Hatchet CLI using bubbletea and lipgloss. The TUI system uses a modular view architecture where individual views are isolated in separate files within the views/ directory.
IMPORTANT: Always start by finding the corresponding view in the frontend application to understand the structure, columns, and API calls.
Self-Updating Skill Instructions
CRITICAL - READ FIRST: This skill document is designed to be continuously improved and kept accurate.
When to Update This Skill
You MUST update this skill file in the following situations:
Discovering Inaccuracies
- When you find incorrect file paths or directory structures
- When code examples don't compile or don't match actual implementations
- When API signatures have changed
- When referenced files don't exist at specified locations
Learning New Patterns
- When implementing a new view and discovering better approaches
- When the user teaches you new conventions or patterns
- When you find reusable patterns that should be documented
- When you discover common pitfalls that should be warned about
Finding Missing Information
- When you need information that isn't documented here
- When new components or utilities are added to the codebase
- When new bubbletea/lipgloss patterns are adopted
User Corrections
- When the user corrects any information in this document
- When the user provides updated approaches or conventions
- When the user points out outdated information
How to Update This Skill
When updating this skill:
- Verify Before Adding: Always verify paths, code, and API signatures against the actual codebase before adding to this document
- Use Read/Glob/Grep: Check the actual files to ensure accuracy
- Test Code Examples: Ensure code examples compile and follow current patterns
- Be Specific: Include exact file paths, function signatures, and working code examples
- Update Immediately: Make updates as soon as inaccuracies are discovered, not at the end of a session
- Preserve Structure: Maintain the existing document structure and formatting
- Add Context: When adding new sections, explain why the pattern is recommended
Verification Checklist
Before using information from this skill, verify:
- File paths exist and are correct
- Code examples match current implementations
- API signatures match the generated REST client
- Reusable components are correctly referenced
- Directory structures are accurate
Self-Correction Process
If you discover an inaccuracy while working:
- Immediately note the issue
- Verify the correct information by reading the actual files
- Update this skill document with the correction
- Continue with the user's task using the corrected information
Remember: This skill should be a living document that grows more accurate and comprehensive with each use.
Project Context
- Framework: bubbletea (TUI framework)
- Styling: lipgloss (style definitions)
- TUI Command Location:
cmd/hatchet-cli/cli/tui.go - Views Location:
cmd/hatchet-cli/cli/tui/directory - Theme: Pre-defined Hatchet theme in
cmd/hatchet-cli/cli/internal/styles/styles.go - Frontend Reference:
frontend/app/src/pages/main/v1/directory
Finding Frontend Prior Art
CRITICAL FIRST STEP: Before implementing any TUI view, locate the corresponding frontend view to understand:
- Column structure and names
- API endpoints and query parameters
- Data types and fields used
- Filtering and sorting logic
Process for Finding Frontend Reference:
Locate the Frontend View
# Navigate to frontend pages cd frontend/app/src/pages/main/v1/ # Find views related to your feature (e.g., workflow-runs, tasks, events) ls -laStudy the Column Definitions
- Look for files like
{feature}-columns.tsx - Note the column keys, titles, and accessors
- Example:
frontend/app/src/pages/main/v1/workflow-runs-v1/components/v1/task-runs-columns.tsx
export const TaskRunColumn = { taskName: "Task Name", status: "Status", workflow: "Workflow", createdAt: "Created At", startedAt: "Started At", duration: "Duration", };- Look for files like
Identify the Data Hook
- Look for
use-{feature}.tsxfiles in thehooks/directory - These contain the API query logic
- Example:
frontend/app/src/pages/main/v1/workflow-runs-v1/hooks/use-runs.tsx
- Look for
**Find the API Q
Установить build-tui-view в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл build-tui-view?
Provides instructions for building Hatchet TUI views in the Hatchet CLI.
Как установить скилл build-tui-view?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл build-tui-view запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic