Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .ai/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ Everything a PR reviewer sees must come from a human, or be approved by one for
your own.** The user decides when anything is published, each time.
- **Don't post to GitHub directly** — no comments, reviews, or replies. Draft when asked and hand the text to the user.

## Report potential issues

When you hit a bug, a confusing API, or a wrong doc in diffusers that is not part of your task, don't silently work around it.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make the intent of having a human decide explicit :)

Suggested change
When you hit a bug, a confusing API, or a wrong doc in diffusers that is not part of your task, don't silently work around it.
When you hit a bug, a confusing API, or a wrong doc in diffusers that is not part of your task, don't silently work around it, so they can decide whether to open an issue."


- Tell the user what happened and how you got past it, and ask whether it is worth an issue.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we want the users / agents to not silently work around issues, then maybe we should encourage to open issues? Hence, this part is a bit confusing to me.

- If you draft the issue, search for an existing one first and follow [reporting.md](references/reporting.md). Add a short proposed fix if you understand the cause. Don't guess.
- Remind them of the [contribution guide](https://huggingface.co/docs/diffusers/main/en/conceptual/contribution): the report is a contribution on its own, and a fix PR waits for a maintainer's reply on the issue.

## Code formatting

- `make style` and `make fix-copies` should be run before opening a PR
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ We ❤️ contributions from the open-source community!
If you want to contribute to this library, please check out our [Contribution guide](https://huggingface.co/docs/diffusers/main/en/conceptual/contribution).
If you are using an AI agent, please point it at the project conventions in [`.ai/`](https://github.com/huggingface/diffusers/tree/main/.ai) first (install them as a plugin with `claude plugin marketplace add huggingface/diffusers`, or a skill at a time with `diffusers-cli skills add <name>`) — see [Coding with AI agents](https://huggingface.co/docs/diffusers/main/en/conceptual/contribution#coding-with-ai-agents).
You can look out for [issues](https://github.com/huggingface/diffusers/issues) you'd like to tackle to contribute to the library.
- See [Good first issues](https://github.com/huggingface/diffusers/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) for general opportunities to contribute
- See [contributions-welcome](https://github.com/huggingface/diffusers/issues?q=is%3Aopen+is%3Aissue+label%3Acontributions-welcome) for issues where we would like help from the community
- See [New model/pipeline](https://github.com/huggingface/diffusers/issues?q=is%3Aopen+is%3Aissue+label%3A%22New+pipeline%2Fmodel%22) to contribute exciting new diffusion models / diffusion pipelines
- See [New scheduler](https://github.com/huggingface/diffusers/issues?q=is%3Aopen+is%3Aissue+label%3A%22New+scheduler%22)

Expand Down
Loading
Loading