Community编程与开发github.com

ComposioHQ/Shortcut-Automation

通过自然语言命令自动化 Shortcut 项目管理流程——创建故事、管理任务、跟踪史诗、组织工作流。

Shortcut-Automation 是什么?

此技能将 Shortcut 项目管理工具与 Claude Code 深度集成,让开发者无需离开终端即可管理项目。它支持通过自然语言指令执行核心操作,如创建故事、批量创建故事、添加任务和评论、列出项目故事、发现工作流状态等。技能基于 Composio 的 Shortcut 工具包,通过 Rube MCP 服务器实现认证和调用。用户只需配置 MCP 服务器并授权 Shortcut 账户,即可使用 8 个专用工具完成从故事创建到工作流查询的完整闭环。特别适合追求终端流式操作的开发者,尤其适合需要频繁创建和管理短故事(Shortcut Story)的敏捷团队。注意技能文档强调了 workflow_state_id 优于 project_id(因 Shortcut 正在弃用 Project),以及批量创建时建议不超过 25 个故事以避免超时等关键限制。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComposioHQ/awesome-codex-skills/tree/main/composio-skills/shortcut-automation

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Shortcut Automation

直接从 Claude Code 自动化 Shortcut 项目管理操作。创建和列出故事、添加任务和评论、批量创建故事、导航工作流——这一切都无需离开终端。

工具包文档: composio.dev/toolkits/shortcut


设置

  1. 将 Rube MCP 服务器添加到你的 Claude Code 配置中,URL 为:https://rube.app/mcp
  2. 提示时,通过提供的连接链接认证你的 Shortcut 账户
  3. 使用自然语言开始自动化你的项目管理工作流

核心工作流

1. 创建故事

向你的 Shortcut 工作区添加新故事,支持完整配置。

工具: SHORTCUT_CREATE_STORY

创建一个名为“添加深色模式支持”的功能故事,工作流状态 ID 为 500000001,估算 5 分,标签为“frontend”

SHORTCUT_CREATE_STORY 的关键参数:

  • name(必需)——故事标题
  • workflow_state_id——故事放置的工作流状态(建议使用,优于 project_id)
  • story_type——"feature"、"bug" 或 "chore"
  • description——故事正文/描述
  • estimate——数字点数估算(或 null 表示未估算)
  • epic_id——关联史诗
  • iteration_id——关联迭代
  • labels——标签对象数组,包含 name(以及可选的 color、description)
  • owner_ids——要分配的成员 UUID 数组
  • deadline——ISO 8601 格式的截止日期
  • tasks——内联任务数组,包含 description 以及可选的 complete、owner_ids
  • comments——内联评论数组,包含 text
  • story_links——使用 verb("blocks"、"duplicates"、"relates to")链接故事

重要: 必须提供 workflow_state_id 或 project_id 中的一个,但不能同时提供。推荐使用 workflow_state_id,因为 Shortcut 正在逐步弃用 Project。

2. 批量创建故事

在单个 API 调用中创建多个故事。

工具: SHORTCUT_CREATE_MULTIPLE_STORIES

创建 3 个缺陷故事:“登录页面 500 错误”、“购物车合计金额舍入问题”和“搜索结果空状态显示异常”
  • 需要 stories 数组,其中每个元素遵循与 SHORTCUT_CREATE_STORY 相同的模式
  • 数组中的每个故事都需要 name
  • 适合批量导入、冲刺规划或基于模板创建故事

3. 列出项目中的故事

检索特定项目中的所有故事。

工具: SHORTCUT_LIST_STORIES

列出项目 42 中的所有故事及其描述
  • 需要 project__public__id(整数项目 ID)
  • 可选 includes_description: true 以在响应中包含故事描述
  • 返回所有故事及其属性(状态、类型、估算等)

4. 管理故事任务

在故事内创建任务(清单)以跟踪子工作项。

工具: SHORTCUT_CREATE_TASK

为故事 12345 添加任务“为深色模式切换编写单元测试”

关键参数:

  • story__public__id(必需)——父故事 ID
  • description(必需)——任务描述
  • complete——布尔值,默认为 false
  • owner_ids——要分配的成员 UUID 数组
  • external_id——如果从外部工具导入,则为外部工具 ID

