magpie-issue-fix-workflow

A workflow for preparing a code fix for one issue that has already been confirmed as a bug or feature request. It creates a failing test, the smallest proposed code change, test results, and a commit, but stops before opening a pull request.

In plain words
What is it for?
Use it to develop and test a fix, record the relevant branch and commits, and hand the result to a maintainer for review and possible pull-request creation.
Why use it?
It turns a confirmed issue into a reviewable change while leaving publishing decisions with a human committer. This keeps code, commits, and external tracker actions under maintainer control.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/apache/magpie/issue-fix-workflow
Any agent
npx skills add apache/magpie --skill issue-fix-workflow
Clone the repo
git clone --depth 1 https://github.com/apache/magpie

Made for: Claude Code, Codex.

Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,431 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00108 $0.05431
Opus 5 $0.00054 $0.02715
Sonnet 5 $0.00022 $0.01086
Haiku 4.5 $0.00011 $0.00543

Measured yesterday against content hash 1003bc8770c6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

magpie-issue-fix-workflow scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/issue-fix-workflow/SKILL.md · 515 lines

How it starts

The opening of the file, as written. The whole thing — 515 lines — stays where its author put it; the contents beside it link to each section on GitHub.

issue-fix-workflow

This skill drafts a code fix for a single <issue-tracker> issue that has already been triaged as actionable (classification BUG or FEATURE-REQUEST per issue-triage). It produces the failing test, the smallest production change, the targeted and module test-run results, and the commit — but stops before opening a PR. The human committer reviews the hand-back artefact and decides what happens next.

This skill mirrors security-issue-fix in the security family, adapted to the general-issue tracker. Confidentiality and CVE-scrubbing concerns do not apply here; the issue is already public.

It composes with:

  • issue-triage — predecessor; produces the classification this skill builds on.
  • issue-reproducer — if the triaged issue carries a verdict.json, the adapted reproducer inside it is a regression-test starting point.
  • issue-reassess — campaign-level caller; the still-fails-* tail of a reassess campaign feeds directly into this skill.

Golden rules

Golden rule 1 — every state-changing action is a proposal. Writing files in <upstream>, committing, pushing, opening a PR, posting to <issue-tracker>, transitioning workflow state — all require explicit user confirmation. The fact that the user invoked the skill is not a blanket "yes"; each action gets its own confirmation.

Read the full file on GitHub · 515 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 515 lines · 108 tokens per session scan A 1003bc8770c6

Subscribe to this mod's changes

magpie-issue-fix-workflow is a skill published in the GitHub repository apache/magpie (84 stars, last pushed 2d ago), licensed Apache-2.0. It adds 108 tokens to every session and 5,431 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

magpie-setup

Adopt and maintain the apache-magpie framework in a project repo via the snapshot-based adoption mechanism. The only framework skill committed in an adopter's repo; every other skill is a symlink the adopt sub-action wires up. Sub-actions: /magpie-setup - first-time adoption (default; main-checkout only) /magpie-setup…

apache/airflow · 243 tokens

upgrade-fab-provider

Upgrade the pinned Flask-AppBuilder (FAB) dependency in the Apache Airflow FAB provider (providers/fab/). Bumps the exact flask-appbuilder== pin and its mirror constant, regenerates uv.lock, drives the testfabalignment.py drift tripwire, reviews the vendored security-manager override.py against the new upstream FAB…

apache/airflow · 120 tokens

aip-user-stories

Generate verified recipe playbooks from AIPs with PR implementations (post mode), or speculative user stories from AIPs without implementations (pre mode). Use when the user provides an AIP URL or AIP content, optionally with PR URLs and file paths.

apache/airflow · 56 tokens

airflow-translations

Add or update translations for the Apache Airflow UI. Guides through setting up locales, scaffolding translation files, translating with locale-specific guidelines, and validating results. Use when working with i18n tasks in airflow-core/src/airflow/ui/public/i18n/locales/.

apache/airflow · 60 tokens

airflow-java-sdk

Guide for contributing to the Airflow Java SDK (AIP-108). Use this skill whenever a contributor is working in the java-sdk/ directory or on the Java coordinator in task-sdk/src/airflow/sdk/coordinators/java/ — whether they want to add a feature, write tests, fix a bug, understand the architecture, or prepare a PR.…

apache/airflow · 119 tokens

airflow-new-sdk

Guide for implementing a brand-new language SDK for Airflow (AIP-108). Use this skill when a contributor wants to add support for a new programming language — designing the Python coordinator, implementing the wire protocol in the target language, writing the bundle format, and structuring the PR. Trigger on phrases…

apache/airflow · 127 tokens