Skip to content

About

Trello for PromptOps: the cards of your boards on the Teams board, lists as columns. Runs in the plugin sandbox.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Built for PromptOps

Trello for PromptOps

Brings the cards of your Trello boards into the Teams › Board of PromptOps. Lists become columns, and moving a card moves it in Trello too.

The plugin running in the PromptOps plugin playground

Plugin id promptops.trello
Section tasks
Status Version 0.1.0. Runs in the plugin sandbox. Tested with recorded answers, not yet against a live Trello account. The board screen of PromptOps is still being connected to plugins

Where the code is. All of it is in src/plugin.js: one file of plain JavaScript, with no build step. What you read there is exactly what PromptOps runs, and what was reviewed.

What it does

  • Lets you pick a board: first your workspaces, then their boards. Boards outside a workspace are listed at the top.
  • Builds the columns from the open lists of that board, in board order. A list named like "Done" or "Fatto" counts as done, the first list is where work waits.
  • Shows each card with title, description, labels, members and comments. Archived cards are left out.
  • Moves the card to another list when you move it on the board.
  • Proposes a prompt about a card for you to review. It never writes to an agent on its own.

What it can do

People approve these permissions before installing. A plugin can never read prompts, agent answers, files or the terminal.

Permission Meaning
net:api.trello.com Connect to api.trello.com over HTTPS. No other host
secrets Use your API key and token without ever reading them
tasks:read Read tasks of the project where it is active
tasks:write Update tasks of the project where it is active
prompt:propose Propose a prompt that you review before it is sent

Set it up

  1. Open https://trello.com/power-ups/admin and create a Power-Up for yourself. Any name works, no iframe URL is needed.
  2. In its API key tab copy the API key.
  3. On the same page follow the Token link, allow access, and copy the token.
  4. In PromptOps open Plugins › Installed › Trello › Configure and paste both.

Key and token stay on your device. The plugin writes {{secret:apiKey}} and {{secret:token}} in the Authorization header, and PromptOps fills them in when a request leaves, only towards api.trello.com. They never appear in a URL, so they never end up in a log.

Good to know

  • Trello does not share the email of board members, so PromptOps cannot match them to your team automatically. Names are shown as they are.
  • Trello lists have no color and no type. The type is read from the name, so rename a list if a column lands in the wrong group.
  • Cards are read list by list, about fifty per page. A small board arrives whole, a very busy one in pieces, never as one huge answer.

Try it without PromptOps

git clone https://github.com/shellonback/promptops-plugin-templates
git clone https://github.com/shellonback/promptops-plugin-trello
cd promptops-plugin-templates
node playground/server.mjs --plugin ../promptops-plugin-trello

Open http://127.0.0.1:4173 and choose local:promptops-plugin-trello. In Fixtures mode the answers come from fixtures.json, so it works offline. For Live mode paste your key and token in the Settings card: they stay in that browser tab.

Tests

Zero dependencies, Node 18 or later:

node --test

Files

File What it is
promptops-plugin.json The manifest: id, section, host, permissions, settings
src/plugin.js The source of the plugin. One file of plain JavaScript, no dependencies and no build step: what you read is what runs
fixtures.json Recorded answers for the playground and the tests
test/plugin.test.mjs The tests

License

MIT, Shellonback Team. Trello is a trademark of Atlassian. This plugin is not made or endorsed by Atlassian.

About

Trello for PromptOps: the cards of your boards on the Teams board, lists as columns. Runs in the plugin sandbox.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages