Skip to main content

trello

Manage Trello boards, lists, and cards via the Trello REST API.

来源信息

仓库
ApiliumCode/mayros
最近来源活动
2026年2月25日 23:20
检测到的 SKILL.md 语言
英语
星标
13
分支
1

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
trello
description
Manage Trello boards, lists, and cards via the Trello REST API.
homepage
https://developer.atlassian.com/cloud/trello/rest/
metadata
{"mayros":{"emoji":"📋","requires":{"bins":"[Truncated]","env":"[Truncated]"}}}
# Trello Skill Manage Trello boards, lists, and cards directly from Mayros. ## Setup 1. Get your API key: https://trello.com/app-key 2. Generate a token (click "Token" link on that page) 3. Set environment variables: ```bash export TRELLO_API_KEY="your-api-key" export TRELLO_TOKEN="your-token" ``` ## Usage All commands use curl to hit the Trello REST API. ### List boards ```bash curl -s "https://api.trello.com/1/members/me/boards?key=$TRELLO_API_KEY&token=$TRELLO_TOKEN" | jq '.[] | {name, id}' ``` ### List lists in a board ```bash curl -s "https://api.trello.com/1/boards/{boardId}/lists?key=$TRELLO_API_KEY&token=$TRELLO_TOKEN" | jq '.[] | {name, id}' ``` ### List cards in a list ```bash curl -s "https://api.trello.com/1/lists/{listId}/cards?key=$TRELLO_API_KEY&token=$TRELLO_TOKEN" | jq '.[] | {name, id, desc}' ``` ### Create a card ```bash curl -s -X POST "https://api.trello.com/1/cards?key=$TRELLO_API_KEY&token=$TRELLO_TOKEN" \ -d "idList={listId}" \ -d "name=Card Title" \ -d "desc=Card description" ``` ### Move a card to another list ```bash curl -s -X PUT "https://api.trello.com/1/cards/{cardId}?key=$TRELLO_API_KEY&token=$TRELLO_TOKEN" \ -d "idList={newListId}" ``` ### Add a comment to a card ```bash curl -s -X POST "https://api.trello.com/1/cards/{cardId}/actions/comments?key=$TRELLO_API_KEY&token=$TRELLO_TOKEN" \ -d "text=Your comment here" ``` ### Archive a card ```bash curl -s -X PUT "https://api.trello.com/1/cards/{cardId}?key=$TRELLO_API_KEY&token=$TRELLO_TOKEN" \ -d "closed=true" ``` ## Notes - Board/List/Card IDs can be found in the Trello URL or via the list commands - The API key and token provide full access to your Trello account - keep them secret! - Rate limits: 300 requests per 10 seconds per API key; 100 requests per 10 seconds per token; `/1/members` endpoints are limited to 100 requests per 900 seconds ## Examples ```bash # Get all boards curl -s "https://api.trello.com/1/members/me/boards?key=$TRELLO_API_KEY&token=$TRELLO_TOKEN&fields=name,id" | jq # Find a specific board by name curl -s "https://api.trello.com/1/members/me/boards?key=$TRELLO_API_KEY&token=$TRELLO_TOKEN" | jq '.[] | select(.name | contains("Work"))' # Get all cards on a board curl -s "https://api.trello.com/1/boards/{boardId}/cards?key=$TRELLO_API_KEY&token=$TRELLO_TOKEN" | jq '.[] | {name, list: .idList}' ```
在 GitHub 查看