docs: add CLAUDE.md and AGENTS.md AI agent guidelines - #915
Merged
Conversation
Correct json/auth as hand-maintained (drop non-existent json/mgmt clause) and point CONTRIBUTING.md links at the About Generated Code anchor. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
kailash-b
approved these changes
Aug 13, 2026
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.
Changes
Adds AI coding-agent guidance to the repo:
Files added/updated
CLAUDE.md- agent role, working principles, project overview, structure, boundaries (Always Do / Ask First / Never Do), security considerations, and lazy-loaded pointers intoreferences/. The central theme is the Fern generated-vs-hand-maintained split:.fernignoreis the source of truth for what's safe to edit, generated files carry the auto-generated header, and durable Management API fixes belong in the Fern spec/generators/java-v2generator rather than in local edits.AGENTS.md- importsCLAUDE.md(@./CLAUDE.md) so non-Claude tools pick up the same guidance.references/— detailed content offloaded from the root file:commands.md,testing.md,code-style.md,git-workflow.md,pitfalls.md,docs-update.md..fernignore— addsCLAUDE.md,AGENTS.md, andreferences/so these hand-maintained docs are not overwritten on the next SDK regeneration (same treatment asREADME.md/EXAMPLES.md).Note - No source code changes - docs/config only.
Testing
Docs-only change; no runtime behavior affected.
CLAUDE.mdandreferences/*.mdresolves on disk, and allCLAUDE.md → references/*.mdcross-links exist.AuthAPI.newBuilder(...),ManagementApi.builder().clientCredentials(...)).build.gradleand.github/workflows/build-and-test.yml.generators/java-v2) and related documentation links againstCONTRIBUTING.md.Checklist