Skip to content

Add CLAUDE.md with contributor guidance for AI coding agents - #3208

Open
Pankraz76 wants to merge 2 commits into
diffplug:mainfrom
Pankraz76:claude-setup
Open

Pankraz76 wants to merge 2 commits into
diffplug:mainfrom
Pankraz76:claude-setup

Conversation

@Pankraz76

Copy link
Copy Markdown

Adds a root CLAUDE.md, which Claude Code (and similar agents) load automatically. It condenses CONTRIBUTING.md, the PR template and the build scripts into short, verified rules, so agent-assisted PRs follow the project's conventions:

  • build/test commands, incl. the CI jobs and the tagged special tests (testNpm, testClang, …)
  • module map and the zero-runtime-dependency rule for lib (glue source sets)
  • FormatterStep serialization/equality requirements
  • checklist for adding a step across lib, testlib, Gradle and Maven DSLs, READMEs and the freshmark matrix
  • changelog rules for the three CHANGES.md files
  • code style, ratchetFrom behaviour and definition of done

Every command, path and class name was checked against the current main; spotlessCheck passes. Contributor-facing only, so no CHANGES.md entry.

Local agent instructions for Claude Code: build/test commands, module map,
architecture rules, FormatterStep checklist, changelog rules and gotchas.
Lives on this fork-only branch; not intended for upstream PRs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MTr23zrbHm3WprXQPrVZFJ
- generalize the fork/ratchet note for all contributors
- drop a sandbox-specific proxy note
- avoid a literal freshmark marker that broke spotlessFreshmarkCheck

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MTr23zrbHm3WprXQPrVZFJ

This branch has not been deployed

No deployments
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.

2 participants