3 ms·
Matheus Pedroni released a really clever plugin for doing that with LLM the other day: https://mathpn.com/posts/llm-docsmith/ https://mathpn.com/posts/llm-docsm
by simonw 2y ago
Matheus Pedroni released a really clever plugin for doing that with LLM the other day: https://mathpn.com/posts/llm-docsmith/ https://mathpn.com/posts/llm-docsmith/
You run it like this:
llm install llm-docsmith
llm docsmith ./scripts/main.py
And it uses a Python concrete syntax tree (with https://pypi.org/project/libcst/ https://pypi.org/project/libcst/) to apply changes to just the docstrings without risk of editing any other code.