Add AGENTS.md/CLAUDE.md guidance for AI agents writing docs - #28
sensei-hacker wants to merge 2 commits into
Conversation
Grounds evidence-based writing requirements, a source reliability ranking, and a mandatory sub-agent critical-review step in concrete precedent from this repo's own PR history, so agents have a checkable bar rather than generic advice. Claude-Session: https://claude.ai/code/session_01YbtjVLXNSuAxcW81c1SuiY
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can ask Qodo to dismiss a finding you disagree with, with your reason on record |
PR Summary by QodoAdd evidence-based AI documentation guidelines
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
|
Second, the why/should rule at 43-51 never reaches the sub-agent checklist at 179-203. Items 1-7 cover evidence, staleness, version, tone, build health and exactness; none asks whether the page states a why or a should the source cannot establish. That is what went wrong in #24 - every value checked against settings.yaml, Qodo clean, and the page still walked a multirotor pilot into HUD peer display. Line 113 cites #24 for the defaults; it could cite it for this too. Both are AGENTS.md edits. I will open them against your branch unless you want to word them yourself. |
Summary
Adds
AGENTS.md(canonical guidance) and a shortCLAUDE.mdthat@-includes it, giving AI coding agents concrete, checkable standards for writing this site's pilot-facing documentation:settings.yaml/.csource/Configurator source rank highest; PR descriptions, Discord/forum comments rank lower and require corroboration).All of the "concrete precedent" and anti-pattern examples are grounded in an actual review of PRs #15–#25 on this repo against a draft of this same file (spot-checking claims against
inavfirmware/Configurator source), not generic external advice.Test plan
npm run buildimpact.Assisted by Sonnet 5 using inav-claude, in accordance with AGENTS.md
https://claude.ai/code/session_01YbtjVLXNSuAxcW81c1SuiY