Skip to content

Add CLAUDE.md with codebase guidance for Claude Code - #8

Merged
bamnet merged 1 commit into
masterfrom
add-claude-md
Jun 22, 2026
Merged

Add CLAUDE.md with codebase guidance for Claude Code#8
bamnet merged 1 commit into
masterfrom
add-claude-md

Conversation

@bamnet-bot

Copy link
Copy Markdown
Collaborator

Summary

  • Adds CLAUDE.md to document the repository for Claude Code
  • Covers build/test commands including how to run a single test
  • Documents the API endpoint-to-method mapping and key architectural decisions (timezone handling, Amtrak train skipping, train deduplication, partial Train objects from map/stops endpoints)

Test plan

  • Review CLAUDE.md content for accuracy
  • Verify commands in the "Commands" section work as documented

🤖 Generated with Claude Code

Documents build/test commands, API endpoint mapping, and key
architectural decisions to help Claude Code work effectively
in this repo.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@codecov

codecov Bot commented Jun 22, 2026

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a CLAUDE.md file containing development commands, architectural details, and key design decisions to guide Claude Code. The reviewer identified a minor inconsistency in the API endpoints table, noting that the parameter name for the StationData method should be updated to match the actual Go function signature.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread CLAUDE.md

| Method | Endpoint | Returns |
|---|---|---|
| `StationData(ctx, stationID)` | `getTrainScheduleXML` | Departures from a station with per-train stop lists |

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The parameter name in the Go signature for StationData is station, not stationID. It should be updated in the table to match the actual function signature: StationData(ctx, station).

@bamnet
bamnet merged commit c7f33d0 into master Jun 22, 2026
3 checks passed
@bamnet
bamnet deleted the add-claude-md branch June 22, 2026 03:27
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