Skip to content

Add Claude.md #2103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add Claude.md #2103

wants to merge 2 commits into from

Conversation

ericallam
Copy link
Member

No description provided.

Copy link

changeset-bot bot commented May 23, 2025

⚠️ No Changeset found

Latest commit: 830f8cc

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

coderabbitai bot commented May 23, 2025

Walkthrough

A new entry, .claude, was added to the .gitignore file to prevent files or directories with this name from being tracked by Git. Additionally, a new documentation file named CLAUDE.md was introduced. This document provides detailed instructions and guidelines for using Claude Code with the repository, including setup, build, test, deployment processes, architectural overview, development workflows, dependency management, and prerequisites. No changes were made to any exported or public entities in the codebase.


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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (16)
CLAUDE.md (16)

1-1: Use a concise document title.
The header # CLAUDE.md includes the file extension; consider changing it to something more reader-friendly, e.g., # Claude Code Guidance or simply # Claude.


3-3: Clarify the introduction.
Rephrase the opening line and hyperlink the URL for clarity, for example:

This document provides guidance for using Claude Code (https://claude.ai/code) with this repository.


10-10: Use full install command.
Replace the shorthand pnpm i with pnpm install to avoid ambiguity and help new contributors understand the command.


19-21: Split complex build step.
Chaining multiple builds on one line can obscure errors. Split into discrete commands or use Turborepo’s pnpm turbo run build, for example:

pnpm run build --filter=webapp
pnpm run build --filter='@trigger.dev/*'
pnpm run typecheck

27-28: Quote all filter arguments.
Wrap every --filter value in quotes (e.g., --filter='trigger.dev') to prevent shell globbing inconsistencies.


34-37: Standardize quoting in test filters.
Some filters (e.g., "@trigger.dev/*") are quoted while others (webapp, @internal/run-engine) are not. Pick one style for consistency.


44-47: Add directory paths to services.
To improve clarity, list service directories explicitly, for example:

- **Apps**: `apps/webapp`, `apps/supervisor`

51-55: Consider ordering key components.
You might alphabetize or prioritize by usage (e.g., SDK first) so that the most important packages are immediately visible.


59-62: Include Node.js version in build system.
Since Node.js 20.11.1 is enforced later, list it here alongside TypeScript, Vitest, and PNPM versions to centralize version requirements.


66-66: Shorten the section heading.
Rename ### Making Changes to SDK/CLI to ### SDK/CLI Changes for brevity and consistency with other headings.

🧰 Tools
🪛 LanguageTool

[style] ~66-~66: Consider shortening or rephrasing this to strengthen your wording.
Context: ... version ## Development Workflows ### Making Changes to SDK/CLI 1. Make changes in `packages/t...

(MAKE_CHANGES)


78-78: Separate migration steps.
Splitting

pnpm run db:migrate:deploy && pnpm run generate

into two commands improves error isolation:

pnpm run db:migrate:deploy
pnpm run generate

82-84: Use inline code for single commands.
A single command like pnpm run changeset:add reads more concisely as inline code than a full code block.


88-91: Link testing tools.
Consider adding links to Vitest, Testcontainers, and Playwright documentation to help contributors find example configs or further reading.


97-100: Reference config files in prerequisites.
When listing Node.js and Docker prerequisites, point to the .nvmrc and Docker-Compose or .env.example files so users know exactly where to look.


104-104: Consistent punctuation in bullets.
Decide whether environment variable descriptions end with colons or not, and apply the same style throughout (e.g., omit the colon after ENCRYPTION_KEY).

🧰 Tools
🪛 LanguageTool

[uncategorized] ~104-~104: Loose punctuation mark.
Context: ...nvironment Variables - ENCRYPTION_KEY: Generate with openssl rand -hex 16 - ...

(UNLIKELY_OPENING_PUNCTUATION)


110-113: Ensure EOF newline.
Add a trailing newline at the end of the file to comply with POSIX standards and avoid warnings in some tools.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between e84ede9 and 25f190a.

📒 Files selected for processing (2)
  • .gitignore (1 hunks)
  • CLAUDE.md (1 hunks)
🧰 Additional context used
🪛 LanguageTool
CLAUDE.md

[style] ~66-~66: Consider shortening or rephrasing this to strengthen your wording.
Context: ... version ## Development Workflows ### Making Changes to SDK/CLI 1. Make changes in `packages/t...

(MAKE_CHANGES)


[uncategorized] ~104-~104: Loose punctuation mark.
Context: ...nvironment Variables - ENCRYPTION_KEY: Generate with openssl rand -hex 16 - ...

(UNLIKELY_OPENING_PUNCTUATION)

🔇 Additional comments (1)
.gitignore (1)

67-67: Ignore Claude artifacts.
Adding .claude to .gitignore ensures that any files or folders generated by Claude Code aren’t accidentally committed, keeping the repo clean and in sync with the new documentation.

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.

1 participant