tk-create

Generates Tcl/Tk GUI code from natural language using ttk widgets and grid geometry.

59|6|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/bitwisecook/tcl-lsp --skill tk-create
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tk-create
Source: https://github.com/bitwisecook/tcl-lsp/tree/main/ai/claude/skills/tk-create
Command: npx skills add https://github.com/bitwisecook/tcl-lsp --skill tk-create

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of Tk GUI code, ensuring it adheres to best practices and is validated for correctness.

Core Features & Use Cases

  • Generates Tcl/Tk code for GUIs based on user descriptions.
  • Validates generated code using a Tcl LSP for errors and warnings.
  • Iteratively fixes issues until the code is clean.
  • Supports both ttk and classic Tk widgets.
  • Utilizes the grid geometry manager for complex layouts.

Quick Start

Generate Tk GUI code for a simple calculator interface.

Frequently Asked Questions about tk-create

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Tcl/Tk GUI code from a natural language description?

Yes, this tool validates generated Tcl/Tk code using a Language Server Protocol (LSP). It iteratively refines the code over multiple passes to identify and correct geometry conflicts or invalid widget paths until the application is clean.

Does Tk GUI generation support both classic Tk and ttk widgets?

Tk GUI generation supports both ttk and classic Tk widgets. This allows you to choose the appropriate widget set for your interface while utilizing the grid geometry manager for layout management.

How do I fix invalid widget paths or geometry conflicts in Tcl/Tk code?

To fix invalid widget paths or geometry conflicts in Tcl/Tk code, an LSP validation process runs iteratively. It automatically identifies these errors and refines the code over multiple passes until the output is functional.

What is the best way to create a simple Tk calculator interface from text?

The best way to create a simple Tk calculator interface is to describe its layout in natural language. The system translates this into Tcl/Tk code, applying the grid geometry manager to structure the buttons and display.