otaviof

jira

0
0
# Install this skill:
npx skills add otaviof/gosmith --skill "jira"

Install specific skill from multi-skill repository

# Description

Retrieve a Jira story and convert to markdown for planning sessions. Takes a ticket number like RHTAP-6131.

# SKILL.md


name: jira
description: Retrieve a Jira story and convert to markdown for planning sessions. Takes a ticket number like RHTAP-6131.
argument-hint:
allowed-tools: Bash, Write
model: haiku


Instructions

  1. Validate: which jira must exist, ticket key matches [A-Z]+-[0-9]+

  2. Fetch: jira issue view <TICKET-KEY> --plain (add --comments N if requested)

  3. Convert:

  4. Title format: # followed by the ticket key, colon, and title wrapped in backticks. Example: # RHTAP-123: `Fix login bug`
  5. {{text}}`text`, [text|url][text](url)
  6. Strip ANSI codes and Unicode decorations
  7. Include Status section: type, status, assignee, reporter, priority, dates
  8. Preserve description with markup converted

  9. Save: <TICKET-KEY>.md at user-specified path or cwd (overwrites)

  10. Report: "Created <TICKET-KEY>.md with Jira story content"

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.