Community程式設計與開發github.com

ComposioHQ/快捷方式自動化

透過自然語言指令自動化 Shortcut 中的專案管理工作流程——建立故事、管理任務、追蹤史詩並組織工作流程。

快捷方式自動化 是什麼?

此技能讓 AI 代理(例如 Claude Code)能夠直接與 Shortcut(一種專案管理工具)互動,使用者可僅透過自然語言指令執行常見的專案管理操作。關鍵功能包括建立和列出故事、批次建立多個故事、管理任務(核取清單)、新增評論以及探索工作流程和專案以查找正確的識別碼。此工具彙編了各種 Shortcut API 工具(例如 `SHORTCUT_CREATE_STORY`、`SHORTCUT_LIST_STORIES` 和 `SHORTCUT_CREATE_TASK`),供 AI 代理用來協調工作流程。它支援透過 Composio 平台設定的 Rube MCP 伺服器,提供使用者友善的驗證機制。對於希望自動化重複性任務的開發者來說,這特別有用,例如在衝刺規劃期間批次建立故事或將錯誤報告直接從終端機記錄到 Shortcut。此技能透過處理必要的參數對映和錯誤處理(例如需要 `workflow_state_id` 而非已棄用的 `project_id`)來簡化與 Shortcut API 的互動。

相容平台✓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 自動化

直接從 Claude Code 自動化您的 Shortcut 專案管理操作。建立和列出故事、新增任務和評論、批次建立故事以及瀏覽工作流程——完全無需離開終端機。

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


設定

  1. 將 Rube MCP 伺服器新增至您的 Claude Code 設定檔,網址為:https://rube.app/mcp
  2. 出現提示時,透過提供的連線連結驗證您的 Shortcut 帳戶
  3. 開始使用自然語言自動化您的專案管理工作流程

核心工作流程

1. 建立故事

將新故事新增至您的 Shortcut 工作區,並進行完整配置。

工具: SHORTCUT_CREATE_STORY

建立一個名為「新增深色模式支援」的功能故事,位於工作流程狀態 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 其中之一,但不可兩者皆提供。由於 Shortcut 中的專案功能即將淘汰,建議使用 workflow_state_id。

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 與 project_id: SHORTCUT_CREATE_STORY 需要且僅需要其中一個。同時提供或兩者皆不提供會導致請求被拒絕。建議優先使用 workflow_state_id,因為專案功能即將淘汰。
  • 專案功能即將淘汰: Shortcut 正在棄用專案功能,轉而採用基於工作流程的組織方式。請為新故事使用 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.

相關技能