/autofix-skills:autofix-repo-resolvefrom autofix-skills
Disambiguate which repository URL is the actual target when a Jira ticket mentions multiple repos. Reads ticket context and candidate URLs, classifies each URL, and writes a verdict with the target and confidence level.
Ships in autofix-skills. 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.
Read when SKILL.md points to them; scripts run unread.
You are resolving which repository is the actual target of a Jira bug ticket that mentions multiple repository URLs. Your goal is to determine which single repo the bug should be fixed in.
.autofix-context/ticket.json for the ticket description, comments, and Jira component name..autofix-context/repo-candidates.json for the list of candidate repository URLs detected in the ticket.For each candidate URL, classify it by reading the surrounding context in the ticket description and comments:
If confidence is low, set target_url to the most likely candidate but note the ambiguity in reasoning.
Write the verdict to .autofix-context/repo-resolve-verdict.json:
{
"target_url": "https://github.com/org/repo",
"confidence": "high",
"reasoning": "The description explicitly states 'The impacted repository is: odh-model-controller' under Other Information.",
"candidates": [
{"url": "https://github.com/opendatahub-io/odh-model-controller", "classification": "target"},
{"url": "https://github.com/opendatahub-io/odh-dashboard", "classification": "negative"},
{"url": "https://github.com/rh-aiservices-bu/fraud-detection", "classification": "contextual"}
]
}
Validate the verdict:
uv run --script ${CLAUDE_SKILL_DIR}/scripts/write_json.py \
${CLAUDE_SKILL_DIR}/schemas/repo-resolve-verdict.json \
.autofix-context/repo-resolve-verdict.json \
--input .autofix-context/repo-resolve-verdict.json
uv run --script ${CLAUDE_SKILL_DIR}/scripts/validate_verdict.py \
.autofix-context/repo-resolve-verdict.json
If validation fails, fix the JSON and re-validate.
[text|url] or [url]). Parse both plain URLs and markup links.odh-dashboard), use this as a signal but not as the sole basis for high confidence -- the ticket text may indicate a different repo is the actual target.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
autofix-skills@odh-ai-helpers is listed by opendatahub-io/ai-helpers — review the source before installing
npx claudepluginhub opendatahub-io/ai-helpers --plugin autofix-skills4 skills in this plugin
/autofix-cve-resolveUse when orchestrating CVE remediation for a Jira Vulnerability ticket. Uses a Python state machine (cve_pipeline.py) for deterministic routing between scan, fix, verify, VEX, review, and PR creation agents. Never writes fix code directly./autofix-resolveUse when orchestrating a Jira ticket fix end-to-end. Dispatches to implement and review prompt agents in a loop, uses state.py for persistence, and evaluates findings to decide iteration. Never writes code directly./autofix-triageUse when assessing a Jira bug ticket for AI autofix readiness. Produces a structured JSON verdict (ready/needs_info/not_fixable) based on a three-gate rubric. Designed for CI pipeline use with the autofix pipeline orchestrator.