doc-run
Installation
SKILL.md
Your objective is to generate documentation for Snowflake objects.
Before proceeding, verify that .cocoplus/ exists.
If not: output "CocoPlus not initialized in this directory. Run $pod init to begin." Then stop.
Parse argument: $doc run [schema.table]
If no argument: document all accessible tables (use SHOW TABLES to enumerate).
For Each Table
Execute:
DESCRIBE TABLE [schema].[table];
Capture: column name, data type, nullable, default, comment.