agents/skills/trello-cli/SKILL.md
Operate Trello through the local CLI tool. Use this skill whenever the user asks to create, update, move, archive, search, or inspect Trello boards, lists, cards, comments, checklists, attachments, labels, members, or custom fields — or when they mention the Trello CLI, `trello` command, or want to manage Trello from the terminal. Also use this when working in the Trello_CLI repository and needing to exercise the binary.
npx skillsauth add carterdea/dots trello-cliInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill teaches you how to translate natural-language Trello requests into safe, multi-step trello CLI workflows. The CLI outputs deterministic JSON — every response is machine-parseable and follows a stable contract.
Requires the trello CLI from Scale-Flow/trello-cli. Install it on PATH, or clone the repo and build with go build -o bin/trello ./cmd/trello.
Try these in order — use whichever works first:
trello on PATH./bin/trello (relative to the repo root)go build -o bin/trello ./cmd/trelloOnce resolved, use that path for all subsequent commands in the session.
Before any resource command, verify credentials are configured:
trello auth status
The response follows the JSON envelope. Stop and explain the issue to the user if any of these hold — do not attempt resource commands:
ok is falsedata.configured is false (no credentials stored — a fresh install)data.authMode is "key_only" (API key without a token; not enough to authenticate)Auth can come from three sources:
trello auth login with Power-Up pairing)trello auth set or trello auth login)TRELLO_API_KEY and TRELLO_TOKENWhen authenticating a new user, prefer the device flow over manual API key setup:
trello auth login — this contacts the pairing service and displays a codeThe device flow is ideal for non-technical users and agent-driven workflows because it requires no developer portal access.
Every Trello task follows this shape:
This matters because the CLI uses IDs, not names. Never guess an ID — always discover it first.
Example: "Create a card in the Doing list on the Marketing board"
trello boards list → find Marketing board IDtrello lists list --board <board-id> → find Doing list IDtrello cards create --list <list-id> --name "My card"trello cards get --card <card-id> → confirm creationEvery command returns one of two envelopes:
{"ok": true, "data": ...}
{"ok": false, "error": {"code": "...", "message": "..."}}
Always branch on ok. Read payloads from data, errors from error.code and error.message. The --pretty flag changes formatting only, not the schema.
Use compact JSON (no --pretty) when piping output or extracting values programmatically. Use --pretty when showing results to the user.
attachments add-file--due and --date valuescards list requires exactly one of --board or --list, never bothWhen the user describes a Trello task in natural language, translate it into a multi-step workflow — not a single command. Think about what IDs you need and how to get them.
Common patterns:
cards move, then verifychecklists create, add items, list to confirmsearch boards --query marketing or boards list and filtercustom-fields items setRead references/task-recipes.md for complete workflow recipes covering all resource types.
The CLI has 12 top-level command groups: auth, boards, lists, cards, comments, checklists, attachments, custom-fields, labels, members, search, version.
Read references/command-digest.md for the full command surface, flags, and validation rules.
When a command returns ok: false, check the error code:
| Code | Meaning | What to do |
|------|---------|------------|
| AUTH_REQUIRED | No credentials configured | Guide user through auth set or auth login |
| AUTH_INVALID | Credentials rejected by Trello | Credentials may be expired — re-authenticate |
| NOT_FOUND | Resource ID doesn't exist | Re-discover the ID |
| VALIDATION_ERROR | Bad input (missing flag, wrong format) | Fix the command flags |
| RATE_LIMITED | Trello API rate limit hit | Wait and retry |
| CONFLICT | Resource state conflict | Re-fetch and retry |
development
Ship a Trello ticket end to end on any web app (Vercel, Fly.io, or other host — no Shopify): pull the latest main, read the card including Figma links, implement the change in a worktree, run the project's own tests/lint/typecheck, run de-slop and code-simplifier and fold the worthwhile cleanups in, QA desktop and mobile on a local Portless preview URL, capture screenshots, open or update the GitHub PR, link the PR and Trello to each other, attach screenshots to both, comment on the card, and move it to review. Use this whenever the user points you at a Trello card or ticket for a code task and wants it delivered as a reviewable PR — phrases like 'do this Trello ticket', 'ship this card', 'pick up this ticket and open a PR', 'update the PR for this card', or names a card/list/board with a feature or bug to implement. This is the default Trello-to-PR workflow for non-Shopify projects; for Shopify theme work use shopify-trello-delivery instead.
tools
Install or upgrade a quality baseline for Shopify theme repos. Use this whenever the user asks to add Shopify theme linting, Biome, Theme Check, Playwright accessibility checks, Vitest, Vite build tooling, lefthook hooks, GitHub Actions CI, Shopify Lighthouse CI, Claude Code PR review workflows, or a context-efficient run_silent.sh setup across Shopify sites.
development
Run an extremely strict maintainability review for abstraction quality, giant files, and spaghetti-condition growth. Use for a thermo-nuclear code quality review, thermonuclear review, deep code quality audit, or especially harsh maintainability review.
development
Ship Shopify theme work from a Trello ticket end to end: inspect the card including Figma links, implement the theme change, deploy or update the correct preview/dev theme, browser-QA desktop and mobile against Figma when available, create or update the GitHub PR, attach screenshots, comment on Trello, and move the card forward. Use this whenever the user mentions a Shopify theme task with a Trello card, Figma design/artboard, preview theme, Customizer, dev theme, PR handoff, Ready for Review/Testing, or asks to update an existing Shopify PR from a ticket.