Put together some notes on how I used the combination of llm, files-to-prompt and Claude 3.5 Sonnet for an initial draft of documentation describing how one of my tools worked, then tidied it up with the help of Cog and added that to the README https://simonwillison.net/2024/Sep/7/json-flatten/
files-to-prompt *.py | llm -m claude-3.5-sonnet --system 'write detailed documentation in markdown describing the format used to represent JSON and nested JSON as key/value pairs, include a table as well'