{"id":11330,"plugin_id":"plugin_asdk_app_6a3da23321a88191914164e95151ccd5","kind":"skill","collection_source":null,"comparison_source":null,"observed_at":"2026-09-30T22:59:15.050Z","digest":"6a8815a7d1b6abdcc2cfefff62ce938dc83944e89889695196577f96c3b06d3f","against":null,"payload":{"description":"Turn a Resolve investigation's root-cause findings into code changes in your local repo. Use when the user wants to translate findings into code changes — phrases like \"fix this based on Resolve\", \"implement Resolve's mitigation\", \"apply the fix from this investigation\", \"remediate the root cause Resolve found\", or wants to write code to address a theory Resolve identified.","included_files":[],"name":"apply-fix","skill_md_contents":"---\n# Copyright 2026 Resolve AI, Inc.\n# SPDX-License-Identifier: Apache-2.0\nname: apply-fix\ndescription: Turn a Resolve investigation's root-cause findings into code changes in your local repo. Use when the user wants to translate findings into code changes — phrases like \"fix this based on Resolve\", \"implement Resolve's mitigation\", \"apply the fix from this investigation\", \"remediate the root cause Resolve found\", or wants to write code to address a theory Resolve identified.\nversion: 0.1.0\nlicense: Apache-2.0\n---\n\n# Apply Fix from Resolve Findings\n\nBridges Resolve's production-side diagnosis to local code edits.\n\n## Workflow\n\n1. **Pick the target finding.** Usually a root-cause theory from `get_investigation`. If multiple, ask the user which to address.\n2. **Read the theory and its citations** via `read_file` on the theory's path and its citation paths. Citations are log lines, queries, traces — the supporting evidence.\n3. **Gather what's missing for a code change.** Theories describe what's broken in production, not what to write locally. You fill that in by reading local code: which file owns the relevant path, what the current implementation does, where the change goes.\n4. **Optionally**, send a code-shaped question back to Resolve via `ask` for context you can't infer locally. Don't block on it — work in parallel.\n5. **Locate the relevant local code** with Grep/Read.\n6. **Propose the fix:** the theory addressed, the citations supporting it, the files being changed, why the change should work. Then implement.\n7. **Open a PR.** If a PR-creation skill is available, load and use it to open the pull request; otherwise follow the repo's normal PR flow. Land the work as a reviewable PR, not a dirty working tree.\n8. **Optionally** call `steer_investigation` with \"Applied mitigation: <summary>\" so the investigation records the fix.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}