Skip to content

docs: AGENTS.md and AI-assisted contributing guidance - #5578

Draft
swiffer wants to merge 1 commit into
mainfrom
swiffer/agents-md-and-ai-contributing-docs
Draft

docs: AGENTS.md and AI-assisted contributing guidance#5578
swiffer wants to merge 1 commit into
mainfrom
swiffer/agents-md-and-ai-contributing-docs

Conversation

@swiffer

@swiffer swiffer commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

Draft for discussion — not ready to merge as-is; looking for maintainer feedback on policy and wording.

This adds:

  • Root AGENTS.md: lean guidance for AI coding agents (setup/CI, Grafana conventions, security, AI disclosure footer).
  • website/docs/development.mdx: human-facing § on AI-assisted contributions (welcome, but the person remains responsible) plus expanded Grafana dashboard notes (teslamate/grafana:edge, Classic model export not V2 Resource, variables/units, positions sampling).
  • CONTRIBUTING: points agents at AGENTS.md.

Call for review

@JakobLichterfeld and other maintainers — please treat this as a policy / docs RFC:

  1. Is the AI disclosure footer (🤖 Assisted by <Exact model name> …) what we want project-wide?
  2. Is AGENTS.md the right home (vs only docs / vs tool-specific files)?
  3. Any Grafana guidance that should move, shrink, or stay human-only?
  4. Anything we should explicitly forbid or encourage for agents that is missing?

Happy to revise heavily based on discussion before un-drafting.

Test plan

  • Read AGENTS.md for length and tone
  • Preview development docs section locally or on Netlify deploy preview
  • Confirm links (CONTRIBUTING → docs / AGENTS.md) resolve as intended

🤖 Assisted by Grok 4.5 (xAI) via Grok Build (planning, docs drafting, PR description).

@netlify

netlify Bot commented Aug 2, 2026

Copy link
Copy Markdown

Deploy Preview for teslamate ready!

Name Link
🔨 Latest commit ae3d481
🔍 Latest deploy log https://app.netlify.com/projects/teslamate/deploys/6a789b4bdd38fd0008fb1a4a
😎 Deploy Preview https://deploy-preview-5578--teslamate.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@brianmay

brianmay commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator

The need for AGENTS.md is somewhat disputed at the moment. Does it speed things up? Or does it add stuff to the context window for every required request that could easily fall out of date and where the LLM could easily work out for itself?

Haven't formed any definite opinions yet. Except sometimes the LLM might regularly get something wrong or take a long time to work out something, in which case that might be a good thing to document it. And some people are trying splitting the AGENTS.md up based on the task performed.

In the case of this project, mentioning treefmt might be an example of something an LLM might miss.

@JakobLichterfeld

JakobLichterfeld commented Aug 2, 2026

Copy link
Copy Markdown
Member

Thanks for write up Swiffer.

In the case of this project, mentioning treefmt might be an example of something an LLM might miss.

In my experience the only thing AI get sometimes only on second try is devenv up without TUI, which I want to solve with an inline comment.

Other than that echoing Brian.

@swiffer

swiffer commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator Author

Makes sense — happy to drop most of AGENTS.md. Fair warning: the current draft is probably overweight on Grafana because that’s what I last worked on.

Open questions before I revise:

  1. Contrib docs — still add a short human-facing “AI-assisted contributions” note (welcome + human remains responsible for CLA/correctness/what gets posted)? Optional short disclosure on material help?
  2. AGENTS.md — keep a minimal file, or drop it entirely?
  3. If we keep anything agent-facing: mandatory 🤖 footer format, or anything else you actually want spelled out?

Happy to reshape heavily once that’s clearer.

@swiffer
swiffer force-pushed the swiffer/agents-md-and-ai-contributing-docs branch 2 times, most recently from 833c167 to da8f8f5 Compare August 9, 2026 10:14
Introduce lean agent guidance and document AI-assisted contributions
(human remains responsible, exact model disclosure). Expand Grafana
dashboard contributing notes (edge image, Classic export, units,
variables, positions sampling).
@swiffer
swiffer force-pushed the swiffer/agents-md-and-ai-contributing-docs branch from da8f8f5 to ae3d481 Compare August 9, 2026 15:22
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.

3 participants