Skip to content

docs: add AGENTS.md and llms.txt for agent discoverability - #33

Merged
micahpw merged 1 commit into
mainfrom
docs/agent-facing-metadata
Aug 4, 2026
Merged

docs: add AGENTS.md and llms.txt for agent discoverability#33
micahpw merged 1 commit into
mainfrom
docs/agent-facing-metadata

Conversation

@micahpw

@micahpw micahpw commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • AGENTS.md (repo root): contributor-facing notes for coding agents working on GAT — dev setup, the lazy-import package-boundary convention, testing/fixture env vars, Conventional Commits + release-please process, known gotchas (EGRET removal, H5PLEXOS.jl deprecation, ~-path expansion).
  • docs/source/_llms_root/llms.txt (+ html_extra_path in conf.py): end-user-facing, served at https://natlabrockies.github.io/GridAnalysisToolkit/llms.txt per the llms.txt convention — a curated pointer list for agents helping someone consume nlr-gat as a dependency.
  • pyproject.toml: added keywords and expanded classifiers for better PyPI/search discoverability (Python version classifiers, Intended Audience :: Science/Research, Topic :: Scientific/Engineering).

Notes

  • html_extra_path (vs. html_static_path) was verified in an isolated Sphinx smoke test to copy files to the site root rather than nesting under /_static/ — needed for llms.txt to land at the conventional path.
  • sphinx.yml only builds on push to main (not on PRs), so the live placement will only be visible after merge + deploy; the isolated smoke test is the pre-merge verification.
  • Pre-existing black formatting drift in docs/source/conf.py (single quotes, missing trailing newline) is untouched — out of scope, and not covered by CI's lint job anyway (black --check src/gat tests only).

Test plan

  • Isolated Sphinx smoke test confirms html_extra_path output placement
  • pyproject.toml parses as valid TOML
  • After merge: confirm https://natlabrockies.github.io/GridAnalysisToolkit/llms.txt resolves post-deploy

🤖 Generated with Claude Code

AGENTS.md is contributor-facing (dev setup, lazy-import conventions,
release process) so a coding agent working on GAT itself doesn't have
to re-derive them from source. llms.txt is end-user-facing, served at
the docs site root per the llmstxt.org convention, for agents helping
someone consume nlr-gat as a dependency. pyproject.toml gets keywords
and richer trove classifiers for PyPI/search discoverability.
@micahpw
micahpw merged commit f28b205 into main Aug 4, 2026
7 checks passed
@micahpw
micahpw deleted the docs/agent-facing-metadata branch August 4, 2026 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant