Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

jira-to-local

БесплатноЗапускает вложенные скриптыНе проверен

Use when the user wants Jira issues pulled onto disk as local files — "pull PROJ-123", "fetch this story", "get that ticket locally", "download the bug"…

bmad-labsот bmad-labs★ 20 звёзд на GitHub

Об этом скилле

Pull a Jira issue into a local folder

One job: an issue key goes in, a folder of readable files comes out. One issue, one folder, everything in it — fields, comments, subtasks, worklogs, attachments, and any Confluence page the issue links to. Change history comes down only when the user asks for it — see Change history is opt-in.

<skill-path> below is this skill's directory.

The seven rules

1. Pull only. This skill never creates, edits, transitions, comments on, assigns, or deletes anything in Jira. Every request reads: every REST call is a GET, and the one POST is a GraphQL query — the only way to read the deployment list, which no REST endpoint serves. In twg mode the same holds: only twg's read commands run (get, query, download, whoami). Nothing here mutates anything. If the user wants a write, say so plainly and point to a tool that writes to Jira — do not improvise it here.

2. Config first, and the config records the user's ticks. No .jira.config.json means run workflows/setup.md before anything else. Setup's five decisions — project, issue types, fields per type, board, output — are the user's, and each is settled by a box in a file that setup-choices.mjs generates from the API's own answer. The agent fetches the options and records what the user did — never narrowing a list, summarising it, or marking one option as recommended before they have seen all of it. One more choice comes first and is made in chat, not in a file: how to connect (transport), picked from the pros-and-cons table in setup step 0.

Only the starting state differs. Project, issue types, board and output arrive unticked, so a tick is the answer. A per-type fields file arrives fully ticked, because its options are the fields that issue type's screen shows — Jira's own answer to what the type holds — so keeping it all is the honest default and the user's job is to untick what they do not want. Either way their edit is the decision, and a fresh file is not one.

Setup also records one thing that is not a tick file: which of this site's custom fields fills each metadata row (project.metaFields). Propose that mapping from the field list already on screen, then let the user confirm it. An unmapped row is written —, never guessed.

3. One part per call. fetch-issue.mjs writes one document per run. Never reach for a single call that fetches everything: the parts are separate so each can be checked while it is still small enough to check.

4. Complete or failed, never partial. Every comment and every worklog entry is written. Any list read from the API is paged to the server's own total, and the count is asserted before the file is written. A file holding one page of a longer list is a failed pull, not a pull with a caveat. Never read a list out of fields=*all — that response is capped, silently.

The same rule decides when a pull is done: the folder is the evidence, not the report. An agent that says it finished, or that reports itself idle, has stated a hypothesis. Check the counts against Jira before believing it — and when many issues are in flight, stop the agent before reading its folder, because idle is reported while a write is still in flight.

5. Every document is versioned, and every JSON file is validated. Markdown declares schema: in its frontmatter; JSON declares $schema as its first key. In json or both mode, check-json.mjs must exit clean on every JSON file before the pull is reported done. A file that fails validation, or carries no $schema, is a failed pull. A pulled Confluence page is markdown in every mode, so check-markdown.mjs covers it and check-json.mjs never runs on it.

6. The format pass changes formatting, never words. Layout, headings, table syntax, list markers, unfilled boilerplate: all fair game. Wording, terminology, spelling, code, ids, dates, names, URLs: never. A ticket written in mixed languages, or with a typo in an acceptance criterion, stays exactly as written — that is what the ticket says. The one exception is image alt text, written from what the image shows. Detail in references/refactor-guide.md.

Within that boundary the target is a document a person can read, not a document the checker accepts. check-markdown.mjs covers what someone thought to automate, so a clean exit is the floor: the agent still reads the file as the reader will and fixes what renders wrong or breaks the reading, whether or not a rule names it. A clean gate on a visibly badly formatted file is a failed part.

7. Write for someone who has never seen the issue or the code. The reader cannot open Jira, has not read the repository, and does not know the project's shorthand. An unexplained ticket key, field name, or file path costs them a lookup they cannot make. Name what a thing is, once, in a short clause.

Pick the workflow

| The re

Полный SKILL.md на GitHub

Установить jira-to-local в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

evals/evals.jsonreferences/confluence-links.mdreferences/format-guide.mdreferences/github-links.mdreferences/jira-fields.mdreferences/output-json.mdreferences/refactor-guide.mdschemas/comments.schema.jsonschemas/config.schema.jsonschemas/content.schema.jsonschemas/development.schema.jsonschemas/history.schema.jsonschemas/tasks.schema.jsonschemas/worklogs.schema.jsonscripts/adf.mjsscripts/adf.spec.mjsscripts/check-json.mjsscripts/check-markdown.mjsscripts/config.mjsscripts/config.spec.mjsscripts/confluence-format.mjsscripts/dev-status.mjsscripts/fetch-confluence.mjsscripts/fetch-github.mjsscripts/fetch-github.spec.mjsscripts/fetch-issue.mjsscripts/history.mjsscripts/history.spec.mjsscripts/inspect.mjsscripts/jira-api.mjsscripts/jira-api.spec.mjsscripts/package.jsonscripts/setup-choices.mjsscripts/twg-auth.mjsscripts/twg-auth.spec.mjsscripts/twg.mjsscripts/twg.spec.mjstemplates/comments.mdtemplates/confluence-page.mdtemplates/content.md

FAQ

Что делает скилл jira-to-local?

Use when the user wants Jira issues pulled onto disk as local files — "pull PROJ-123", "fetch this story", "get that ticket locally", "download the bug", "save this issue and its comments", "grab the NFR", "read this ticket offline", or a pasted Jira browse URL with nothing else asked of it. Also for many at once — "sync all tickets in sprint 62", "pull every bug in the sprint", "fetch the whole backlog locally", "download all of team X's issues". Covers any issue type — story, bug, epic, subtask, or whatever types the project has invented for itself. Also when the issue links a Confluence page that should come down with it, or when an issue's change history is wanted — who changed what, and when. This skill only reads: for creating, editing, transitioning, commenting, searching, or pushing anything back to Jira, use a tool that writes to Jira instead.

Как установить скилл jira-to-local?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл jira-to-local запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить jira-to-local с