Tcl explain

From bitwisecook/tcl-lsp · View interactive version

Tcl explain is an AI agent skill from the GitHub repository bitwisecook/tcl-lsp. Explain what a Tcl script does by breaking down procedures, data flow, and overall structure. Uses LSP analysis for accurate context including call graphs and diagnostic insights. Use when explaining Tcl code, understanding what a .tcl file does, analysing Tcl script structure, or answering question

How to use this skill

Skill file

Tcl Explain

Steps

  1. Read ../_prompts/tcl_system.md, then the file.
  2. Call mcp__tcl-lsp__analyze (diagnostics, symbols, events) and

mcp__tcl-lsp__call_graph (caller→callee graph, roots, leaves) with the

contents as source. If analysis fails (e.g. syntax errors), explain from

the source alone and say LSP analysis was unavailable.

  1. Explain, focusing on any specific question the user asked.

Output

$ARGUMENTS

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.