CLI 树¶
chatskill --tree / chatskill --tree-brief 由 ChatStyle 从真实注册的 Click command surface 生成。当前 ChatSkill 有 list 和 install 两个真实子命令。
完整命令树¶
chatskill
├── --help # Show this message and exit.
├── --version # Show the version and exit.
├── --tree # Print the registered CLI tree and exit.
├── --tree-brief # Print the registered CLI tree without parameter signatures and exit.
├── install [NAME] [--all] [--platform PLATFORM-NAME] [--source SOURCE-DIR] [--dest DEST-DIR] [--prefix] [--force] # Validate and copy skills to a target directory; writes or overwrites files.
└── list [--source SOURCE-DIR] # List available skills from an external source directory; read-only.
简明命令树¶
chatskill
├── --help # Show this message and exit.
├── --version # Show the version and exit.
├── --tree # Print the registered CLI tree and exit.
├── --tree-brief # Print the registered CLI tree without parameter signatures and exit.
├── install # Validate and copy skills to a target directory; writes or overwrites files.
└── list # List available skills from an external source directory; read-only.
状态契约¶
chatskill --help必须暴露--tree和--tree-brief。chatskill --tree必须 exit 0,列出真实注册命令/选项及签名。chatskill --tree-brief必须列出相同节点,但省略参数与选项签名。list只读取外部 source,并输出文本列表;不安装内容、不输出配置值。install会先校验SKILL.mdfrontmatter,再复制到目标平台目录;--force可覆盖已存在目录。