5. 添加故事评论

在故事上发布评论,用于讨论和文档记录。

工具: SHORTCUT_CREATE_STORY_COMMENT

为故事 12345 添加评论:“已经审查了实现——看起来不错,但需要进行无障碍测试”

关键参数:

  • story__public__id(必需)——故事 ID
  • text(必需)——评论正文
  • author_id——成员 UUID(默认为 API 令牌所有者)
  • parent_id——用于线程回复的父评论 ID

6. 工作流和项目发现

列出工作流和项目以解析创建故事所需的 ID。

工具: SHORTCUT_LIST_WORKFLOWS、SHORTCUT_LIST_PROJECTS

显示我们 Shortcut 工作区中的所有工作流,以便我能找到正确的工作流状态 ID
  • SHORTCUT_LIST_WORKFLOWS 返回所有工作流及其状态(ID、名称、类型)
  • SHORTCUT_LIST_PROJECTS 返回所有项目及其属性
  • 在创建故事前使用这些工具发现有效的 workflow_state_id 和 project_id 值

已知陷阱

  • workflow_state_id vs project_id: SHORTCUT_CREATE_STORY 要求恰好提供其中一个。同时提供或都不提供会导致拒绝。优先使用 workflow_state_id,因为 Project 正在被弃用。
  • Project 正在被弃用: Shortcut 正在弃用 Project,转而采用基于工作流的组织方式。对于新故事,请使用 workflow_state_id。
  • 标签是内联创建的: labels 数组中的标签如果不存在则会即时创建。每个标签对象的 name 字段为必填。
  • 故事类型默认值: 如果省略 story_type,则默认为 "feature"。对于缺陷和杂务,请始终显式设置。
  • 批量限制: SHORTCUT_CREATE_MULTIPLE_STORIES 在单个请求中处理所有故事。非常大的批量可能会超时——请保持批次在 25 个故事以内。
  • 故事/项目的整数 ID: 故事和项目 ID 是整数,而不是 UUID。成员和组 ID 是 UUID。混用这些格式会导致错误。
  • move_to 定位: move_to 字段("first" 或 "last")将故事在其工作流状态下移动,而不是跨状态移动。

快速参考

工具标识描述
SHORTCUT_CREATE_STORY创建单个故事(需要 name + workflow_state_id 或 project_id)
SHORTCUT_CREATE_MULTIPLE_STORIES批量创建多个故事(需要 stories 数组)
SHORTCUT_LIST_STORIES列出项目中的故事(需要 project__public__id)
SHORTCUT_CREATE_TASK在故事中创建任务(需要 story__public__id、description)
SHORTCUT_CREATE_STORY_COMMENT向故事添加评论(需要 story__public__id、text)
SHORTCUT_CREATE_STORY_FROM_TEMPLATE从模板创建故事
SHORTCUT_LIST_WORKFLOWS列出所有工作流及其状态
SHORTCUT_LIST_PROJECTS列出所有项目

由 Composio 提供技术支持

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

ComposioHQ/-21risk-automation

Automate 21risk tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/-2chat-automation

Automate 2chat tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/ably-automation

Automate Ably tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abstract-automation

Automate Abstract tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abuselpdb-automation

Automate Abuselpdb tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abyssale-automation

Automate Abyssale tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/accelo-automation

Automate Accelo tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/accredible-certificates-automation

Automate Accredible Certificates tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/acculynx-automation

Automate Acculynx tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/active-campaign-automation

Automate ActiveCampaign tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/addresszen-automation

Automate Addresszen tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adobe-automation

Automate Adobe tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adrapid-automation

Automate Adrapid tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adyntel-automation

Automate Adyntel tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/aeroleads-automation

Automate Aeroleads tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/aero-workflow-automation

Automate Aero Workflow tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/affinda-automation

Automate Affinda tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/affinity-automation

Automate Affinity tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/agencyzoom-automation

Automate Agencyzoom tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/agent-deep-links

Build, validate, and troubleshoot deep links for Codex, Cursor, VS Code, Visual Studio, and similar tools. Use when users ask for clickable links (especially in Slack) that open threads, files, folders, or app settings.

相关技能