AI-assisted skills and commands for ROCm DevOps workflows. Clone this repo and plug into Cursor or Claude CLI for automated CI triage, issue tracking, and team reporting.
| Skill | Folder | Description |
|---|---|---|
| Bump PR Gardener | gardener/ |
Triage TheRock bump PR CI failures, compare with known issues, generate GitHub-ready trackers and Teams messages |
- GitHub CLI (
gh) — authenticated with access toROCm/TheRock - ripgrep (
rg) — for fast log searching - Either Cursor IDE or Claude CLI (or both)
git clone https://github.com/AmosLewis/rocm-devops-skills.git
cd rocm-devops-skillsWhen you take over gardener rotation, gather previous context before triaging:
- Teams: Go to the Gardening-Bump-PR channel, copy the last
Bump PR Trackermessage from the previous gardener. Save it as your reference for known issues. - Confluence: Check the master issue tracking page — Bump Failure Tracking by Component and Owner. Cross-reference with Teams to see which issues are resolved vs still open.
If you want the AI agent to directly query the Confluence tracking page, set up the Atlassian MCP server:
For Cursor — add to .cursor/mcp.json:
{
"mcpServers": {
"atlassian": {
"command": "npx",
"args": ["-y", "@anthropic/atlassian-mcp-server"],
"env": {
"ATLASSIAN_SITE_URL": "https://amd.atlassian.net",
"ATLASSIAN_USER_EMAIL": "<your-email>",
"ATLASSIAN_API_TOKEN": "<your-token>"
}
}
}
}For Claude CLI — add to ~/.claude/mcp.json with the same config.
Generate your Atlassian API token at: https://id.atlassian.com/manage-profile/security/api-tokens
Once configured, the AI can directly read and update the Confluence tracking page during triage.
- Copy the command file into your Cursor workspace:
mkdir -p <your-project>/.cursor/commands
cp gardener/commands/tr.md <your-project>/.cursor/commands/tr.md- Copy the skill file somewhere Cursor can reference it:
cp gardener/bumppr_skill.md <your-project>/skills/gardener/bumppr_skill.md- Update the
Context:line intr.mdto point to your skill path:
Context: @skills/gardener/bumppr_skill.md- In Cursor chat, type:
/tr https://github.com/ROCm/TheRock/pull/4839 https://github.com/ROCm/TheRock/pull/4840
Cursor will read the skill, auto-discover failed jobs, fetch logs, triage, and produce:
<r-l PR>-<r-s PR>.md— GitHub-comment-ready tracker<r-l PR>-<r-s PR>-teams.md— Teams copy-paste message- Issue drafts for any genuinely NEW failures
Add to .cursor/rules/gardener.mdc:
---
description: "Bump PR gardener triage workflow"
globs: ["**/triage/**", "**/gardener/**"]
alwaysApply: false
---
@skills/gardener/bumppr_skill.md
Then the skill is automatically loaded when you work in triage files.
cat gardener/bumppr_skill.md | claude --system-prompt - \
"Triage these bump PRs: https://github.com/ROCm/TheRock/pull/4839 https://github.com/ROCm/TheRock/pull/4840"- Copy the skill into your working directory:
cp gardener/bumppr_skill.md ./CLAUDE.md- Run Claude CLI in that directory:
claude "Triage bump PRs: https://github.com/ROCm/TheRock/pull/4839 https://github.com/ROCm/TheRock/pull/4840"Claude will automatically read CLAUDE.md as project context.
claude --file gardener/bumppr_skill.md \
"Triage these bump PRs: https://github.com/ROCm/TheRock/pull/4839"Create a shell alias for convenience:
# Add to ~/.bashrc or ~/.zshrc
alias tr-bump='claude --file ~/rocm-devops-skills/gardener/bumppr_skill.md'
# Usage:
tr-bump "Triage: https://github.com/ROCm/TheRock/pull/4839 https://github.com/ROCm/TheRock/pull/4840"| Output | Format | Purpose |
|---|---|---|
<r-l>-<r-s>.md |
Markdown table with Run/Job/Issue links | Copy into GitHub PR comments |
<r-l>-<r-s>-teams.md |
Bullet list with issue links | Copy into Teams Gardening-Bump-PR channel |
<PR>/<MMDD>-...-ci-issue.md |
GitHub issue template | Copy into GitHub "New Issue" (only for NEW failures) |
See gardener/examples/week17-0427/ for a real triage from Apr 27, 2026:
4839-4840.md— tracker with all 9 failed jobs mapped to existing issues4839-4840-teams.md— Teams message sent to Gardening-Bump-PR channel
rocm-devops-skills/
├── README.md # this file
├── gardener/ # Bump PR gardener skills
│ ├── bumppr_skill.md # main skill (triage workflow)
│ ├── commands/
│ │ └── tr.md # Cursor /tr command definition
│ └── examples/
│ └── week17-0427/ # real triage example
│ ├── 4839-4840.md
│ └── 4839-4840-teams.md
└── <future-skills>/ # other DevOps skills go here
When adding a new skill:
- Create a folder under the root (e.g.
ci-monitoring/,release-mgmt/) - Include a
<name>_skill.mdwith the full workflow - Include a
commands/subfolder with any Cursor command.mdfiles - Include
examples/with real-world output - Update this README's "Available Skills" table