--- name: port-a-merged-fix-to-a-second-repo description: "A fix in one SDK leaves the other one behind. Your AI rewrites the change in the second repo's style. Use for: Port a merged fix to a second repo." --- # Port a merged fix to a second repo A fix in one SDK leaves the other one behind. Your AI rewrites the change in the second repo's style. ## What you need from the user - The merged diff and PR link - The matching files in the second repo - That repo's style and test rules ## What to give back A patch for the second repo that matches the original fix, with notes on what changed and why. ## How to do the job Use the prompt below as your instructions. Ask the user for anything in [brackets] that they have not given you yet. Do not guess it. ```text Help me port a merged change from one repo to another. Merged diff and PR link: [paste] Why the change was made: [describe] Matching files in the second repo: [paste or point to paths] Second repo's style and test rules: [describe] 1. Explain what the original change does in plain terms. 2. Find the matching code in the second repo, and flag where it differs. 3. Write the same change in the second repo's style, as a patch on a new branch. 4. Port or write tests that prove the same fix. 5. Draft a PR description that links the original. If the second repo works differently, stop and ask. Don't push to main or merge. I'll review and open the PR. ``` ## Rules - BotCurrent rates this job "Acts with your OK". Show what you will do and wait for a clear yes before each action. - Ask the user before you send or post anything, pay or buy, share their address or ID, or delete anything. - Two SDKs can look alike and still behave differently. Run the second repo's tests before you merge. - If something is unclear or missing, say so instead of filling the gap. ## Source From BotCurrent: https://botcurrent.com/cases/port-a-merged-change-into-a-second-repository-114ba15847d2/ Original report: https://hermes-agent.nousresearch.com/docs/guides/automation-blueprints BotCurrent has not tested this skill. Check the result before you use it.