[GRASS-git] [OSGeo/grass] 4d5f51: contributing: Add AGENTS.md with guidelines for AI...
Vaclav Petras
noreply at github.com
Wed Feb 25 06:11:17 PST 2026
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: 4d5f514c88285236eaa7c03851d4be8f4febccf5
https://github.com/OSGeo/grass/commit/4d5f514c88285236eaa7c03851d4be8f4febccf5
Author: Vaclav Petras <wenzeslaus at gmail.com>
Date: 2026-02-25 (Wed, 25 Feb 2026)
Changed paths:
A .claude/CLAUDE.md
A AGENTS.md
Log Message:
-----------
contributing: Add AGENTS.md with guidelines for AI agents (#7110)
Adds instructions for AI coding agents in general (somewhat standardized AGENTS.md in the top dir) and Claude Code specific file linking it. This should improve the quality of the code and commits generated by agents/tools which have access to the repository code.
I developed that during test creation (for pytest) and during the work on the file itself, so probably more is needed for Python and C tools, GUI, grass.gunittest tests. I then tried to optimize what is in the new file versus what is already elsewhere to minimize duplication (maybe we eventually want to cover some of these items in the other documentation). It now references a lot of existing files which likely increases the computational cost.
Comments on use of AI and references CONTRIBUTING.md AI use policy.
For (local) linting, only pre-commit is used. Also pytest run of all test is left for the CI.
To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications
More information about the grass-commit
mailing list