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 AI / LLMs Top

FedericoAlcantara
Hi guys, I’ve been running Qwen locally for the last two weeks using an opencode + Ollama + qwen3.6:35b-A3B setup with q4_k_m quantizati...
New
dominicletz
Hey there, I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first. ...
New
jswny
Has anyone managed to get Codex (the cloud version, as seen here) to work for Elixir? I tried to setup the dependencies but mix deps.get...
New
sergio
As more and more code is written by agents, driven by humans, what strategies are you employing to keep the slop at bay? Managing a team...
New
Vidar
So in case others find them useful here are 3 of the skills I use. They work pretty well together. Avoid Claude starting agents to plan a...
New
DaAnalyst
Claude is really good. It has definitely become an indispensable part of my toolkit. Maybe even the most indispensable after the OS itsel...
New
brendon9x
I’m CTO of a scale-up called Zappi and have switched the company from Ruby to Elixir, meaning all new backend services are now Elixir. I ...
New
asianfilm
For those who haven’t seen it, here is a research paper from August that found that LLMs perform twice as well with Elixir than with Pyth...
New
NickGnd
Hey :waving_hand: Tidewave has just been announced by José Valim :fire: Watch Tidewave transform Claude Desktop into an agent by runni...
New
vkryukov
People are constantly debating which LLM is better for writing Elixir code, so I decided to compare the three SoA models from Google, Ope...
New

Other popular topics Top

9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
shahryarjb
Hello, I have map which I want to convert it to string like this: the map: %{last_name: "tavakkoli", name: "shahryar"} the string I ne...
New
johnnyicon
Hi all, I’ve just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage. I’m trying to use Postgres...
New
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
jason.o
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New
vegabook
I’m brand new to Phoenix and I have stripped one of the demo applications to the bone. I just want to get an svg up on the screen. Here i...
New
svb
Hi! Currently I want to submit a form by pressing the Enter key. However, since my input field is of type “textarea” this is just adds a...
New

We're in Beta

About us Mission Statement