End-to-End GitHub Issue Fix Workflow

VerifiedCaution

Pipeline to fetch a GitHub issue, classify its domain, investigate, implement, test, and commit the fix in ByroRedux.

Sby Skills Guide Bot
DevelopmentAdvanced
11/2/2026
Claude Code
#github-issues#rust#issue-fix-workflow#cargo-testing#code-investigation

Recommended for

Automated summary

A repo-specific workflow that takes a GitHub issue number through fetching, domain classification, investigation, implementation, testing, and commit/close.

Strengths

  • Maps investigation to concrete crates and uses scoped `cargo check` and `cargo test -p` before the full workspace suite.
  • Includes explicit guardrails: a scope check above five files, dependency approval, `unsafe` safety comments, sibling-pattern checks, and Vulkan lifecycle checks.
  • Keeps context lean by discouraging speculative file reads and treating specialist agents as a last resort.
  • Ends with a conventional commit and automated issue close, producing a traceable fix.

Limitations

  • Hardcodes the `matiaszanolli/ByroRedux` repository, crate names, and domain routing, so it is not reusable elsewhere without edits.
  • Assumes `gh` authentication, a working Rust/Cargo workspace, and project conventions in CLAUDE.md; setup failures are not covered.
  • The investigation and implementation phases are guidance rather than enforced checks, so correctness depends on the agent following them.
When to use it

Use when fixing a known GitHub issue in the ByroRedux Rust workspace and you want a consistent fetch-to-commit workflow.

When not to use it

Do not use for another repository, feature work without an issue, or when you need issue triage rather than an end-to-end fix.

Security analysis

Caution
Quality score80/100

The skill uses well-known developer tools (`gh`, `cargo`) and file edits for a legitimate issue-fixing workflow. There is no obfuscation, secret exfiltration, destructive filesystem command, or attempt to disable safety controls. However, it requires bash/network access beyond its empty declared tool list and performs automatic commits and remote issue closure, so it is best rated caution rather than safe.

Findings
  • •Declared allowed-tools is empty, but the workflow requires shell execution (`gh`, `cargo`) and network access to GitHub; the permission declaration does not match the skill's actual needs.
  • •The skill instructs the agent to commit changes and close a GitHub issue automatically (`gh issue close`), which modifies remote state without explicit confirmation.
  • •Repository is hardcoded to `matiaszanolli/ByroRedux`, so the skill is project-specific and could act on the wrong repo if reused.
  • •Skill performs side-effecting operations without an explicit confirmation gate: `git commit` and `gh issue close` run automatically as part of the pipeline (only the >5-file scope check in Phase 4 asks the user).
  • •Requires shell/network tooling (bash, `gh` CLI, cargo) but declares no `allowed-tools`, so the actual capability surface is undocumented and broader than stated.
  • •Hardcodes a specific repository (`matiaszanolli/ByroRedux`), so `gh` commands target that remote regardless of the caller's working repo; harmless here but a pattern that could misfire if copied.
How this analysis is made

Examples

Fix a renderer issue
Fix GitHub issue #142 in matiaszanolli/ByroRedux using the fix-issue pipeline.
Fix a NIF parsing regression
Run the issue-fix pipeline for issue 318: NIF block parsing regressed on version 20.0.0.4.
Fix an ECS query bug
Use the fix-issue skill on issue 207 — ECS query iteration returns stale components.

description: "Fetch a GitHub issue, investigate, plan, implement, test, and commit the fix" argument-hint: "<issue-number>"

Fix Issue Pipeline

Phase 1: Fetch

gh issue view $ARGUMENTS --repo matiaszanolli/ByroRedux --json title,body,labels,state

Save details to .claude/issues/$ARGUMENTS/ISSUE.md.

Phase 2: Classify Domain

Classify the issue — the matched crate becomes the -p test target in Phase 6:

  • renderer → byroredux-renderer — Vulkan, pipeline, GPU memory, sync, shaders, RT acceleration
  • ecs → byroredux-core — Storage, queries, world, systems, resources, components
  • nif → byroredux-nif — NIF parsing, block types, version handling, import pipeline
  • animation → byroredux-core (+ byroredux-nif for KF import) — interpolation, blending, animation system
  • bsa → byroredux-bsa — BSA/BA2 archive reading, extraction, decompression
  • esm → byroredux-plugin — ESM record parsing, cell loading, XCLL lighting
  • platform → byroredux-platform — Windowing, input, OS abstractions
  • cxx → byroredux-cxx-bridge — C++ interop
  • binary → byroredux — Game loop, scene setup, demo code

Phase 3: Investigate

Read only the source files on the code path — don't pre-read a whole crate, and don't re-read files already in context. Trace the path inline.

Specialist agents are a last resort, not a default. Each one is a fresh context window — only delegate when the issue genuinely spans 2+ domains and you can't trace it yourself. When you do, ask the agent for a conclusion (file:line + cause), not file dumps.

INVESTIGATION.md is optional. Skip it for single-site fixes — the commit body covers those. Write it only when the investigation uncovered non-obvious findings worth preserving (cross-file interactions, a wrong-looking-but-correct invariant).

Phase 4: Scope Check

If fix touches >5 files, pause and confirm with the user before proceeding.

Phase 5: Implement

Follow project conventions from CLAUDE.md.

  • Shaders: recompile SPIR-V if GLSL changed
  • No new dependencies without user approval
  • Inner loop = cargo check -p <crate> (the Phase 2 crate), not the full workspace. It's the fastest signal while iterating. Do not run cargo test on every edit — save it for Phase 6.

Phase 6: Verify

Scope first, widen only at the end. Keep output quiet so test logs don't flood context — -q prints dots for passes and full detail only for failures.

cargo test -q -p <crate>          # the Phase 2 crate — the only suite that can regress for a scoped fix
cargo test -q                     # full workspace — ONCE, final gate (skip the redundant `cargo check`: test already built everything)

All tests must pass with zero warnings. Run the full suite a single time at the end, not per fix iteration. For a fix confined to one crate with no cross-crate surface, the scoped run is sufficient evidence — note that you scoped it.

Phase 7: Completeness Checks

Before committing, verify:

  • [ ] UNSAFE: Any new unsafe blocks have safety comments
  • [ ] SIBLING: Same bug pattern checked in related files
  • [ ] DROP: Vulkan object lifecycle correct (destroy-before-parent)
  • [ ] TESTS: Regression test added if applicable

Phase 8: Commit & Close

Commit with conventional message referencing the issue:

Fix #<number>: <description>

Close the issue:

gh issue close $ARGUMENTS --repo matiaszanolli/ByroRedux --comment "Fixed in <commit-hash>"

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/end-to-end-github-issue-fix-workflow-mvhm5m0v/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/end-to-end-github-issue-fix-workflow-mvhm5m0v' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/end-to-end-github-issue-fix-workflow-mvhm5m0v/download' --output '.skill-downloads/end-to-end-github-issue-fix-workflow-mvhm5m0v/SKILL.md.part' && mv '.skill-downloads/end-to-end-github-issue-fix-workflow-mvhm5m0v/SKILL.md.part' '.skill-downloads/end-to-end-github-issue-fix-workflow-mvhm5m0v/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

This file does not provide a usable name/description header for this native procedure. It remains available to download and inspect; use the manual method below.

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/end-to-end-github-issue-fix-workflow-mvhm5m0v/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills