0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-03-27 17:50:13 +01:00
gitea/AGENTS.md
silverwind 66b8178e59
Improve AGENTS.md (#36974)
1. Remove header line, useless context bloat
2. Reword all "before commiting" lines because some people may not be
using the agent to commit, only to write changes.
2026-03-24 17:49:29 +01:00

456 B

  • Use make help to find available development targets
  • Run make fmt to format .go files, and run make lint-go to lint them
  • Run make lint-js to lint .ts files
  • Run make tidy after any go.mod changes
  • Add the current year into the copyright header of new .go files
  • Ensure no trailing whitespace in edited files
  • Never force-push to pull request branches
  • Always start issue and pull request comments with an authorship attribution