Awesome-claude-skills-cn Shortcut Automation
通过自然语言命令自动化 Shortcut 项目管理工作流——创建故事、管理任务、跟踪史诗并组织工作流。
git clone https://github.com/Athe1st3154/awesome-claude-skills-cn
T=$(mktemp -d) && git clone --depth=1 https://github.com/Athe1st3154/awesome-claude-skills-cn "$T" && mkdir -p ~/.claude/skills && cp -r "$T/composio-skills/shortcut-automation" ~/.claude/skills/athe1st3154-awesome-claude-skills-cn-shortcut-automation && rm -rf "$T"
composio-skills/shortcut-automation/SKILL.mdShortcut Automation
Automate your Shortcut project management operations directly from Claude Code. Create and list stories, add tasks and comments, batch-create stories, and navigate workflows -- all without leaving your terminal.
Toolkit docs: composio.dev/toolkits/shortcut
设置
- Add the Rube MCP server to your Claude Code config with URL:
https://rube.app/mcp - When prompted, authenticate your Shortcut account through the connection link provided
- Start automating your project management workflows with natural language
Core Workflows
1. Create Stories
Add new stories to your Shortcut workspace with full configuration.
Tool:
SHORTCUT_CREATE_STORY
Create a feature story called "Add dark mode support" in workflow state 500000001 with estimate 5 and label "frontend"
Key parameters for
SHORTCUT_CREATE_STORY:
(required) -- the story titlename
-- the workflow state to place the story in (recommended overworkflow_state_id
)project_id
--story_type
,"feature"
, or"bug""chore"
-- story body/descriptiondescription
-- numeric point estimate (or null for unestimated)estimate
-- associate with an epicepic_id
-- associate with an iterationiteration_id
-- array of label objects withlabels
(and optionalname
,color
)description
-- array of member UUIDs to assignowner_ids
-- due date in ISO 8601 formatdeadline
-- inline task array withtasks
and optionaldescription
,completeowner_ids
-- inline comment array withcommentstext
-- link stories withstory_links
(verb
,"blocks"
,"duplicates"
)"relates to"
Important: Either
workflow_state_id or project_id must be provided, but not both. workflow_state_id is recommended as Projects are being sunset in Shortcut.
2. Batch Create Stories
Create multiple stories in a single API call.
Tool:
SHORTCUT_CREATE_MULTIPLE_STORIES
Create 3 bug stories: "Login page 500 error", "Cart total rounding issue", and "Search results empty state broken"
- Requires
array where each element follows the same schema asstoriesSHORTCUT_CREATE_STORY - Each story in the array requires
name - Efficient for bulk imports, sprint planning, or template-based story creation
3. List Stories in a Project
Retrieve all stories within a specific project.
Tool:
SHORTCUT_LIST_STORIES
List all stories in project 42 with their descriptions
- Requires
(integer project ID)project__public__id - Optional
to include story descriptions in the responseincludes_description: true - Returns all stories with their attributes (status, type, estimate, etc.)
4. Manage Story Tasks
Create tasks (checklists) within stories for tracking sub-work.
Tool:
SHORTCUT_CREATE_TASK
Add a task "Write unit tests for dark mode toggle" to story 12345
Key parameters:
(required) -- the parent story IDstory__public__id
(required) -- the task descriptiondescription
-- boolean, defaults to falsecomplete
-- array of member UUIDs to assign the taskowner_ids
-- ID from an external tool if importedexternal_id
5. Add Story Comments
Post comments on stories for discussion and documentation.
Tool:
SHORTCUT_CREATE_STORY_COMMENT
Add a comment to story 12345: "Reviewed the implementation -- looks good, but needs accessibility testing"
Key parameters:
(required) -- the story IDstory__public__id
(required) -- the comment bodytext
-- member UUID (defaults to API token owner)author_id
-- ID of parent comment for threaded repliesparent_id
6. Workflow and Project Discovery
List workflows and projects to resolve IDs for story creation.
Tools:
SHORTCUT_LIST_WORKFLOWS, SHORTCUT_LIST_PROJECTS
Show me all workflows in our Shortcut workspace so I can find the right workflow state ID
returns all workflows with their states (IDs, names, types)SHORTCUT_LIST_WORKFLOWS
returns all projects with their attributesSHORTCUT_LIST_PROJECTS- Use these to discover valid
andworkflow_state_id
values before creating storiesproject_id
已知陷阱
vsworkflow_state_id
:project_id
requires exactly one of these. Providing both or neither causes a rejection. PreferSHORTCUT_CREATE_STORY
since Projects are being sunset.workflow_state_id- Projects are being sunset: Shortcut is deprecating Projects in favor of workflow-based organization. Use
for new stories.workflow_state_id - Label creation is inline: Labels in the
array are created on-the-fly if they do not exist. Thelabels
field is required for each label object.name - Story type defaults: If
is omitted, it defaults tostory_type
. Always set it explicitly for bugs and chores."feature" - Batch limits:
processes all stories in a single request. Very large batches may time out -- keep batches under 25 stories.SHORTCUT_CREATE_MULTIPLE_STORIES - Integer IDs for stories/projects: Story and project IDs are integers, not UUIDs. Member and group IDs are UUIDs. Mixing these formats causes errors.
positioning: Themove_to
field (move_to
or"first"
) moves the story within its workflow state, not across states."last"
快速参考
| Tool Slug | Description |
|---|---|
| Create a single story (requires + or ) |
| Batch-create multiple stories (requires array) |
| List stories in a project (requires ) |
| Create a task in a story (requires , ) |
| Add a comment to a story (requires , ) |
| Create a story from a template |
| List all workflows and their states |
| List all projects |
由 Composio 提供支持