Skip to content

AI Config Files #12210

Closed
Closed

Description

@mrocklin

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.

Activity

  1. added
    needs triage
    on Dec 30, 2025
  2. dcherian commented on Dec 31, 2025

    @dcherian
    Collaborator

    In general, I am +1 on this. I too have found that planning yields a large improvement in quality.

  3. jacobtomlinson commented on Jan 6, 2026

    @jacobtomlinson
    Member

    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.

  4. mrocklin commented on Jan 6, 2026

    @mrocklin
    MemberAuthor

    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.

  5. crusaderky commented on Jan 7, 2026

    @crusaderky
    Collaborator

    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.

    I agree with this

  6. added
    discussion
    and removed
    needs triage
    on Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    communitydiscussion

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions