Skip to content

Add AGENTS.md for compatibility with usage_rules #1631

@sitch

Description

@sitch

Support https://github.com/ash-project/usage_rules by adding an AGENTS.md file at the root of the repo.

Anecdotal issues so far:

Invalid generated claude code:

real_part = Nx.real(field) |> Nx.reshape({1, 1} ++ Tuple.to_list(Nx.shape(field)))
imag_part = Nx.imag(field) |> Nx.reshape({1, 1} ++ Tuple.to_list(Nx.shape(field)))

Although this is technically more of a Tuple issue where Kernel.++/2 is only implemented for lists, instructing the LLM to construct complex shapes with build_list |> Tuple.from_list() |> Nx.reshape()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions