Skip to content

docs: update docs for CLAUDE.md and AGENTS.md#3797

Open
gergely-kurucz-konghq wants to merge 2 commits intomainfrom
chore/update-agents-md
Open

docs: update docs for CLAUDE.md and AGENTS.md#3797
gergely-kurucz-konghq wants to merge 2 commits intomainfrom
chore/update-agents-md

Conversation

@gergely-kurucz-konghq
Copy link
Copy Markdown
Contributor

@gergely-kurucz-konghq gergely-kurucz-konghq commented Jan 21, 2026

Summary by CodeRabbit

  • Documentation
    • Major overhaul: expanded developer docs with prerequisites, project layout, quick start, services, Docker Compose profiles, common commands, testing, linting, code generation, and database migrations
    • New Architecture and Commands guidance clarifying project structure, workflows, and build/test targets
    • Added CLAUDE guidance and a new AGENTS-focused overview with explicit developer workflows and tooling notes

✏️ Tip: You can customize this high-level summary in your review settings.

Providing an onboarding path for both human and non-human contributors.
@gergely-kurucz-konghq gergely-kurucz-konghq requested a review from a team as a code owner January 21, 2026 14:49
@gergely-kurucz-konghq gergely-kurucz-konghq added kind/documentation Improvements or additions to documentation release-note/misc Miscellaneous changes labels Jan 21, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jan 21, 2026

📝 Walkthrough

Walkthrough

This PR overhauls developer docs: expands AGENTS.md into a full developer guide (build/test, codegen, migrations, architecture), adds CLAUDE.md for Claude Code guidance, and substantially expands README.md with prerequisites, quick start, services, commands, and migrations. No code behavior changes.

Changes

Cohort / File(s) Summary
Developer guide (major)
AGENTS.md
Full rewrite: new header, Commands section (Makefile commands), Generated Files note, Architecture section, Testing/codegen guidance, Go build tags, and Database Migrations workflow (+44/-16 summary lines).
Assistant guidance
CLAUDE.md
New file with instructions for using Claude Code with this repo and pointer to AGENTS.md (+5 lines).
Repository overview & onboarding
README.md
Expanded Key Concepts, Prerequisites, Project Layout, Quick Start, Docker Compose profiles, Services, Common Commands, Testing, Linting, Code Generation, Database Migrations, and Troubleshooting (+137/-12).

Sequence Diagram(s)

(omitted — changes are documentation-only and do not introduce new multi-component runtime flows)

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • chore: add AGENTS.md #3579 — Overlaps AGENTS.md content and workflows (Makefile commands, testing, codegen); likely directly related.

Suggested labels

release-note/ignore

Suggested reviewers

  • tothandras
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and directly describes the main changes: creating/updating CLAUDE.md and AGENTS.md documentation files, which aligns with the substantial doc updates across three files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/update-agents-md

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@GAlexIHU GAlexIHU left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from comments I like the direction! 👍

Comment thread README.md
Comment on lines +170 to +186
**Manual setup:** Go 1.23+, Docker, librdkafka, Node.js (for TypeSpec), Atlas CLI (for migrations).

### Project Layout

```
api/ # API definitions and generated code
spec/src/ # TypeSpec source files (API-first design)
client/ # Generated SDKs (Go, JS, Python)
v3/ # v3 API handlers and generated code
app/ # Application wiring (Wire providers)
cmd/ # Service entry points
openmeter/ # Core business logic packages
pkg/ # Shared utilities
tools/migrate/ # Database migrations
e2e/ # End-to-end tests
config.example.yaml # Configuration reference
```
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't add this

Comment thread README.md
Comment on lines +88 to +123
## Key Concepts

### Multi-Tenancy
- **Namespace** - Logical isolation boundary that segments data for multi-tenancy

### Customers & Subjects
- **Customer** - An entity representing a client who uses the service
- **Subject** - An individual user or entity within a customer account, used for fine-grained usage tracking

### Metering & Events
- **Event** - A recorded occurrence of usage activity (e.g., API call, feature usage) with timestamp and metadata
- **Meter** - Defines how to aggregate events (e.g., sum of API calls, unique users)

### Product Catalog
- **Feature** - A capability that can be metered and entitled
- **Plan** - A versioned bundle of features with pricing, organized into phases
- **Plan Phase** - A time-bounded segment within a plan with specific pricing and rate cards
- **Addon** - Optional supplementary features that can be attached to plans or subscriptions
- **Rate Card** - Pricing specification for a feature, defining price type, billing cadence, and discounts

### Entitlements & Credits
- **Entitlement** - Grants a customer access to a feature with optional limits and usage tracking
- **Grant** - A credit allocation to an entitlement with amount, priority, and expiration

### Subscriptions
- **Subscription** - Links a customer to a plan with billing lifecycle and cadence
- **Subscription Phase** - A time-bounded segment of subscription execution
- **Subscription Item** - A billable product item within a subscription phase

### Billing
- **Billing Profile** - Configuration defining billing provider setup, tax settings, and supplier details
- **Invoice** - A billable document generated from subscription items and usage charges
- **Invoice Line** - A line item representing a charge (flat fee or usage-based) with quantity and pricing

### Apps & Integrations
- **App** - An installed integration/provider (e.g., Stripe) for payments, invoicing, or tax calculation
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't add this

Comment thread README.md
config.example.yaml # Configuration reference
```

### Quick Start
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's scope everything added under a development section. Let's also try to limit what a visitor initially sees, I think you can collapse sections by default https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-collapsed-sections

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/documentation Improvements or additions to documentation release-note/misc Miscellaneous changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants