AndyL

AndyL

Project Docs for LLM Coding Tools

Elixir has rapidly changing hex packages, both public and private. For people who use AI Coding Tools (Aider, Cursor, Windsurf, etc.), how are you ingesting Project Docs into your LLM Context?

For example: I’d like my Aider session to answer questions and generate code for the latest release of Ash. I haven’t settled on a good approach.

There are emerging tools and standards: LLMS.txt, Model Context Protocol (mcp directory), hex2txt, Claude Projects, Windsurf rules, and more. There is an open PR for ExDoc to auto-generate markdown that can be loaded into a LLM context.

Over the long term maybe MCP will be the widely adopted standard. But for now, the optimum workflow is evolving with heavy doses of trial and error. Various Editors and LLM providers offer different features, and IMO the optimal solution for Elixir is going to be different from languages like JS or Python.

Given the current state of the world, how are you ingesting Elixir Project Docs for LLM-aided development? Any tips/tricks/observations appreciated!

Most Liked

TimButterfield

TimButterfield

With ChatGPT, you can create a project and, using the online UI, upload files to that project. This can be useful when you want to have a common set of documentation to use with the individual chats under that project. For the individual chats, you can also attach files for it to refer to on a more temporary basis.

With Claude Code, you have have it reference documentation within your project. In that case, just create a folder to contain the set of docs you want it to use.

I have used both of these approaches. For both, give specific instructions to the AI to refer to those sets of documentation for whatever task you ask it to perform.

Where Next?

Popular in Dev Env & Tools Top

mveytsman
If you use vim, upgrade alchemist.vim to 2.8.0 as soon as possible!! There’s a bug that allows any website to take over your computer. ...
New
DaAnalyst
Exactly. A bit off topic, but I think the issue with the machines is they don’t bear any consequences. And even if they did one day, the...
New
ricksonoliveira
Hey folks, I have been looking for an alternative to good old VsCode for a while. Have tried some vim and emacs editors with their plugi...
New
AstonJ
If you use a VPN or are interested in any please vote in the poll - you can select as many options as you want :icon_biggrin: I’ve added...
New
renews
Hello everyone, today I created a simple Neovim plugin to check for new versions of packages used in the project, not sure if it is usefu...
New
kayoj
Hello I have been testing different environments for Elixir development & noticed something odd. When I run the Elixir formatter loc...
#ai
New
SyntaxSorcerer
I found Elixir after a friend recommended looking into it for developing a multi-agent orchestration and task management system. Soon aft...
New
AstonJ
I wasn’t aware ZSH has plugins until @Samjowen mentioned one in the Share an Elixir or dev-env tip a day thread! Oh My Zsh comes bundle...
New
AstonJ
Do we have any frequent travellers or digital nomads here? If so where have you been and do you have any tips to share? (Particularly in...
New
adamu
There is a thread about vim already, but I wanted to start one specifically about the language server. What configuration do people use ...
New

Other popular topics Top

senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
yawaramin
In the Dialyzer docs ( http://erlang.org/doc/man/dialyzer.html#requesting-or-suppressing-warnings-in-source-files ), there is a way to tu...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 45766 226
New
vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
freewebwithme
Using vs code and installed ElixirLS: support and debugger. And I got an error popped up on start up says Failed to run ‘elixir’ comma...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New

We're in Beta

About us Mission Statement