[diffusion] add .claude and update contributing with attitude towards vibe-pr (#19511)

This commit is contained in:
Mick
2026-03-01 14:41:55 +08:00
committed by GitHub
parent 5fa6633485
commit d098c8dab0
3 changed files with 197 additions and 0 deletions

View File

@@ -2,6 +2,14 @@
This guide outlines the requirements for contributing to the SGLang Diffusion module (`sglang.multimodal_gen`).
## On AI-Assisted ("Vibe Coding") PRs
Vibe-coded PRs are welcome — we judge code quality, not how it was produced. The bar is the same for all PRs:
- **No over-commenting.** If the name says it all, skip the docstring.
- **No over-catching.** Don't guard against errors that virtually never happen in practice.
- **Test before submitting.** AI-generated code can be subtly wrong — verify correctness end-to-end.
## Commit Message Convention
We follow a structured commit message format to maintain a clean history.