跳转至

CLI 树

chatskill --tree / chatskill --tree-brief 由 ChatStyle 从真实注册的 Click command surface 生成。当前 ChatSkilllistinstall 两个真实子命令。

完整命令树

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.md frontmatter,再复制到目标平台目录;--force 可覆盖已存在目录。