jira-cli
Skill này làm gì
Skill này dạy AI cách dùng công cụ dòng lệnh jira để làm việc với issue và dữ liệu dự án Jira. Skill dành cho người quản lý công việc trên Jira và muốn AI xử lý các việc thường ngày.
Khi nào nên dùng
- ✓Khi bạn muốn tìm các issue Jira khớp với một bộ lọc, chẳng hạn các ticket đang mở của bạn.
- ✓Khi bạn cần tạo một issue Jira mới hoặc thay đổi trường trên issue hiện có.
- ✓Khi bạn muốn dữ liệu Jira ở định dạng gọn để làm báo cáo hoặc tóm tắt.
Liên kết skill
https://github.com/ankitpokhrel/jira-cli/blob/main/skills/jira-cli/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tìm tất cả ticket Jira đang mở được giao cho tôi và liệt kê tiêu đề cùng trạng thái của chúng.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent dùng phần trợ giúp có sẵn của công cụ để tìm đúng lệnh, rồi đọc dữ liệu Jira ở định dạng đơn giản, dễ xử lý.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Jira CLI
Use this skill when operating Jira through the jira command. Start with jira --help, then inspect the relevant command and subcommand help (for
example, jira issue list --help) before using them. The installed CLI's help is the source of truth for its available commands, flags, and syntax; it also
contains command-specific examples. This skill adds agent-oriented safety guidance and useful workflow patterns that may not be obvious from the flags.
Prefer machine-readable output
List commands are interactive by default. When reading data programmatically, prefer an output format intended for parsing:
# JSON
jira issue list --raw
# Plain text, optionally selecting fields and omitting headers
jira issue list --plain --columns key,summary --no-headers
# CSV
jira issue list --csv
Use --raw when supported and JSON is needed. Otherwise, use --plain with --columns and --no-headers to minimize parsing ambiguity.
Configuration and fields
The default configuration file is:
$XDG_CONFIG_HOME/.jira/.config.yml
When XDG_CONFIG_HOME is unset, it is:
~/.config/.jira/.config.yml
The configuration file can be used as a data source. It contains the configured project, issue types, and custom field definitions. In particular, inspect
issue.types and issue.fields.custom before constructing create, edit, or --custom commands.
Use --config/-c or JIRA_CONFIG_FILE to select another configuration file.
This metadata is created during jira init and, over time, can become out of sync with Jira. Refreshing the configuration with jira init changes local
configuration. NEVER do it without obtaining explicit confirmation first.
For custom fields, use --custom key=value. The key is derived from the configured field name in lowercase with words separated by hyphens (for example,
Story Points becomes story-points). The expected value format depends on the field type; array values are comma-separated. Only use fields present in the
configuration, and inspect their schema rather than guessing the format.
Do not guess a field name, ID, allowed value, or issue type when it is missing or inconsistent. Instead, use another authorized source of truth, such as the Jira
UI or API. Some error messages contain relevant data; for instance, when jira issue move fails due to an invalid transition state, it lists available
states in the error output. If everything fails, ask the user.
Useful JQL patterns
Use jira issue list --jql (-q) when the built-in filters are insufficient. For example, raw JQL can search across multiple projects, use a saved filter, or
approximate a backlog query:
# Issues in either project
jira issue list -q "project IN (PRJ1, PRJ2)"
# Issues matching a saved Jira filter
jira issue list -q "filter='my saved filter'"
# Backlog-style issues (adapt statuses and issue types to the project workflow)
jira issue list -s~Done -q "sprint is empty and issuetype not in (Epic, Sub-task)" --order-by rank --reverse
When the JQL itself contains a project condition, it takes precedence over --project (-p); do not expect -p to further restrict that query.
Safe execution
- NEVER expose
JIRA_API_TOKENor config credentials;--debugmay print auth headers. - ALWAYS confirm destructive actions and externally visible changes the user did not explicitly request.
- Read an issue before updating it when its current state matters. Verify consequential or uncertain updates.
- Use
jira <command> [<subcommand>] --helpfor flags, requirements, and examples. Supply explicit arguments and use--no-inputwhen supported. - Cache useful discoveries for the session.
Câu hỏi thường gặp
Tôi có cần cài Jira CLI không?
Có. Skill chạy lệnh jira, nên công cụ này phải được cài và thiết lập trước.
Skill có thay đổi ticket Jira chứ không chỉ đọc không?
Có. Skill bao quát việc tạo và cập nhật issue, không chỉ tìm kiếm.
Skill tìm cài đặt Jira của tôi ở đâu?
Skill đọc một file cấu hình trong thư mục cấu hình của bạn, file này liệt kê dự án và các trường tùy chỉnh.
Chi tiết
Mô tả gốc của tác giả
Use Jira-CLI to search, inspect, create, or update Jira issues and related project data. Covers machine-readable output, configuration metadata, command discovery, and safe execution.
repo: ankitpokhrel/jira-cli
Độ phổ biến
- Sao GitHub
- 6.1k
- Vị trí xếp hạng
- #14430
- Giấy phép
- MIT
- Cập nhật
- 17/10/2026
Bình luận
- …
Skill tương tự
knowledge-capture
394kDạy agent của bạn lưu các quyết định, sở thích và sự kiện quan trọng vào kho Knowledge dưới dạng ghi chú ngắn có ghi nguồn.
knowledge-claim-consolidation
394kGiúp agent của bạn dọn gọn kho Knowledge bằng cách gộp các khẳng định trùng lặp, chuyển chúng đến đúng trang chủ đề và loại bỏ những cái lỗi thời.
knowledge-correct
394kCho phép agent của bạn sửa hoặc rút lại một khẳng định hoặc trang Knowledge cụ thể theo yêu cầu của bạn, và giữ nhật ký những gì đã thay đổi.