Files
stb/CONTRIBUTING.md
Sean Barrett 28d546d5eb AI policy
2026-03-18 05:22:40 -07:00

1.8 KiB

AI AND LLM ARE FORBIDDEN

This project doesn't accept code or documentation generated by LLMs or any other forms of generative AI.

Please don't submit pull requests based on generative AI output, and don't use AI auto completion when you write pull requests.

Additionally, don't use LLMs to create pull requests or issues. Write them yourself, in English, even if your English is bad.

Contributions Welcome

Pull Requests and Issues are both welcome.

Responsiveness

General priority order is:

  • Crashes
  • Security issues in stb_image
  • Bugs
  • Security concerns in other libs
  • Warnings
  • Enhancements (new features, performance improvement, etc)

Pull requests get priority over Issues. Some pull requests I take as written; some I modify myself; some I will request changes before accepting them. Because I've ended up supporting a lot of libraries (20 as I write this, with more on the way), I am somewhat slow to address things. Many issues have been around for a long time.

Pull requests

  • Make sure you're using a special branch just for this pull request. (Sometimes people unknowingly use a default branch, then later update that branch, which updates the pull request with the other changes if it hasn't been merged yet.)
  • Do NOT update the version number in the file. (This just causes conflicts.)
  • Do add your name to the list of contributors. (Don't worry about the formatting.) I'll try to remember to add it if you don't, but I sometimes forget as it's an extra step.
  • Your change needs to compile as both C and C++. Pre-C99 compilers should be supported (e.g. declare at start of block)

Specific libraries

I generally do not want new file formats for stb_image because we are trying to improve its security, so increasing its attack surface is counter-productive.