Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ For more background on why distributing agent skills through package managers ma
| [Polars](https://pola.rs) | `agent-skill-polars` | DataFrame library for fast data manipulation |
| [rattler-build](https://rattler.build) | `agent-skill-rattler-build` | Build conda packages with rattler-build |
| [SQLAlchemy](https://www.sqlalchemy.org) | `agent-skill-sqlalchemy` | Python SQL toolkit and ORM |
| [textual](https://github.com/textualize/textual/) | `agent-skill-textual` | Python TUI framework |
| [Typst](https://typst.app) | `agent-skill-typst` | Modern markup-based typesetting system |

## Usage
Expand Down
18 changes: 18 additions & 0 deletions recipes/textual/PROMPT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Textual skill with documentation from https://github.com/Textualize/textual

## Structure

- `SKILL.md` - Main skill file with core Textual concepts, App/Widget/CSS overview, and patterns
- `references/WIDGETS.md` - Complete built-in widget reference with constructors, events, and usage
- `references/CSS.md` - CSS properties, types, selectors, and units reference
- `references/EVENTS.md` - Events, messages, reactive system, and the @on decorator
- `references/SCREENS.md` - Screen management, modals, modes, and screen lifecycle
- `references/TESTING.md` - Testing with Pilot, assertions, and snapshot testing
- `references/WORKERS.md` - Async workers, thread workers, and the @work decorator

## Content Guidelines

- Focus on practical patterns: how to compose widgets, handle events, style with CSS
- Widget reference should cover constructor parameters, events emitted, and key methods
- CSS reference should include both TCSS syntax and Python `styles` object equivalent
- Prioritize the compose/message/reactive pattern over low-level rendering
Loading
Loading