← 返回
效率工具 Key 中文

Shortcut

Manage stories on Shortcut.com kanban boards. Use when creating, updating, or listing tasks/stories on Shortcut project management boards. Supports creating stories with descriptions and types (feature/bug/chore), updating story status, and listing active/completed stories. Includes full checklist task management and comment support.
管理Shortcut.com看板上的故事。用于在Shortcut项目管理看板上创建、更新或列出任务/故事。支持创建带有描述和类型(功能/缺陷/杂项)的故事、更新故事状态以及列出活动/已完成的故事。包含完整的清单任务管理和评论支持。
catwalksophie
效率工具 clawhub v1.4.1 1 版本 99882.9 Key: 需要
★ 1
Stars
📥 2,540
下载
💾 96
安装
1
版本
#latest

概述

Shortcut Kanban Integration

Manage tasks and stories on Shortcut.com project boards via API.

Prerequisites

  • Shortcut API token configured via one of:
  • Environment variable: SHORTCUT_API_TOKEN
  • File: ~/.config/shortcut/api-token
  • Access to a Shortcut workspace with appropriate permissions

Setup

  1. Get your API token from Shortcut.com (Settings → API Tokens)
  2. Store it either:
    • As environment variable: export SHORTCUT_API_TOKEN="your-token"
    • In a file: echo "your-token" > ~/.config/shortcut/api-token && chmod 600 ~/.config/shortcut/api-token
  3. Initialize workflow states for your workspace:

```bash

scripts/shortcut-init-workflow.sh

```

This creates ~/.config/shortcut/workflow-states with your workspace's actual state IDs.

  1. Optionally add to ~/.bashrc for persistence:

```bash

export SHORTCUT_API_TOKEN=$(cat ~/.config/shortcut/api-token 2>/dev/null | tr -d '\n')

source ~/.config/shortcut/workflow-states

```

Available Operations

List Stories

scripts/shortcut-list-stories.sh [--active|--completed|--all] [--json]

Options:

  • --active - Show only incomplete stories (default)
  • --completed - Show only completed stories
  • --all - Include archived stories
  • --json - Output raw JSON

Show Story Details

scripts/shortcut-show-story.sh <story-id>

Displays full story information including:

  • Story name and status
  • Description (if present)
  • Checklist items with completion status

Create Story

scripts/shortcut-create-story.sh "Story name" [--description "text"] [--type feature|bug|chore]

Story types:

  • feature (default) - New functionality
  • bug - Bug fix
  • chore - Maintenance task

Update Story

scripts/shortcut-update-story.sh <story-id> [--complete|--todo|--in-progress] [--description "new text"]

Workflow states: The script uses state IDs from ~/.config/shortcut/workflow-states (created by shortcut-init-workflow.sh). If not configured, it falls back to common defaults:

  • Backlog: 500000006
  • To Do: 500000007
  • In Progress: 500000008
  • In Review: 500000009
  • Done: 500000010

Note: Different Shortcut workspaces may use different state IDs. Always run shortcut-init-workflow.sh to configure your workspace's actual IDs.

Manage Checklist Tasks

Create a task:

scripts/shortcut-create-task.sh <story-id> "task description"

Update task completion status:

scripts/shortcut-update-task.sh <story-id> <task-id> [--complete|--incomplete]

Edit task description:

scripts/shortcut-edit-task.sh <story-id> <task-id> "new description"

Delete a task:

scripts/shortcut-delete-task.sh <story-id> <task-id>

Use shortcut-show-story.sh to see task IDs.

Manage Comments

Add a comment:

scripts/shortcut-add-comment.sh <story-id> "comment text"

Update a comment:

scripts/shortcut-update-comment.sh <story-id> <comment-id> "new text"

Delete a comment:

scripts/shortcut-delete-comment.sh <story-id> <comment-id>

Use shortcut-show-story.sh to see comment IDs.

Workflow

  1. List existing stories to understand current board state
  2. Create new stories with descriptive names and appropriate types
  3. Update story status as work progresses

Notes

  • Scripts use SHORTCUT_API_TOKEN environment variable or fall back to ~/.config/shortcut/api-token
  • Stories are created in "Unstarted" state by default (workflow_state_id: 500000006)
  • If your workspace uses different workflow state IDs, you may need to adjust the scripts
  • The token must have permissions for the workspace you want to manage

版本历史

共 1 个版本

  • v1.4.1 当前
    2026-03-28 13:56 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Obsidian

steipete
操作 Obsidian 仓库(纯 Markdown 笔记)并通过 obsidian-cli 自动化。
★ 433 📥 103,863
productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 275 📥 114,962
productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 440 📥 148,117