/jstack:bugfrom jstack
Take an upstream bug, in a tool we use but do not own such as T3 Code, from first error to merged fix. Use when an error comes from upstream code, or when asked to check for an upstream issue, file one, or propose its fix.
Ships in jstack. 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.
None: SKILL.md is the whole skill.
Prove the bug is upstream, find what changed, reproduce it yourself, file one short issue in the project's own format, and then help the fix land. Worked example: T3 Code issue #37380 and the maintainer fix #37392.
Place the bug. Find the error text in the installed source (for example,
in T3 Code, the pinned source is under ~/.t3/source/<sha>/). Confirm that
nothing in our repos causes it. If it is ours, stop and fix it here.
Done when you can name the upstream file and the check that fails.
Find what changed. When the user says it is new, compare the installed
version with the one before (for example, in T3 Code, serverVersion is in
~/.t3/userdata/server-runtime.json). Diff the code path across the two
builds, then find the upstream PR that changed it. Note the PRs that it
reverses on purpose (in #37380, #36379 dropped unborn branches to fix
#22017). A fix that undoes that intent is wrong.
Search first. Search open and closed issues and PRs for the error text, the UI words, the function name and the suspect PR number. If one matches, comment or react there; do not file a duplicate. Done when every search is listed with its result.
Reproduce it yourself. Use the real app in the preview browser. For a
local T3 Code, open origin from server-runtime.json. Use harmless input,
such as "Reply with the word ok." Capture the failure and the state that
explains it (in #37380, the picker said "No refs found" while the label
said "From main"). Test each workaround before you suggest it.
Done when you have saved screenshots and a tested workaround.
Clean the screenshots. Crop out the sidebar, thread titles, hostnames and anything personal. Preview screenshots are 2x, so double the crop coordinates. Look at each image before you upload it.
Draft in their format. Read .github/ISSUE_TEMPLATE/ and
CONTRIBUTING.md with a sparse clone. Fill each template field with an
option it allows. Keep it short and user-facing (Matt Pocock's qa style, if
you have it): the user's view, numbered steps, expected and actual
behavior, no file paths or line numbers, readable in 30 seconds. Put the suspect PR and related items on
one line. When an open issue looks close, say in one line why yours is
different, or triage closes it as a duplicate. Give the version that
broke and the last one that worked. Apply unslop if you have it.
Done when every required template field is filled.
Review with the council. Give each member the draft, the screenshots, the template rules and your facts to verify. Run rounds until each score is 8 or more and no member names a blocking change.
File it. Run gh with network/auth access (outside any offline sandbox). Host screenshots in a public
gist (gh gist create --public cannot take binaries, so clone the gist,
add the images and push). Check that each raw link loads. Then run
gh issue create --title "[Bug]: ..." --body-file body.md. Only
maintainers can add labels. Done when the issue URL opens and both
images render in it.
Propose the fix, if asked. Clone upstream main at a pinned commit.
Have the council trace the root cause and propose the simplest
maintainable fix, and score your plan. Prefer one rule in a shared helper
over a check skipped in one caller. Follow the server: if it ignores an
input, the client must not require it. Done when each proposal names the
root cause with a file and line, a diff sketch and the test that goes red.
Follow the fix. Watch the issue for a linked PR. Compare it with the
council's fix. If they differ, post one short review comment with the
simpler rule and the case it covers. Use leaving-pr-comments. Done
when the fix merges or the user stops the follow-up.
The maintainer fix #37392 sets the bar for a PR we send upstream:
main first, in a throwaway home, not the user's live
app. For T3: T3CODE_DEV_SEED=0 vp run dev --home-dir <tmp>, outside any
git checkout, then recreate the report's state (in #37380,
git init -b main in <tmp>/scratch). Match the reporter's screenshots.vp run check:changed).gh may be logged out inside an offline sandbox.$TMPDIR can point somewhere else. Use absolute paths
for files that gh must read.threadId (t3_thread_organize, action: "archive"). Never archive your
own thread.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub justcarlson/jstack --plugin jstack20 skills in this plugin
/babysit-prMonitor a pull request through review and CI. Use when the user asks to monitor, watch, or babysit a PR./ci-retroMake a repository's CI faster from its own run history, then keep it fast. Use when CI is slow, queued, flaky or cold-cached, when auditing CI performance, or after a session that spent its time waiting on or retrying CI./councilTrigger this if the user says 'council'./epicResearch, plan and ship ambitious multi-issue or multi-repo work end to end. Triggers on 'epic', '/epic', 'ship epic', or bold-options research, a plan for sign-off, then parallel issues, worktrees, zero-downtime deploys and live proof.Other plugins' skills for the same job