Adds comments to Jira tickets via acli CLI, supporting plain text and rich Atlassian Document Format (ADF) with code blocks, lists, mentions, and links.
Ships in odh-ai-helpers. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Add comments to Jira tickets using the acli CLI with support for both simple text and rich Atlassian Document Format (ADF).
acli must be installed and authenticated (acli jira auth)Before proceeding, verify that acli is installed and authenticated by invoking the acli-setup-check skill:
/acli-setup-check
If the setup check fails, stop execution and guide the user to fix the issue.
Ticket Key:
[A-Z]+-\d+Comment Content:
Comment Type:
For plain text comments, write the comment text to a temporary file and use acli to create the comment:
# Validate ticket key format (PROJECT-NUMBER)
TICKET_KEY="<ticket-key-from-step-2>"
if [[ ! "$TICKET_KEY" =~ ^[A-Z]+-[0-9]+$ ]]; then
echo "Error: Invalid ticket key format. Expected PROJECT-NUMBER (e.g., RHAI-1234)"
exit 1
fi
# Write comment to temp file (uses system temp directory)
TMPFILE=$(mktemp -t acli-comment-XXXX.txt)
cat > "$TMPFILE" << 'EOF'
<comment text goes here>
EOF
# Create the comment with validated ticket key
acli jira workitem comment create --key "$TICKET_KEY" --body-file "$TMPFILE"
# Clean up
rm -f "$TMPFILE"
For comments that need rich formatting (code blocks, lists, mentions, links), construct an ADF JSON structure.
Basic text with formatting:
{
"version": 1,
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{"type": "text", "text": "This is "},
{"type": "text", "text": "bold text", "marks": [{"type": "strong"}]},
{"type": "text", "text": " and "},
{"type": "text", "text": "italic text", "marks": [{"type": "em"}]}
]
}
]
}
Code block:
{
"version": 1,
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{"type": "text", "text": "Here's the fix:"}
]
},
{
"type": "codeBlock",
"attrs": {"language": "python"},
"content": [
{
"type": "text",
"text": "def hello():\n print('Hello, world!')"
}
]
}
]
}
Bullet list:
{
"version": 1,
"type": "doc",
"content": [
{
"type": "bulletList",
"content": [
{
"type": "listItem",
"content": [
{
"type": "paragraph",
"content": [{"type": "text", "text": "First item"}]
}
]
},
{
"type": "listItem",
"content": [
{
"type": "paragraph",
"content": [{"type": "text", "text": "Second item"}]
}
]
}
]
}
]
}
Link:
{
"version": 1,
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{"type": "text", "text": "See "},
{
"type": "text",
"text": "the documentation",
"marks": [
{
"type": "link",
"attrs": {"href": "https://example.com/docs"}
}
]
}
]
}
]
}
User mention:
{
"version": 1,
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "mention",
"attrs": {
"id": "557058:12345678-abcd-1234-abcd-123456789012",
"text": "@code-samurai"
}
},
{"type": "text", "text": " please review"}
]
}
]
}
Write the ADF JSON to a temporary file and create the comment:
# Validate ticket key format (PROJECT-NUMBER)
TICKET_KEY="<ticket-key-from-step-2>"
if [[ ! "$TICKET_KEY" =~ ^[A-Z]+-[0-9]+$ ]]; then
echo "Error: Invalid ticket key format. Expected PROJECT-NUMBER (e.g., RHAI-1234)"
exit 1
fi
# Write ADF JSON to temp file (uses system temp directory)
TMPFILE=$(mktemp -t acli-comment-XXXX.json)
cat > "$TMPFILE" << 'EOF'
{
"version": 1,
"type": "doc",
"content": [...]
}
EOF
# Create comment with ADF and validated ticket key
acli jira workitem comment create --key "$TICKET_KEY" --body-file "$TMPFILE"
# Clean up
rm -f "$TMPFILE"
For important or lengthy comments, show a preview to the user:
I'll add this comment to <TICKET-KEY>:
---
<comment preview>
---
Should I proceed?
Wait for confirmation before creating the comment.
After successfully creating the comment, report to the user:
Comment added to <TICKET-KEY>
View: https://redhat.atlassian.net/browse/<TICKET-KEY>
Use ADF (Step 3b) when the comment includes:
Use simple text (Step 3a) for:
acli-setup-check skillacli-setup-check skillUser: Add a comment to RHAI-1234 saying the fix is ready for review
Assistant: [Creates simple text comment]
Comment added to RHAI-1234
View: https://redhat.atlassian.net/browse/RHAI-1234
User: Comment on RHAI-5678 with this error message: [paste error]
Assistant: [Creates ADF comment with code block]
Comment added to RHAI-5678 with formatted code block
View: https://redhat.atlassian.net/browse/RHAI-5678
User: Add a status update to RHAI-910 with these action items:
- Fix merged to main
- QA testing in progress
- Deployment scheduled for Friday
Assistant: [Creates ADF comment with bullet list]
Comment added to RHAI-910
View: https://redhat.atlassian.net/browse/RHAI-910
What SKILL.md sets; muted values are Claude Code's defaults
/odh-ai-helpers:jira-workitem-commentfrom odh-ai-helpers
odh-ai-helpers@opendatahub-skills is listed by opendatahub-io/skills-registry — review the source before installing
npx claudepluginhub opendatahub-io/skills-registry --plugin odh-ai-helpers70 skills in this plugin
/acli-setup-checkVerify acli installation and authentication. Checks if acli is installed, authenticated to Jira, and can query projects. Use when troubleshooting acli issues or setting up acli for the first time./adr-reviewReview an Architectural Decision Record (ADR) using a team of six specialist reviewer subagents and produce a consolidated report as both PDF and PPTX slide deck. Use this skill whenever the user asks to review, critique, audit, or get feedback on an ADR, architecture decision, design doc, or RFC — whether the input is a Markdown file, a .docx document, or pasted text. Trigger even if the user does not explicitly say "ADR"; phrases like "review this architecture decision", "critique this design doc", or "run the reviewer panel on this" should also invoke this skill./3 plugins in one repository ship this exact skill · first indexed Sep 26, 2026
Other plugins' skills for the same job