Coding.fix from imports

From causify-ai/helpers · View interactive version

Coding.fix from imports is an AI agent skill from the GitHub repository causify-ai/helpers. Replace `from X import Y` imports with `import X` and update usages in a file

How to use this skill

Skill file

and then replace the uses of Y with X.Y

all uses of Z with X.Y

replace all uses of Z with X.Y.Z

```python

from future import annotations

from typing import Any, Dict, List, Optional, Tuple, Union, ... (any typing name)

from IPython.display import display

from pathlib import Path

```

```python

# Re-export get_chat_model for backward compatibility.

get_chat_model = langchain_API_utils.get_chat_model

```

but replace all the callers

Verification

exceptions

for nested modules)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.