AgentStack
SKILL verified MIT Self-run

Update Extension Patch

skill-mondaycom-duckdb-claude-update-extension-patch · by mondaycom

Update an extension patch for a PR-related bug instead of editing patched output directly

No reviews yet
0 installs
6 views
0.0% view→install

Install

$ agentstack add skill-mondaycom-duckdb-claude-update-extension-patch

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Update Extension Patch? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Update Extension Patch for PR-Related Bug

Only follow this flow when the bug is in an extension and is related to the current PR. Update the patch file rather than modifying already-patched generated output.

Step 1: Identify the extension

Find the relevant extension config file in .github/config/extensions/ and note:

  • The extension repository URL
  • The pinned commit hash (tag)
  • Whether APPLY_PATCHES is already set

Step 2: Clone the extension repository

git clone  /tmp/

Step 3: Enable patching if needed

If the extension config does not already have APPLY_PATCHES, add it to the config file at .github/config/extensions/.

Step 4: Check out the pinned commit

In the cloned extension repository:

cd /tmp/
git checkout 

Use the pinned commit hash found in Step 1.

Step 5: Apply all existing patches

Apply every existing patch from .github/patches/extensions/ for this extension, in order:

git apply /path/to/duckdb/.github/patches/extensions//.patch

Make sure all existing patches apply cleanly before proceeding.

Step 6: Make the required code changes

Edit the code in the cloned extension to fix the bug.

Step 7: Generate a new patch

git diff > /path/to/duckdb/.github/patches/extensions//fix.patch

Step 8: Verify

Review the generated patch to confirm it contains only the intended changes. Replace the existing patch file if updating an existing fix, or add the new patch file if it's a new fix.

Important

  • Always apply all existing patches before making changes, so the new patch layers correctly.
  • The patch must be generated against the pinned commit with all prior patches applied.
  • Do not edit patched output files directly — always update the patch source.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.