Add docs maintenance agent: AGENTS.md, skills, and rule files - #846
Draft
brandonjackson wants to merge 13 commits into
Draft
Add docs maintenance agent: AGENTS.md, skills, and rule files#846brandonjackson wants to merge 13 commits into
brandonjackson wants to merge 13 commits into
Conversation
Adds the orchestrator (AGENTS.md) and seven self-contained skill files under .agents/skills/ for linting, accuracy verification, fresh-user evaluation, gap analysis, translation, corrections capture, and screenshot triage. Seeds glossary.yml with product terms that must never be translated and spelling variants lint should flag. Adds empty style-exceptions.yml and translation-rules.yml with schema comments. Stops ignoring /i18n so machine translations can be committed alongside the English source, per the translation architecture in AGENTS.md. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CntaKNYyBkumpWvm5mTJa7
Keeps every rule from the spec; drops long command snippets, exhaustive path tables, and repeated output templates so the files are easier to read and maintain. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CntaKNYyBkumpWvm5mTJa7
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CntaKNYyBkumpWvm5mTJa7
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CntaKNYyBkumpWvm5mTJa7
The three rule files stay and are maintained by humans directly. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CntaKNYyBkumpWvm5mTJa7
… glossary check, exempt from file cap Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CntaKNYyBkumpWvm5mTJa7
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CntaKNYyBkumpWvm5mTJa7
Starts from a product PR and finds the docs pages that need updating. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CntaKNYyBkumpWvm5mTJa7
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CntaKNYyBkumpWvm5mTJa7
Commit SHAs made on a branch dangle after a squash merge. A git blob hash is the same wherever the file lives and still lets a reviewer recover the English they approved. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CntaKNYyBkumpWvm5mTJa7
…cation map Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CntaKNYyBkumpWvm5mTJa7
…rch invocations, separate ease from impact Based on a test run against the CLI section. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CntaKNYyBkumpWvm5mTJa7
brandonjackson
marked this pull request as draft
September 4, 2026 14:39
Defaults to every release in the last month across the product repos and reads changelogs before diffs. A single PR remains an optional narrower input. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CntaKNYyBkumpWvm5mTJa7
brandonjackson
pushed a commit
that referenced
this pull request
Sep 4, 2026
…ranslate skill Brings AGENTS.md, the agent skills, and the rule files (glossary.yml, translation-rules.yml, style-exceptions.yml) onto this branch so the Spanish translations can be produced under the translate skill rather than audited against it after the fact. Merged rather than copied so the files keep one history: when #846 lands, this branch's diff against main shows only the i18n work. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0191JhrXtWiHnUGwfwesiq7T
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Short Description
Adds an
AGENTS.mdorchestrator and seven skill files under.agents/skills/so an LLM agent can maintain the docs one section at a time. Seedsglossary.ymland adds emptystyle-exceptions.ymlandtranslation-rules.ymlwith schema comments.The skills
Each skill is a plain-language instruction file, 50 to 90 lines, that stands alone.
screenshot-map.ymlso repeat scans are cheap.How they fit together
Boundaries the agent respects
translation_review_status: human-reviewed; offers a diff instead.adaptors/packages/**,adaptors/library/**); drafts issues forOpenFn/adaptorsinstead. Hand-writtenadaptors/*.mdoverviews stay editable.versioned_docs/(frozen v1).Translation source tracking
translation_source_hashis the content hash of the English file (git hash-object), not a commit SHA. The original spec said commit SHA, but the first trial run showed the problem: this repo squash-merges, so a hash pointing at a branch commit dangles the moment the PR lands. A content hash is the same wherever the file lives, and a reviewer can still recover the English they approved withgit cat-file -p <hash>to see what changed since.Rule files
glossary.yml(seeded with product terms that must never be translated),style-exceptions.yml, andtranslation-rules.ymlare read by lint and translate and maintained by humans directly. Each explains its format in a header comment.Things to look at carefully
.gitignoreno longer ignores/i18n. The old rule contradicted committing translations in-repo. Noi18n/directory exists yet, so nothing changes until the translate skill runs.docusaurus.config.jshas noi18nblock. I did not add one, since enabling locales changes whatyarn buildproduces and deploys. The translate skill treats a missing locale as a blocking question.docs/. Easy to trim.No existing docs pages were modified.
AI Usage
You can read more details in our
Responsible AI Policy
🤖 Generated with Claude Code
https://claude.ai/code/session_01CntaKNYyBkumpWvm5mTJa7