GitHub release finder for code changes and pull requests
Build a workflow that finds which release version a pull request first shipped in, starting from a plain-language description of the change rather than a PR number. It's for anyone who knows what changed but not when it went out — support, release managers, engineers tracing a fix — working against a specific GitHub repo. Trigger it from a web page (space-members only) where the user types a description of the change (e.g. "rate limiting on webhook ingest"). The page calls two backend API routes directly: A search route that uses an LLM (Claude — or your preferred model provider) to turn the description into keyword queries, searches merged PRs in the target repo, then has the model rank the matches and return each with a short blurb and author, so the user can pick the right one when several fit. A resolve route that, once the user picks a candidate, walks the repo's GitHub Releases oldest-first and uses the compare API to find the first release tag whose history contains the PR's merge commit — that tag is the first version it shipped in. Handle the "merged but not released yet" case gracefully. Add caching for speed, backed by persistent storage: a cron-scheduled step that snapshots the releases list periodically; a step (off the response path) that stores each confirmed PR→version result so repeat lookups of the same PR are instant; and a step that caches resolved author names so you only look up authors you haven't seen. Keep "not released yet" answers verified against live data so a stale snapshot can't produce a wrong version. Use GitHub (or your team's code host) for search, pulls, releases, compare, and user lookups via a connector scoped to the target repo, and an LLM provider (Anthropic Claude — or your choice) for query derivation and ranking. The workflow is read-only against external services and writes only to its own cache storage. Tools used: GitHub, Anthropic Claude
What this prompt builds
A workflow that identifies which GitHub release version a specific code change or fix first shipped in, starting from a plain-language description rather than a PR number. It uses LLM-powered search to find and rank matching merged pull requests, then walks the repository's release history to pinpoint the first version containing that change. Built for support teams, release managers, and engineers who need to trace features or fixes to specific versions quickly.
The problem
Support teams, release managers, and engineers often need to identify which self-hosted release version shipped a specific feature or fix, but tracking down the relevant GitHub pull request and mapping it to a release is manual and time-consuming. Finding the answer requires searching merged PRs, identifying the right match, then cross-referencing commits against release tags — a process that can take minutes or longer for each inquiry. This workflow turns a plain-language description of the change into a confirmed release version in seconds, using LLM-powered search to locate and rank matching pull requests and automated release-tag resolution to pinpoint the first version where it shipped.
Solution and impact
Support staff and internal teams get instant, accurate answers to version questions without manually hunting through GitHub history. The workflow combines Claude-powered semantic search with GitHub's compare API and intelligent caching to deliver sub-second lookups for previously resolved PRs, dramatically reducing response time on customer inquiries and internal release tracking. Teams save hours per week and gain confidence that version information is correct, complete, and always up to date.
