Add AGENTS.md (#13259) · huggingface/diffusers@e5aa719 · GitHub
Skip to content

Commit e5aa719

Browse files
yiyixuxusayakpaulstevhliu
authored
Add AGENTS.md (#13259)
* add a draft * add * up * Apply suggestions from code review Co-authored-by: Sayak Paul <spsayakpaul@gmail.com> Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> --------- Co-authored-by: Sayak Paul <spsayakpaul@gmail.com> Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
1 parent 4bc1c59 commit e5aa719

4 files changed

Lines changed: 107 additions & 3 deletions

File tree

‎.ai/AGENTS.md‎

Lines changed: 77 additions & 0 deletions

‎.gitignore‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,4 +178,8 @@ tags
178178
.ruff_cache
179179

180180
# wandb
181-
wandb
181+
wandb
182+
183+
# AI agent generated symlinks
184+
/AGENTS.md
185+
/CLAUDE.md

‎Makefile‎

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: deps_table_update modified_only_fixup extra_style_checks quality style fixup fix-copies test test-examples
1+
.PHONY: deps_table_update modified_only_fixup extra_style_checks quality style fixup fix-copies test test-examples codex claude clean-ai
22

33
# make sure to test the local checkout in scripts and not the pre-installed one (don't use quotes!)
44
export PYTHONPATH = src
@@ -98,3 +98,14 @@ post-release:
9898

9999
post-patch:
100100
python utils/release.py --post_release --patch
101+
102+
# AI agent symlinks
103+
104+
codex:
105+
ln -snf .ai/AGENTS.md AGENTS.md
106+
107+
claude:
108+
ln -snf .ai/AGENTS.md CLAUDE.md
109+
110+
clean-ai:
111+
rm -f AGENTS.md CLAUDE.md

‎docs/source/en/conceptual/contribution.md‎

Lines changed: 13 additions & 1 deletion

0 commit comments

Comments
 (0)