issue-ingest

Ingests GitHub issues, localizes root causes, and generates resolution specs.

Updated May 31, 2026
One-click install
npx skills add https://github.com/AlexanderNarbaev/agi --skill issue-ingest-alexandernarbaev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: issue-ingest
Source: https://github.com/AlexanderNarbaev/agi/tree/main/.opencode/skills/issue-ingest
Command: npx skills add https://github.com/AlexanderNarbaev/agi --skill issue-ingest-alexandernarbaev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Turning a raw GitHub issue into an actionable engineering specification requires manual triage, codebase investigation, and root-cause analysis. This Skill automates that intake pipeline so a bug report or feature request becomes a testable spec without ad-hoc exploration. ## Core Features & Use Cases - Structured Issue Intake: Fetches the issue via the GitHub CLI and normalizes it into an Intake Note with observed behavior, expected behavior, reproduction steps, and environment, flagging gaps as [NEEDS REPRO]. - Root Cause Localization: Builds 2-5 falsifiable hypotheses with confidence scores, validates the top candidates against the codebase, and prunes to a single root cause with at least 70% confidence. - Spec Generation and Transition: Produces a WHAT/WHY-focused spec with FR/SC numbering and Given/When/Then scenarios, then optionally transitions to planning or a full fix-and-PR workflow via plan and trace flags. - Use Case: A maintainer runs /swarm issue on a reported crash; the Skill fetches the issue, pinpoints the faulty function with supporting evidence, and writes .swarm/spec.md ready for implementation planning. ## Quick Start Invoke the issue ingest mode with a GitHub issue URL, for example by asking the agent to run /swarm issue followed by the issue link, optionally adding plan or trace flags.

Frequently Asked Questions about issue-ingest

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I turn a GitHub issue into an implementation spec automatically?

Invoke the issue ingest mode with the issue URL, for example /swarm issue <url>. The protocol fetches the issue with the GitHub CLI, builds an Intake Note, localizes the root cause, and writes a spec to .swarm/spec.md with FR/SC requirements.

How does root cause localization work for a reported bug?

The protocol builds 2-5 falsifiable hypotheses, each scored on stack-trace match, recency, call-graph proximity, and test-failure correlation. The top three are validated in parallel, and the process exits when one root cause reaches at least 70% confidence.

What do the plan and trace flags do in issue ingest?

The plan=true flag transitions to planning mode after spec generation. The trace=true flag implies plan and additionally delegates to the swarm-implement skill for the full fix-and-PR workflow. Without flags, it only reports the spec summary.

What happens if a GitHub issue lacks reproduction steps?

Missing required fields are flagged as [NEEDS REPRO] in the Intake Note. If the noRepro flag is set, the reproduction verification step is skipped and the protocol proceeds with the available information.

Does the generated spec include implementation details?

No. The spec describes what users need and why, never how to implement. It excludes technology stacks, APIs, and code structure, and every functional requirement must have an independent verification path.