alamine42/claude-mods/tree/main/plugins/ci-pipeline
alamine42/claude-mods — CI/CD 狀態面板與待辦事項提示外掛
兩個 Claude Code 外掛:ci-pipeline 顯示目前分支的 CI/CD 階段,my-actions 將需要你處理的待辦與問題列在提示列上方。
關於這個 mod
ci-pipeline 會以面板顯示分支或 PR 從本機開發、檢查、合併到 staging、prod 部署與煙霧測試的進度,可用正則選項自訂階段比對,需 git 與已登入的 GitHub CLI。my-actions 會列出需要你處理的待辦、代理可完成的項目與等待回覆的問題,每項都有 Done 按鈕與狀態計數。將 --plugin-dir 指向 plugins/ci-pipeline 或 plugins/my-actions 安裝;兩者皆採 MIT。
安裝
請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。
claude plugin marketplace add alamine42/claude-mods claude plugin install ci-pipeline
原文 / README
claude-mods
Two mods for Claude Code. They work in the terminal and in the Code tab of the Claude desktop app.
| Mod | What it shows |
| --- | --- |
| ci-pipeline | A pane with the CI/CD stage of the branch you work on |
| my-actions | A box above the prompt with the actions and questions the agent left for you |
Early access. Mods use the Claude Code function-hooks API. This API changes between releases. I tested these mods on Claude Code 2.1.288.
Install
In Claude Code, add this repo as a plugin marketplace:
/plugin marketplace add alamine42/claude-mods
Then install the mods you want:
/plugin install ci-pipeline@claude-mods
/plugin install my-actions@claude-mods
To try a mod without installing it, clone this repo and start Claude Code with the mod folder:
claude --plugin-dir ./plugins/my-actions
ci-pipeline
<!-- TODO: screenshot -->A pane that shows where the current branch is in 12 stages:
| Code | Staging | Production | | --- | --- | --- | | Local dev | Deploying to Staging | Deploying to Prod | | PR open | Staging Deployed | Prod Deployed | | PR checks running | Smoke Testing Staging | Smoke Testing Prod | | PR merged | Staging Smoke Tested | Prod Smoke Tested |
Each stage has a mark: ✓ done, ● running, ✗ failed, ◌ the next stage it waits for, · not yet reached. The status line shows the current stage. A toast tells you when the stage changes.
Commands
/pipelineopens the pane./pipeline 123follows PR #123./pipeline branchfollows the current branch again.- In the pane, press
rto refresh.
How it finds each stage
- Local dev, PR open, PR checks and PR merged come from
gitandgh pr view. - The staging and prod stages come from the GitHub Actions jobs that ran on the merge commit. The mod matches the name
workflow / jobagainst a regex for each stage.
Options
| Option | Default |
| --- | --- |
| deployStaging | deploy.*stag\|stag.*deploy |
| smokeStaging | smoke.*stag\|stag.*smoke |
| deployProd | deploy.*prod\|prod.*deploy |
| smokeProd | smoke.*prod\|prod.*smoke |
| pollSeconds | 20 |
Change them in the Claude Code config menu, or under pluginConfigs.ci-pipeline in your settings.
Needs: git and the GitHub CLI, logged in.
Limits
- Deploys that do not run in GitHub Actions on the merge commit do not show.
- After you switch to
main, the pane followsmain. Use/pipeline <number>to keep a PR in view.
my-actions
<!-- TODO: screenshot -->When you come back to a long session, the asks for you are easy to miss in the text. This mod lists them above the prompt, in two boxes:
- To do (
▸): a task only you can do, such as a check in the app or a test by hand. It shows the exact command when there is one. - To do, agent can do (
↻, dim): a task the agent asked you to do but could do itself. Tell the agent to do it, or do it yourself. - Questions (
?): a question the agent waits on. A request for your go-ahead ("Shall I push?") is a question too.
Each item has a Done button. When the box has focus, keys 1–9 press it. Clear empties one box. The boxes sit side by side when the window is wide enough. Long items wrap, and a long list scrolls. A task shows in one box only. The status line shows a count, for example Your move: 2 actions, 1 question.
How it works. When a reply ends, the mod sends the reply, your last message, and the open list to a small model. The model returns the new list. It adds new asks. It removes the asks that you answered or that the agent did. When the mod loads or a session resumes, it reads the last few messages.
Commands
/my-actionsbuilds the list again from the whole session./my-actions clearempties the list.
Options
| Option | Default |
| --- | --- |
| model | haiku |
Cost and privacy. The mod makes one model call per reply, on your own Claude account. Each call sends the reply text and your last message to that model.
Limits
- Asks inside subagent output show only when the main reply repeats them.
- The model can miss an ask or add one that is not real. Use Done or
/my-actionsto correct the list.
License
MIT
