Command Palette

Search for a command to run...

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

ready-to-solve

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

Check whether a Jira issue is well-groomed and ready for /jira:solve

openshift-engот openshift-eng★ 123 звезды на GitHub

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

Name

jira:ready-to-solve

Synopsis

/jira:ready-to-solve <jira-issue-key> [--dry-run] [--verbose] [--fix]

Description

The jira:ready-to-solve command checks whether a Jira issue has sufficient grooming for /jira:solve to produce a quality solution.

It runs a two-phase validation:

  1. Deterministic checks via a Python script that verifies structural requirements: required sections exist, are non-empty, and have adequate content.
  2. AI qualitative assessment that evaluates whether the acceptance criteria are specific and testable, whether there is enough implementation context, and whether clear success/failure conditions exist.

On pass, the label ready-to-solve is added to the issue. On fail, not-ready-to-solve is added. The stale opposite label is removed if present.

With --fix, when validation fails the command generates a revised description that adds or improves the failing sections, shows the proposed changes to the user for approval, and updates the Jira issue description upon confirmation.

Prerequisites

  • Jira MCP server configured (Atlassian Rovo MCP)
  • Python 3.8+ (which python3)

Implementation

Phase 1: Fetch Issue Data

Fetch the issue via getJiraIssue with the issue key.

Extract from the response:

  • fields.description -- full description text
  • fields.summary -- issue title
  • fields.labels -- current labels array (needed for label updates)
  • fields.status.name -- current status
  • fields.issuetype.name -- issue type

If description is null or empty, skip to Phase 4 with an automatic FAIL verdict.

Phase 2: Run Deterministic Checks

Pipe the description to the Python script:

echo '{"description": "<description_content>"}' | python3 plugins/jira/skills/ready-to-solve/scripts/check_sections.py

For verbose output (includes matched content):

echo '{"description": "<description_content>"}' | python3 plugins/jira/skills/ready-to-solve/scripts/check_sections.py --verbose

Important: Construct the JSON input carefully. The description may contain quotes, newlines, and special characters. Use Python or jq to safely serialize:

echo "$DESCRIPTION" | jq -Rs '{"description": .}' | python3 plugins/jira/skills/ready-to-solve/scripts/check_sections.py

The script outputs JSON with per-check results. Parse the output to get:

  • overall_pass: boolean -- whether all REQUIRED checks passed
  • checks: array of individual check results
  • stats: summary counts

Deterministic checks performed by the script:

Check ID Name Pass Condition Severity
has_context Context section present Heading matching: Context, Description, Background, Overview, or Why REQUIRED
has_ac Acceptance Criteria present Heading matching: Acceptance Criteria, AC, or Definition of Done REQUIRED
context_not_empty Context has content At least 50 characters below the heading REQUIRED
ac_not_empty AC has content At least 30 characters below the heading REQUIRED
has_tech Technical Details present Heading matching: Technical Details, Technical Context, Implementation Details, Implementation Notes, or Technical Notes REQUIRED
tech_not_empty Technical Details has content At least 30 characters below the heading REQUIRED
ac_has_items AC has multiple items Warns if fewer than 2 bullet points or numbered items WARNING
min_description_length Adequate overall length Total description at least 200 characters WARNING

Note: WARNING checks are reported but do not block the overall verdict. Only REQUIRED checks must pass for the issue to be considered ready.

Phase 3: AI Qualitative Assessment

Read the full description and evaluate three dimensions. For each, produce a verdict (PASS or FAIL) and a 1-2 sentence justification.

  1. AC Specificity and Testability: Are acceptance criteria specific enough to write tests against? Do they describe observable behavior rather than vague goals?

    • FAIL: no acceptance criteria, or criteria are vague ("it should work", "system performs well")
    • PASS: criteria describe observable behavior ("when X happens, Y returns Z", "API returns 404 for missing resources")
  2. Implementation Context Sufficiency: Is there enough description of the problem, affected code area, or desired behavior that /jira:solve could identify relevant files and implement a solution?

    • FAIL: a codebase search would be ambiguous (no component, file, or feature area mentioned)
    • PASS: the description points to a specific area of the codebase, component, or behavior
  3. Clear Success/Failure Conditions: Can a reviewer determine whether a proposed solution addresses the issue?

    • FAIL: no way to tell if a solution is correct (no expected behavior, no test criteria)
    • PASS: conditions are explicit enough to verify a solution

Phase 4: Aggregate Ver

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

Установить ready-to-solve в Claude Code и Claude Desktop

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

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

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

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

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

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

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

scripts/check_sections.py

FAQ

Что делает скилл ready-to-solve?

Check whether a Jira issue is well-groomed and ready for /jira:solve

Как установить скилл ready-to-solve?

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

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

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

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

Сравнить ready-to-solve с