/pproenca:terminal-uifrom pproenca
Provides performance and UX guidelines for building TypeScript terminal UIs with Ink and Clack. Covers rendering, input handling, component patterns, and robust CLI design.
Ships in pproenca. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Comprehensive developer experience guide for building TypeScript terminal user interfaces using Ink (React for CLIs) and Clack prompts. Contains 42 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.
Reference these guidelines when:
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Rendering & Output | CRITICAL | render- |
| 2 | Input & Keyboard | CRITICAL | input- |
| 3 | Component Patterns | HIGH | tuicomp- |
| 4 | State & Lifecycle | HIGH | tuistate- |
| 5 | Prompt Design | MEDIUM-HIGH | prompt- |
| 6 | UX & Feedback | MEDIUM | ux- |
| 7 | Configuration & CLI | MEDIUM | tuicfg- |
| 8 | Robustness & Compatibility | LOW-MEDIUM | robust- |
render-single-write - Batch Terminal Output in Single Writerender-overwrite-dont-clear - Overwrite Content Instead of Clear and Redrawrender-synchronized-output - Use Synchronized Output Protocol for Animationsrender-60fps-baseline - Target 60fps for Smooth Animationrender-partial-updates - Update Only Changed Regionsrender-escape-sequence-batching - Defer ANSI Escape Code Generation to Final Outputinput-useinput-hook - Use useInput Hook for Keyboard Handlinginput-immediate-feedback - Provide Immediate Visual Feedback for Inputinput-modifier-keys - Handle Modifier Keys Correctlyinput-isactive-focus - Use isActive Option for Focus Managementinput-escape-routes - Always Provide Escape Routestuicomp-box-flexbox - Use Box Component with Flexbox for Layoutstuicomp-text-styling - Use Text Component for All Visible Contenttuicomp-measure-element - Use measureElement for Dynamic Sizingtuicomp-static-for-logs - Use Static Component for Log Outputtuicomp-percentage-widths - Use Percentage Widths for Responsive Layoutstuicomp-border-styles - Use Border Styles for Visual Structuretuistate-useapp-exit - Use useApp Hook for Application Lifecycletuistate-cleanup-effects - Always Clean Up Effects on Unmounttuistate-functional-updates - Use Functional State Updates to Avoid Stale Closurestuistate-usecallback-stable - Stabilize Callbacks with useCallbacktuistate-usememo-expensive - Memoize Expensive Computations with useMemoprompt-group-flow - Use Clack group() for Multi-Step Promptsprompt-validation - Validate Input Early with Descriptive Messagesprompt-cancellation - Handle Cancellation Gracefully with isCancelprompt-spinner-tasks - Use Spinner and Tasks for Long Operationsprompt-custom-render - Build Custom Prompts with @clack/coreux-progress-indicators - Show Progress for Operations Over 1 Secondux-color-semantics - Use Colors Semantically and Consistentlyux-error-messages - Write Actionable Error Messagesux-next-steps - Show Next Steps After Completionux-intro-outro - Use Intro and Outro for Session Framingtuicfg-sensible-defaults - Provide Sensible Defaults for All Optionstuicfg-env-vars - Support Standard Environment Variablestuicfg-flags-over-args - Prefer Flags Over Positional Argumentstuicfg-help-system - Implement Comprehensive Help Systemtuicfg-json-output - Support Machine-Readable Output Formatrobust-tty-detection - Detect TTY and Adjust Behavior Accordinglyrobust-signal-handling - Handle Process Signals Gracefullyrobust-exit-codes - Use Meaningful Exit Codesrobust-terminal-restore - Always Restore Terminal State on Exitrobust-graceful-degradation - Degrade Gracefully for Limited TerminalsRead individual reference files for detailed explanations and code examples:
For the complete guide with all rules expanded: AGENTS.md
AGENTS.md (opens in a new tab)README.md (opens in a new tab)assets/templates/_template.md (opens in a new tab)metadata.json (opens in a new tab)references/_sections.md (opens in a new tab)references/input-escape-routes.md (opens in a new tab)references/input-immediate-feedback.md (opens in a new tab)references/input-isactive-focus.md (opens in a new tab)references/input-modifier-keys.md (opens in a new tab)references/input-useinput-hook.md (opens in a new tab)references/prompt-cancellation.md (opens in a new tab)references/prompt-custom-render.md (opens in a new tab)references/prompt-group-flow.md (opens in a new tab)references/prompt-spinner-tasks.md (opens in a new tab)references/prompt-validation.md (opens in a new tab)references/render-60fps-baseline.md (opens in a new tab)references/render-escape-sequence-batching.md (opens in a new tab)references/render-overwrite-dont-clear.md (opens in a new tab)references/render-partial-updates.md (opens in a new tab)references/render-single-write.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
48 skills in this plugin
/chrome-extensionchrome-extension-uiChrome Extensions UX/UI design and implementation guidelines for popups, side panels, content scripts, and options pages. Triggers on tasks involving browser extension UI, manifest v3, chrome APIs./chrome-extension-uiChrome Extensions UX/UI design and implementation guidelines for popups, side panels, content scripts, and options pages. Triggers on tasks involving browser extension UI, manifest v3, chrome APIs./clean-architectureProvides implementation patterns for Clean Architecture, Hexagonal Architecture (Ports & Adapters), and Domain-Driven Design in Java 21+ Spring Boot 3.5+ applications. Use when structuring layered architectures, separating domain logic from frameworks, implementing ports and adapters, creating entities/value objects/aggregates, or refactoring monolithic codebases for testability and maintainability./clean-codeApplies principles from Robert C. Martin's 'Clean Code'. Use this skill when writing, reviewing, or refactoring code to ensure high quality, readability, and maintainability. Covers naming, functio.../codemodCodemod (JSSG, ast-grep, workflows) best practices for writing efficient, safe, and maintainable code transformations. This skill should be used when writing, reviewing, or debugging codemods, AST transformations, or automated refactoring tools. Triggers on tasks involving codemod, ast-grep, JSSG, code transformation, or automated migration./code-simplifierSimplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Use when asked to "simplify code", "clean up code", "refactor for clarity", "improve readability", or review recently modified code for elegance. Focuses on project-specific best practices.npx claudepluginhub ulpi-io/plugin-marketplace --plugin pproencaOther plugins' skills for the same job