.genignore
.genignore
is a proposal to standardize how to specify which files are to
be ignored for generative AI.
Specification:
Any implementation of genignore should follow the same spec as gitignore:
https://git-scm.com/docs/gitignoreCurrently, various AI tools use their own ignore file formats:
- Repomix uses
.repomixignore
- Gitingest has considered
.gitingestignore
- Repoprompt uses
.repo_ignore
- Cursor uses
.cursorignore
UIThub implements a slightly simplified version of .genignore
: only the
.genignore
at the root is applied.
We hope other context selection tools will adopt this standard. Tool creators can add
support for .genignore
alongside their existing methods, giving repository maintainers
the choice to immediately support all tools with a single configuration file.
Benefits of standardization:
- Repository maintainers only need to maintain one ignore file
- Consistent behavior across different AI tooling
- Familiar syntax for developers already using .gitignore