Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计通过

create-jira-ticketcreate Jira ticket 搜索

Agent Skill

用于处理 Jira 项目、任务、缺陷、Sprint、负责人和状态流转。它适合让 Agent 辅助查询工单、汇总迭代进展、创建任务或整理需求和缺陷信息。使用时要确认项目权限、字段配置和工作流规则,不同团队的 Issue 类型、状态和必填字段可能不同;涉及批量改状态、改负责人或创建工单时,应先预览变更内容再执行。

总安装

1,576

周安装

65

GitHub Stars

公开资料未说明

下载量

515
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:create-jira-ticket(create Jira ticket 搜索)
来源仓库:https://github.com/morphet81/cheat-sheets
仓库路径:skills/create-jira-ticket
安装命令:
npx skills add https://github.com/morphet81/cheat-sheets --skill create-jira-ticket
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/morphet81/cheat-sheets --skill create-jira-ticket

简介

用于处理 Jira 项目、任务、缺陷、Sprint、负责人和状态流转,适合查询工单与汇总迭代进展。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 等宿主环境,支持 Atlassian CLI 集成与字段推断。
  • 通过命令行安装,需确认 acli 已认证且项目权限有效,避免批量操作误改状态。
  • 涉及创建工单或修改负责人时,应预览变更内容并获得显式确认后再执行。
  • create-jira-ticket 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Create a JIRA ticket from the user’s instructions using the Atlassian CLI (acli). Prefer the same project as the current branch when it can be inferred from a JIRA key in the branch name; otherwise ask which project. Load epics for that project, infer the best epic for the new work, show a preview, and obtain explicit confirmation before creating the issue.

Usage:

  • /create-jira-ticket — Pass the ticket description in the same message as $ARGUMENTS (summary intent, bug vs feature, acceptance criteria, links, etc.)

Instructions:

  1. Validate acli is installed and authenticated:

- Run acli auth status. - If the command is not found, display the error below and STOP: Atlassian CLI (acli) is not installed. Install with: brew tap atlassian/acli && brew install acli - If authentication fails, display the error below and STOP: Atlassian CLI is not authenticated. Run: acli auth login

  1. Determine the JIRA project key:

- Run git branch --show-current. If detached HEAD, note it but continue if a project can still be chosen. - Match a JIRA issue key in the branch name with pattern [A-Z][A-Z0-9]+-[0-9]+ (case-insensitive; normalize to uppercase). If found, set project key to the prefix before - (e.g. PROJ-123PROJ). - If no key is found, run: acli jira project list --json Use AskUserQuestion so the user picks the project key.

  1. Parse instructions from $ARGUMENTS:

- If empty, use AskUserQuestion to collect what ticket to create, then continue. - Infer where possible: - Summary (short, imperative title) - Issue type (Bug, Story, Task, etc.) — from wording (“fix”, “broken” → Bug; “add”, “implement” → Story/Task) - Description — draft with clear sections (for bugs: what’s wrong, steps, expected vs actual; for stories/tasks: goal and acceptance criteria). You will convert this to ADF for JIRA (see ADF Format Reference below; JIRA does not render Markdown in the description field). - Optional: priority, labels, Figma URLs (https://www.figma.com/...) - If the user names a specific epic (key like PROJ-100 or title), treat that as a manual epic preference for step 5.

  1. List epics in the project:

- Run: acli jira workitem search --jql "project = <PROJECT-KEY> AND issuetype = Epic" --json --limit 50 Replace <PROJECT-KEY> with the actual key. If the result is empty, try type = Epic instead of issuetype = Epic only if your Jira version requires it; if still empty, report that no epics were found for this project. - From JSON, collect each epic’s key, summary, and status (if present) for display.

  1. Recommend an epic:

- If the user specified a manual epic in step 3 and that key exists in the list (or resolves via acli jira workitem view <KEY> --fields summary,issuetype --json as type Epic), use that as recommended epic. - Else if there are no epics, set recommended epic to none and skip matching. - Else compare the new ticket’s summary + description (keywords, product area, components) to each epic summary (and description if returned). Pick the epic with the strongest thematic match; prefer epics that are not Done/Closed when ties exist. - Write a one-sentence rationale (e.g. “Matches ‘Checkout’ epic because the work describes payment flow.”).

  1. Confirmation preview (mandatory):

- Show a clear preview: - Project, issue type, summary - Recommended epic (key + summary + rationale), or “None — no epics in project” / “None — user declined parent” - Short description outline or bullet list (not necessarily full ADF in the preview) - Figma URLs if any - Use AskUserQuestion so the user can: - Create with the recommended epic (set parent to that epic key when creating a child issue — see step 7) - Choose another epic from the list (show keys + summaries) - Create without epic parent (omit parent; only if issue type allows — do not force an epic if they choose none) - Edit — user revises instructions; return to step 3 - CancelSTOP - Do not call acli jira workitem create until the user confirms creation (one of the “create” paths above).

  1. Create the work item with acli:

- Build an ADF description from the composed content (headings, paragraphs, bullet lists, task lists for acceptance criteria). Follow the ADF Format Reference below, or run acli jira workitem create --generate-json and align with your site’s schema. - Write a JSON file and run: acli jira workitem create --from-json <temp-file.json> --json - Include "project": "<PROJECT-KEY>", "type": "<IssueType>", "summary": "...", and "description": {... ADF...}. - Parent / epic: If the user confirmed an epic, include "parent": "<EPIC-KEY>" unless the issue type is Epic (do not parent an Epic under another Epic unless the user explicitly asked). If the API rejects parent (some classic projects use Epic Link custom field instead), read the error, inspect --generate-json for your project, and retry with the correct field shape once; if still blocked, tell the user to set the epic in Jira UI and STOP after reporting the created key if the issue was created without parent. - On success, output the new key and browse URL from the JSON if present.

  1. Attach Figma designs (if provided):

- If instructions included Figma URLs, attach them using the Figma for Jira Add Design mechanism. - Designs are stored as issue-level entity properties. Retrieve the site URL from the created ticket’s JSON response, then: 1. Determine the Figma property key: List the issue’s entity properties: curl -s -H "Authorization: Bearer $(acli auth token)" \ "https://<site>.atlassian.net/rest/api/3/issue/<JIRA-ID>/properties/" 2. Set the design property: Property key and value format depend on the Figma for Jira app; typically: curl -s -X PUT -H "Authorization: Bearer $(acli auth token)" \ -H "Content-Type: application/json" \ "https://<site>.atlassian.net/rest/api/3/issue/<JIRA-ID>/properties/<figma-property-key>" \ -d '{"figmaDesigns": [{"url": "<figma-url>", "name": "<design-name>"}]}' - If REST calls fail, fall back to putting Figma URLs in the description and notify the user they can use Add Design manually.

  1. Edge cases:

- Required custom fields: if create fails with validation errors, show fields and ask the user for values, then retry. - If issuetype = Epic search returns nothing but the project uses a different epic type name, try listing issue types for the project (acli / REST) and adjust JQL once.

Summary output for the user: project, new issue key, URL, epic used (or none), and Figma attachment result (or fallback).


ADF Format Reference

JIRA does not render Markdown. Descriptions must use Atlassian Document Format (ADF) — a JSON-based document format. The --description-file flag treats file content as plain text, so use --from-json for rich descriptions.

Important: The description field in the JSON payload must be an ADF object, not a string. Run acli jira workitem create --generate-json to see the expected schema for your site.

Common ADF node types:

MarkdownADF typeNotes
## Headingheading with attrs.levelLevels 1–6
Plain textparagraph with text children
**bold**text with marks: [{"type": "strong"}]
*italic*text with marks: [{"type": "em"}]
- itembulletList > listItem > paragraph
1. itemorderedList > listItem > paragraph
- [] tasktaskList > taskItem (state: TODO/DONE)
` code `text with marks: [{"type": "code"}]Inline code
Code blockcodeBlock with attrs.language
---ruleHorizontal rule
[link](url)text with marks: [{"type": "link", "attrs": {"href": "url"}}]

Example ADF description:

{
  "version": 1,
  "type": "doc",
  "content": [
    {
      "type": "heading",
      "attrs": { "level": 2 },
      "content": [{ "type": "text", "text": "Description" }]
    },
    {
      "type": "paragraph",
      "content": [{ "type": "text", "text": "What needs to be done and why." }]
    },
    {
      "type": "heading",
      "attrs": { "level": 2 },
      "content": [{ "type": "text", "text": "Acceptance Criteria" }]
    },
    {
      "type": "taskList",
      "attrs": { "localId": "ac-list" },
      "content": [
        {
          "type": "taskItem",
          "attrs": { "localId": "ac-1", "state": "TODO" },
          "content": [{ "type": "text", "text": "First criterion" }]
        },
        {
          "type": "taskItem",
          "attrs": { "localId": "ac-2", "state": "TODO" },
          "content": [{ "type": "text", "text": "Second criterion" }]
        }
      ]
    }
  ]
}

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.54%
按下载量换算188

Claude

28.83%
按下载量换算148

Cursor

20.21%
按下载量换算104

Gemini CLI

8.98%
按下载量换算46

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills