Claude Code logo
Claude Code template
jurniti.com

Sentry AI Agent: Error to Draft PR

Sentry AI agent that turns a production error into a draft fix PR: stack summary, suspect commits, minimal patch. You review and merge. Nothing auto-ships.

NewNew8.0 KB snapshotStarter VM

What's inside

Harness

Claude Code

Plan

Starter

vCPU

1

Memory

2 GiB

Snapshot

8.0 KB

Setup prompt + walkthrough

The Sentry AI Agent: Error to Draft PR setup prompt + walkthrough

Paste this into any capable agent and it walks you through the connections, the trigger, and a supervised first run — the whole setup, in your own words. Or skip the setup and run this exact agent hosted.

Set up an agent for me, in its own chat, that does the work of a AI Agent: Error to Draft PR. Work from the files and facts I actually give it, rank what matters by impact rather than by how many items it found, and stop short of sending, filing, posting, or changing anything live unless I ask for that in the same run. Walk me through connecting Anthropic. Have it run whenever I hand it the work, and every weekday morning on whatever I left unfinished. Ask me where the source material lives, who should receive the output, and what good enough looks like for a first pass. Run one pass while I watch, then save it.

Already built, running in ~3 min · 30-day money-back on first purchase

How it works · ~3 minutes

  1. 01 · Fork

    New isolated microVM on your subdomain — creator agent state included.

  2. 02 · Your keys

    Log into Claude Code with your own model credentials (BYOK).

  3. 03 · Ask it to work

    Open the terminal and give the agent a real job. You keep what ships.

Example first ask

Pull my open PRs, summarize risk, and draft a review checklist.

30-day money-back on your first purchase · no free trial · keys never leave the VM

About this template

Error in. Draft PR out. You merge.

If you live in Sentry and GitHub, this Sentry AI agent turns a production error into a draft fix PR you review before anything ships.

Production errors pile up faster than anyone drafts fixes. This fork points Claude Code at a Sentry issue and hands back a draft PR: stack summary, suspect commits, minimal patch body. You merge. Nothing auto-deploys, ever.

How the Sentry AI agent works

One prompt runs the whole loop.

Fork it and your copy boots into an isolated Firecracker microVM on your own subdomain. Open the browser terminal, export your Sentry and GitHub tokens, point the vault file at your service, then paste:

Open Sentry issue <id>. Draft a minimal fix PR. Do not merge.

You get back a draft PR link, or an honest "cannot verify" report when the agent cannot reproduce the error. That blocked report is part of the design.

What you get when you fork

  • The sentry-error-to-pr skill, pre-installed
  • Upstream getsentry/sentry-for-ai material when available
  • A vault file at ~/vault/service.md for your service context (you fill it in after forking; capture scrubbing drops secrets)

What you connect

  • Claude login or ANTHROPIC_API_KEY
  • SENTRY_AUTH_TOKEN
  • GH_TOKEN

BYOK: your keys live only inside your VM and never leave it. The VM keeps running when your laptop is closed, so a draft can be waiting when you get back.

Who this Sentry automation is for

For you if you want agent help on the tedious path from issue to patch, with a human gate before production.

Not for you if you want auto-merge to production from error volume. This template will refuse.

Fork it

Part of the Software Factory collection: eng operators with a human gate on every risky action.

From $25/mo with a 30-day money-back guarantee on your first purchase. No free tier. Fork it - your copy boots in about 3 minutes, and your first draft PR is one pasted prompt away.

Inside this fork

Forking copies this template into a brand-new, fully isolated microVM on your own subdomain. Here's exactly what lands in it.

  • Claude Code agent

    The upstream harness, pre-installed — same version the creator ran.

  • Starter VM

    1 vCPU · 2 GiB RAM · 10 GiB disk.

  • Creator's /persist data

    The captured persist volume is copied byte-for-byte into your fork.

  • BYOK — your keys, your VM

    Add your model API keys after forking; they live only inside your microVM.

What this agent can do

1 skill

  • sentry-error-to-pr

What you'll configure after forking

Secrets are scrubbed from shared templates — these are the names you supply in your agent's terminal once it boots.

Environment variables

  • ANTHROPIC_API_KEY

Your turn

Your own Sentry AI Agent: Error to Draft PR, live in about 3 minutes.

Copy the setup prompt and build it yourself — or let this exact Claude Code agent run hosted, already built, on a brand-new, fully isolated microVM on your own subdomain. Add your own keys after it boots; they never leave the box. Don't love it? Your first jurniti purchase comes with 30 days to get every cent back.

New paid VM · BYOK · 30-day money-back on your first purchase · ~3 min to provision

Needs 1 of your own API key