Repository inventory

dimitrigilbert/ai-skills

Skills indexed from this repository, with install-style signals scoped to the repo.
5 skills0 GitHub stars0 weekly installsTypeScriptGitHubOwner profile

Overview

This skill provides expert assistance for scaffolding OpenTUI projects, selecting templates, and exploring examples and learning paths. It helps you bootstrap apps, build reusable components, and follow best practices for terminal UI development with TypeScript. Use it to accelerate project setup, pick appropriate templates, and learn progressive skills from beginner to advanced.

How this skill works

I guide you through quick-start commands (create-tui), manual project structure, and recommended tsconfig/package.json settings. I show template code for minimal apps, CLI tools, dashboards, forms, and components (Button, Modal) and explain how to run official examples. I also provide curated learning paths and practical best-practice recommendations to prepare projects for production.

When to use it

  • When you need a fast project scaffold or want to use create-tui to bootstrap an app.
  • When choosing a template (minimal, CLI, dashboard, form, editor, game) for a specific use case.
  • When building reusable components like buttons, modals, or layout groups.
  • When learning OpenTUI incrementally via structured beginner→advanced paths.
  • When exploring example apps to copy patterns or run demos locally.

Best practices

  • Organize src into clear folders: app, components, hooks, stores, utils, types.
  • Keep components single-responsibility and compose complex UI from small pieces.
  • Define clear TypeScript props interfaces and use strict tsconfig for safety.
  • Memoize expensive computations and optimize list rendering to reduce re-renders.
  • Provide error handling and test components with realistic data before production.

Example use cases

  • Create a minimal hello-world terminal UI to learn core renderables and layout.
  • Build a CLI tool with menu and boxed sections using BoxRenderable and TextRenderable.
  • Assemble a multi-panel dashboard combining GroupRenderable and BoxRenderable.
  • Create a form-based data entry app with InputRenderable, focus management and submit handling.
  • Develop reusable UI primitives (Button, Modal) and export getRenderable() for composition.

FAQ

Use the recommended command: bun create tui my-app or npm create tui my-app, optionally passing --template <name> like dashboard or form-app.

What core files should I include in a manual setup?

At minimum include package.json, tsconfig.json, and src/main.tsx plus folders for components and utils. Use createCliRenderer and createRoot in main.tsx to bootstrap the app.

Which template is best for building an interactive form?

Use the form-app template. It demonstrates InputRenderable, layout with GroupRenderable, focus handling, and a submit control.

5 skills

More from this maintainer
Other repositories and skills published under the same GitHub owner.
Skills library
Jump back to the full directory or explore grouped topics.
Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational