tui-textarea

Solid

Generate and render a pixel-precise ASCII TUI Textarea component with complete output blocks (TUI_RENDER, COMPONENT_SPEC, PENCIL_SPEC, PENCIL_BATCH_DESIGN) for Pencil MCP drawing workflows. Use when the user asks to create a textarea in a terminal UI, text-based interface, or Pencil MCP project.

Web & Frontend 423 stars 75 forks Updated 1 weeks ago NOASSERTION

Install

View on GitHub

Quality Score: 75/100

Stars 20%
87
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

## Purpose - Produce an ASCII Text UI (TUI) representation of **Textarea**. - Always output layout attributes (top/left/width/height, spacing, colors, typography, zIndex). - Always output Pencil MCP–ready specs and a `batch_design` plan (≤25 operations per call). ## Workflow 1. **Parse input** — Read the input model JSON (widthCols, grid, props, state, style, typography, layout, hotkeys). 2. **Calculate layout** — Convert column/row positions to pixel coordinates using the grid (cellWidthPx=8, cellHeightPx=16). 3. **Render TUI_RENDER** — Build the monospace ASCII art with box-drawing characters, respecting widthCols. 4. **Build COMPONENT_SPEC** — Emit the JSON spec with bbox, style, typography, state, and hotkeys. 5. **Build PENCIL_SPEC** — Emit the canvas and component list for Pencil MCP. 6. **Plan PENCIL_BATCH_DESIGN** — Emit batch_design calls (max 25 ops per call) to create the design in Pencil. 7. **Validate** — Verify bbox dimensions in COMPONENT_SPEC match the TUI_RENDER grid; confirm batch ops stay within the 25-op limit. ## Input Model (Recommended) ```json { "widthCols": 70, "grid": { "cellWidthPx": 8, "cellHeightPx": 16 }, "props": {}, "modelValue": null, "state": { "focused": false, "disabled": false, "loading": false, "error": null }, "style": { "fillColor": "#ffffff", "textColor": "#111111", "strokeColor": "#e5e7eb", "strokeThickness": 1, "cornerRadius": 12 }, "typography": { "fontFamily": "Inter", "fontSize": 14, "fontW...

Details

Author
partme-ai
Repository
partme-ai/full-stack-skills
Created
4 months ago
Last Updated
1 weeks ago
Language
Python
License
NOASSERTION

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

visualize

Render rich interactive visuals — SVG diagrams, HTML widgets, Chart.js charts, interactive explainers — directly inline in chat using the render_visualization tool. Use whenever the user asks to visualize, diagram, chart, draw, map out, or illustrate something, or when a topic has spatial, sequential, or systemic relationships a diagram would clarify better than prose. Also use proactively for data comparisons, metrics, architecture, processes, or mechanisms that benefit from a visual.

367 Updated 4 days ago
Classic298
Web & Frontend Solid

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

1,041 Updated 3 days ago
dtsola
Web & Frontend Solid

frontend-design

Design and build production-ready frontend interfaces with design systems, responsive layouts, accessible components, and dark mode support.

91 Updated 2 months ago
seb1n
Web & Frontend Featured

ckmdesign-system

Token architecture, component specifications, and slide generation. Three-layer tokens (primitive→semantic→component), CSS variables, spacing/typography scales, component specs, strategic slide creation. Use for design tokens, systematic design, brand-compliant presentations.

62,072 Updated 1 months ago
nextlevelbuilder
AI & Automation Featured

terminal-emulator

Test interactive CLI/TUI applications using @microsoft/tui-test. Use when you need to test CLI tools with interactive prompts, TUI rendering, arrow key navigation, or any command that requires a TTY. Triggers include "test CLI", "test TUI", "run interactively", "automate terminal input", "simulate user input in terminal".

21,207 Updated 3 days ago
slopus