{
 "schema_version": 1,
 "generated": "2026-10-31",
 "id": "rlaope-oh-my-hermes--turn-on-safe-python-renames-with-lsp-tools",
 "repo": "rlaope/oh-my-hermes",
 "repo_url": "https://github.com/rlaope/oh-my-hermes",
 "repo_slug": "rlaope-oh-my-hermes",
 "title": "Rename Python symbols correctly with language server tools",
 "page_title": "How to rename Python symbols correctly with language server tools with Oh My Hermes",
 "summary": "Enable OMH's opt-in lsp_tools so renames use the language server instead of text search.",
 "who": "A Python developer whose agent renames break aliases and re-exports.",
 "problem": "Text search renames miss aliases, re-exports and shadowed names, and small models suffer most.",
 "outcome": "Renames done through lsp_definition, lsp_references and lsp_rename, so every real use changes.",
 "steps": [
  "Open the OMH plugin settings",
  "Turn on lsp_tools (it is off by default)",
  "Ask Hermes to rename a function or class across the project",
  "Run your tests to confirm nothing broke"
 ],
 "agent_prompt": "Enable lsp_tools in rlaope/oh-my-hermes, then rename <symbol> to <new name> across this Python project with lsp_rename and run the test suite.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "This card is written from the rlaope/oh-my-hermes README, not from a test run by Deduped. Before you start, make sure you have Hermes Agent installed. Check the repo for newer instructions before you rely on these steps.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "Hermes Agent installed",
  "macOS or Linux (install script) or Windows PowerShell 5.1+",
  "Accounts or keys for the model providers you want in each lane"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/rlaope-oh-my-hermes/turn-on-safe-python-renames-with-lsp-tools/",
 "md": "https://dedupedai.com/use-cases/rlaope-oh-my-hermes/turn-on-safe-python-renames-with-lsp-tools/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/rlaope-oh-my-hermes--turn-on-safe-python-renames-with-lsp-tools.json",
 "api_version": "v1"
}
