aperepel/textual-tui-skill
aperepel/textual-tui-skill · 38 stars · 1 plugin
Marketplace Marketplace for Textual TUI development skills
Install
/plugin marketplace add aperepel/textual-tui-skillRun inside Claude Code, then install plugins from it. Check the repo's README before you run it.
Plugins 1
After adding the marketplace, install one with /plugin install <name>@textual-tui-marketplace.
- 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-marketplace
Files
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
- Download
textual-tui.skillfrom the releases - Install in Claude Code
- 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
- Skill Guide - Complete guide to using the skill
- Examples - Working example applications
- Contributing - How to contribute to the skill
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+ widgetslayouts.md- Layout patterns and recipesstyling.md- Complete TCSS guideofficial-guides-index.md- Index of official Textual documentation
Example Applications (examples/)
todo_app.py- Todo list with state managementdashboard_app.py- System monitor with live updatesdata_viewer.py- JSON/CSV file viewerworker_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
- Textual Documentation: https://textual.textualize.io/
- Textual GitHub: https://github.com/Textualize/textual
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
{
"name": "textual-tui-marketplace",
"owner": {
"name": "aperepel",
"email": "aperepel@users.noreply.github.com"
},
"metadata": {
"description": "Marketplace for Textual TUI development skills",
"version": "1.0.0"
},
"plugins": [
{
"name": "textual-tui",
"source": "./",
"version": "1.0.0",
"description": "Comprehensive skill for Claude Code to build professional terminal user interfaces with Textual. Includes 40+ widgets, layouts, styling, reactive programming, and worker patterns.",
"author": {
"name": "Textual TUI Skill Contributors",
"url": "https://github.com/aperepel/textual-tui-skill"
},
"license": "MIT",
"repository": "https://github.com/aperepel/textual-tui-skill",
"homepage": "https://github.com/aperepel/textual-tui-skill",
"category": "development",
"tags": [
"textual",
"tui",
"terminal",
"terminal-ui",
"cli",
"console",
"python",
"ui-framework",
"widgets",
"reactive",
"claude-code",
"skill"
],
"keywords": [
"textual",
"terminal user interface",
"TUI",
"CLI application",
"console UI",
"terminal framework",
"Python TUI",
"terminal widgets",
"reactive UI",
"terminal styling"
]
}
]
}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