返回 Skill 列表
extension
分类: 开发与工程无需 API Key

jira-syntax

Jira wiki标记语法验证、模板和格式指南。使用场合:(1) 编写Jira问题描述或评论时,(2) 将Markdown转换为Jira wiki标记时,(3) 请求错误报告或功能请求模板时,(4) 在提交前验证Jira语法时,(5) 涉及'jira格式'、'wiki标记'、'jira语法'、'针对jira的格式'等关键词时,(6) 确保内容使用h2./h3.标题而非Markdown ##,(7) 检查代码块是否使用{code:lang}而非三个反引号,(8) 任何涉及Jira文本格式化的任务

person作者: jakexiaohubgithub

Jira Syntax Validation Skill

Provides Jira wiki markup syntax validation, templates, and formatting guidance. For API operations, use the jira-communication skill.

Quick Syntax Reference

| Jira Syntax | Purpose | NOT this (Markdown) | |-------------|---------|---------------------| | h2. Title | Heading | ## Title | | *bold* | Bold | **bold** | | _italic_ | Italic | *italic* | | {{code}} | Inline code | `code` | | {code:java}...{code} | Code block | java ``` | | [text\|url] | Link | [text](url) | | [PROJ-123] | Issue link | - | | [~username] | User mention | @username | | * item | Bullet list | - item | | # item | Numbered list | 1. item | | \|\|Header\|\| | Table header | \|Header\| |

See references/jira-syntax-quick-reference.md for complete syntax documentation.

Available Templates

Bug Report

Path: templates/bug-report-template.md

Sections: Environment, Steps to Reproduce, Expected/Actual Behavior, Error Messages, Technical Notes

Feature Request

Path: templates/feature-request-template.md

Sections: Overview, User Stories, Acceptance Criteria, Technical Approach, Success Metrics

Syntax Validation

Run before submitting to Jira:

scripts/validate-jira-syntax.sh path/to/content.txt

Validation Checklist

  • [ ] Headings: h2. Title (space after period)
  • [ ] Bold: *text* (single asterisk)
  • [ ] Code blocks: {code:language}...{code}
  • [ ] Lists: * for bullets, # for numbers
  • [ ] Links: [label|url] or [PROJ-123]
  • [ ] Tables: ||Header|| and |Cell|
  • [ ] Colors: {color:red}text{color}
  • [ ] Panels: {panel:title=X}...{panel}

Common Mistakes

| ❌ Wrong | ✅ Correct | |---------|-----------| | ## Heading | h2. Heading | | **bold** | *bold* | | `code` | {{code}} | | [text](url) | [text\|url] | | - bullet | * bullet | | h2.Title | h2. Title |

Integration with jira-communication Skill

Workflow:

  1. Get template from jira-syntax
  2. Fill content using Jira wiki markup
  3. Validate with scripts/validate-jira-syntax.sh
  4. Submit via jira-communication scripts (e.g., uv run scripts/workflow/jira-create.py)

References

  • references/jira-syntax-quick-reference.md - Complete syntax documentation
  • templates/bug-report-template.md - Bug report template
  • templates/feature-request-template.md - Feature request template
  • scripts/validate-jira-syntax.sh - Automated syntax checker
  • Official Jira Wiki Markup