/vmkteam-developer:youtrackfrom vmkteam-developer
Manages YouTrack issues via REST API and pcurl: search, create, update descriptions, change assignee/stage/priority, log time, and work with comments.
Ships in vmkteam-developer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Работа с YouTrack через REST API. Для доступа используй pcurl @{profile}, где {profile} — pcurl-профиль YouTrack-инстанса проекта (определяется при онбординге или из CLAUDE.md проекта).
Profile: @{yt_profile}
Base URL: https://{yt_host}/api
Проверка доступа:
pcurl @{yt_profile} 'https://{yt_host}/api/admin/projects?fields=id,shortName,name&$top=50' -s
# Все открытые issues проекта
pcurl @{profile} 'https://{host}/api/issues?query=project:{PROJECT}+state:Open&fields=idReadable,summary,created,updated,resolved,reporter(login),assignee(login)&$top=20&$orderBy=-created' -s
# По тексту
pcurl @{profile} 'https://{host}/api/issues?query=project:{PROJECT}+{search_text}&fields=idReadable,summary,created,updated,resolved&$top=20&$orderBy=-created' -s
# По нескольким проектам
pcurl @{profile} 'https://{host}/api/issues?query=project:{P1},{P2}+state:Open&fields=idReadable,summary,created,updated&$top=20&$orderBy=-created' -s
# Assigned to me
pcurl @{profile} 'https://{host}/api/issues?query=for:me+state:Open&fields=idReadable,summary,created,updated&$top=20' -s
# Полная информация
pcurl @{profile} 'https://{host}/api/issues/{idReadable}?fields=idReadable,summary,description,created,updated,resolved,reporter(login,name),assignee(login,name),tags(name),comments(author(login),text,created)' -s
# Комментарии
pcurl @{profile} 'https://{host}/api/issues/{idReadable}/comments?fields=author(login,name),text,created&$top=50' -s
pcurl @{profile} 'https://{host}/api/issues' -s -X POST \
-H 'Content-Type: application/json' \
-d '{"project":{"id":"{project_id}"},"summary":"{title}","description":"{description}"}'
Для создания нужен project.id (не shortName):
pcurl @{profile} 'https://{host}/api/admin/projects?fields=id,shortName' -s
pcurl @{profile} 'https://{host}/api/issues/{idReadable}/comments' -s -X POST \
-H 'Content-Type: application/json' \
-d "$(jq -n --arg t "$TEXT" '{text: $t}')"
Многострочный текст с кавычками и кодом (описания, комментарии) вставляй в JSON через
jq -n --arg, а не подстановкой в строку — иначе JSON ломается. Для однострочных значений достаточно строки как в примерах ниже.
pcurl @{profile} 'https://{host}/api/issues/{idReadable}' -s -X POST \
-H 'Content-Type: application/json' \
-d '{"summary":"{new_title}","description":"{new_description}"}'
Поле статуса может называться по-разному:
state,Stage,Status. Реальное имя и значения определяются при/onboardи хранятся вproject-index.md(state_field, state_open, state_done).
| Фильтр | Пример |
|---|---|
| Проект | project:WEB, project:WEB,MSH |
| Статус | state:Open, state:Resolved (или Stage:Backlog — зависит от проекта) |
| Assigned | for:me, for:{login} |
| Текст | просто слова в query |
| Дата | created:Today, created:2026-04-01..Today |
| Тег | tag:{tag_name} |
| Приоритет | priority:Critical, priority:Normal |
| Сортировка | sort by:created desc |
# Список аттачей issue
pcurl @{profile} 'https://{host}/api/issues/{idReadable}/attachments?fields=id,name,url,mimeType,size,created,author(login)' -s
# Скачать аттач (url из поля выше)
pcurl @{profile} 'https://{host}{url}' -s -o docs/llm/tasks/{TASK_ID}/{filename}
Поддерживаемые типы для анализа:
https://{host}/issue/{idReadable}
https://{host}/issues?q=project:{shortName}
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub vmkteam/claude-plugins --plugin vmkteam-developer36 skills in this plugin
/api-healthAPI Health — проверка здоровья JSON-RPC сервиса через SMD. Используй когда нужно убедиться что RPC-endpoint жив, собрать тайминги методов или диагностировать недоступность API./appkitAppkit — библиотека vmkteam/appkit: метрики, pprof, HTTP client, service metadata, X-Request-ID. Используй при подключении метрик/pprof в сервис, работе с HTTP-клиентом appkit или добавлении корреляционных ID./ci-cdCI/CD — GitLab CI + Nomad deploy для Go-сервисов vmkteam. Используй при редактировании .gitlab-ci.yml, *.nomad.hcl, настройке пайплайна или дебаге деплоя./colgenColgen — коллекции и конвертеры Go-структур. Используй, когда пишешь цикл, который собирает id, строит map по полю, группирует, заполняет связи или конвертирует список между слоями (включая лямбды в `Map`/`mcp.Map`); при новом DTO или модели домена; при правке collection.go./commit-msgCommit message — краткое сообщение коммита на английском из git diff. Используй перед `git commit`, после /solve, или при явной просьбе 'сгенерируй commit message'./cronCron — менеджер cron-задач с UI, middleware и Prometheus-метриками. Используй при добавлении/правке cron-задачи, фонового воркера, периодической проверки или правил по расписанию, при пакете `<domain>/cron`, подключении vmkteam/cron или настройке CronConfig.