You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think we should add AI configuration files within this repository.
Background
In #12207 I used Claude Code heavily to implement Array Expressions. I found this to be a generally positive experience.
Actually, I found it to be a pretty terrible experience at first, until I gave Claude a lot of structure in which to operate. This includes things like CLAUDE.md files, design docs, plans, skill documents, automated hooks, etc.. I found that providing structure and guidance around AI tooling made it much more effective for me. I think that it would help others as well.
First pass
I'd probably add an AGENTS.md file, then link that to CLAUDE.md, GEMINI.md, etc.. I'd also add Claude skills for more depth. I think that that's a good first pass.
I also use designs/ and plans/ directories when I work. I find them pretty helpful, but that might be more idiosyncratic to me. Maybe we hold off on those until other folks have a chance to experiment with their own workflows.
Goal
I'd like to get to a point where agents could handle the majority of bug reports and user requests. I think that AI is at a point today where, if it is given enough structure, this is doable.
I am +1 on this too. As more folks use AI tools to assist their work it's good to collect together common resources for them to use.
However, I want to avoid encouraging new contributors to create PRs with AI. Generally these end up with bad results. I feel like AI contributions should only be made by contributors with enough experience and context of the project that they can guide the agent appropriately. The presence of these files may send the wrong signal so we should make this clear in our contributing guidelines.
As a first pass I'll propose agents.md which is linked to claude and gemini (and whatever else is typical). I'm hearing enough support to go ahead with a first pass on this.
As a second pass also started converging on an .ai-docs directory, which has docs written for AI, which I've found to be pretty useful. I've found that I write differently for AI and humans and that trying to combine these docs isn't always best. I'll write up some general public notes on this first though before pushing it here.
I am +1 on this too. As more folks use AI tools to assist their work it's good to collect together common resources for them to use.
However, I want to avoid encouraging new contributors to create PRs with AI. Generally these end up with bad results. I feel like AI contributions should only be made by contributors with enough experience and context of the project that they can guide the agent appropriately. The presence of these files may send the wrong signal so we should make this clear in our contributing guidelines.
Activity
dcherian commentedon Dec 31, 2025
In general, I am +1 on this. I too have found that planning yields a large improvement in quality.
jacobtomlinson commentedon Jan 6, 2026
I am +1 on this too. As more folks use AI tools to assist their work it's good to collect together common resources for them to use.
However, I want to avoid encouraging new contributors to create PRs with AI. Generally these end up with bad results. I feel like AI contributions should only be made by contributors with enough experience and context of the project that they can guide the agent appropriately. The presence of these files may send the wrong signal so we should make this clear in our contributing guidelines.
mrocklin commentedon Jan 6, 2026
As a first pass I'll propose agents.md which is linked to claude and gemini (and whatever else is typical). I'm hearing enough support to go ahead with a first pass on this.
As a second pass also started converging on an
.ai-docsdirectory, which has docs written for AI, which I've found to be pretty useful. I've found that I write differently for AI and humans and that trying to combine these docs isn't always best. I'll write up some general public notes on this first though before pushing it here.crusaderky commentedon Jan 7, 2026
I agree with this
crusaderky commentedon May 29, 2026
Closed by