Trellis command router

From blackplume233/Actant · View interactive version

Trellis command router is an AI agent skill from the GitHub repository blackplume233/Actant. 中转执行 `.cursor/commands` 里的 trellis 系列命令。用户输入 `/trellis-*`、短别名(如 `/ship` `/start` `/qa-fix`)或要求“执行 trellis 命令”时使用。职责是解析命令名、定位对应命令文件、把参数映射为 `{{input}}`,并按原命令规范执行。

How to use this skill

Skill file

Trellis Command Router

Overview

把 Codex 中的 slash 指令路由到既有 Cursor 命令文件,不复制逻辑、不重写流程。

.cursor/commands/*.md 是唯一真相源,路由层只做解析与分发。

Registered Commands

采用显式注册模式:只允许匹配已注册命令,不做隐式自动补全执行。

Resolution Workflow

按以下固定流程执行:

  1. 提取命令与参数
  1. 规范化命令名
  1. 加载并执行命令文件
  1. 输出执行摘要

Non-Goals

Fallback Behavior

当命令无法匹配时:

命令解析细节见:references/command-resolution.md。

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.