ClaudeCodeMod

All shelves / Marketplaces

aperepel/textual-tui-skill

aperepel/textual-tui-skill · 38 stars · 1 plugin

Marketplace Marketplace for Textual TUI development skills

Install

In Claude Code
/plugin marketplace add aperepel/textual-tui-skill

Run inside Claude Code, then install plugins from it. Check the repo's README before you run it.

Open the repo

Plugins 1

After adding the marketplace, install one with /plugin install <name>@textual-tui-marketplace.

  1. 1textual-tuiComprehensive skill for Claude Code to build professional terminal user interfaces with Textual. Includes 40+ widgets, layouts, styling, reactive programming, and worker patterns./plugin install textual-tui@textual-tui-marketplacev1.0.0development

Files

README.md

Textual TUI Skill

A comprehensive skill for Claude Code to build professional terminal user interfaces with Textual.

Version: 1.0.0 (active development)

Overview

This skill enables Claude Code to generate production-quality terminal user interface applications using the Textual framework. It includes comprehensive documentation, examples, and patterns for building modern TUI applications.

Features

  • 40+ Widgets - Complete coverage of all Textual widgets with examples
  • Layout System - Vertical, horizontal, grid, and dock layouts
  • Styling - Full CSS/TCSS styling guide with themes
  • Reactive Programming - Patterns for automatic UI updates
  • Background Tasks - Worker patterns for non-blocking operations
  • Official Docs Integration - Index with web_fetch URLs for on-demand documentation
  • Example Applications - Four complete working examples

Installation

For Claude Code Users
  1. Download textual-tui.skill from the releases
  2. Install in Claude Code
  3. The skill activates automatically for TUI development
For Skill Development
# Clone the repository
git clone https://github.com/yourusername/textual-tui-skill.git
cd textual-tui-skill

# Install dependencies (for testing examples)
pip install textual textual-dev psutil

# Package the skill
python scripts/package.py

Quick Start

from textual.app import App, ComposeResult
from textual.widgets import Header, Footer, Button

class MyApp(App):
    def compose(self) -> ComposeResult:
        yield Header()
        yield Button("Click me!")
        yield Footer()
    
    def on_button_pressed(self) -> None:
        self.notify("Button clicked!")

if __name__ == "__main__":
    MyApp().run()

Documentation

What's Included

Core Documentation (skill/SKILL.md)
  • Quick start and installation
  • Core architecture patterns
  • Layout system
  • CSS styling guide
  • Event handling
  • Advanced patterns
  • Testing strategies
Reference Files (skill/references/)
  • widgets.md - Gallery of 40+ widgets
  • layouts.md - Layout patterns and recipes
  • styling.md - Complete TCSS guide
  • official-guides-index.md - Index of official Textual documentation
Example Applications (examples/)
  • todo_app.py - Todo list with state management
  • dashboard_app.py - System monitor with live updates
  • data_viewer.py - JSON/CSV file viewer
  • worker_demo.py - Background task patterns

Structure

textual-tui-skill/
├── skill/                      # Skill source files
│   ├── SKILL.md               # Main skill documentation
│   ├── references/            # Reference documentation
│   │   ├── widgets.md
│   │   ├── layouts.md
│   │   ├── styling.md
│   │   └── official-guides-index.md
│   └── assets/                # Example applications
│       ├── todo_app.py
│       ├── dashboard_app.py
│       ├── data_viewer.py
│       ├── worker_demo.py
│       └── README.md
├── examples/                   # Standalone examples (symlink)
├── docs/                       # Additional documentation
├── scripts/                    # Build and package scripts
│   └── package.py
├── .gitignore
├── LICENSE
├── README.md
└── CONTRIBUTING.md

Example Applications

Todo List

Full-featured todo application demonstrating input handling, list views, and reactive state.

python examples/todo_app.py
System Dashboard

Real-time system monitor with CPU/memory charts and metrics.

python examples/dashboard_app.py
Data Viewer

JSON/CSV file viewer with table and tree views.

python examples/data_viewer.py
Worker Demo

Background task processing with progress updates and cancellation.

python examples/worker_demo.py

Development

Building the Skill
# From repository root
python scripts/package.py

This creates textual-tui.skill ready for distribution.

Testing Examples
# Install dependencies
pip install textual textual-dev psutil

# Run with hot reload
textual run --dev examples/todo_app.py

Resources

License

MIT License - see LICENSE file for details.

Contributing

Contributions are welcome! See CONTRIBUTING.md for guidelines.

Version History

1.0.0 (Current)

  • Initial release
  • Full widget and layout coverage
  • Complete styling guide
  • Four example applications
  • Official documentation index

Built for Claude Code • Powered by Textual

Facts

Kind
Marketplace
Repo
aperepel/textual-tui-skill
Group
Uncategorized
Stars
38
Marketplace name
textual-tui-marketplace
Owner
aperepel
License
MIT
Language
Python
Created
2025-11-04
Last push
2025-11-04
Forks
7
Plugins
1

From the same owner

  1. 998aperepel/claude-mlx-ttsaperepel/claude-mlx-tts11