Migrate Cursor rules to CLAUDE.md#260
Open
HugoGresse wants to merge 2 commits into
Open
Conversation
Consolidate the five .cursor/rules/*.mdc files (project-overview, code-organization, backend-structure, events-sessions, ui-components) into a single CLAUDE.md at the repo root so Claude Code picks up the same context Cursor users had. - Convert each Cursor `[label](mdc:path)` link to a plain relative markdown link. - Drop the empty front-matter Cursor blocks (description/globs/ alwaysApply) — Claude Code reads CLAUDE.md unconditionally on every invocation, so the per-rule selector logic does not carry over. - Merge into one document with the original five files as ordered sections (Project overview, Code organisation, Backend structure, Events and sessions, UI components) so the navigation stays close to the original Cursor experience. The .cursor/rules/ directory is removed since the rules have moved. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Visit the preview URL for this PR (updated for commit c86dd4a):
(expires Mon, 01 Jun 2026 18:39:48 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 0c15c45ea5a4c54095387eacf30c3755c9260f22 |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR migrates the repository’s Cursor rule context into a single root-level CLAUDE.md so Claude Code can pick up the same project guidance, while removing the now-redundant .cursor/rules/*.mdc files.
Changes:
- Added
CLAUDE.mdconsolidating the five Cursor rule files into ordered sections. - Converted
mdc:links into standard relative Markdown links. - Removed the
.cursor/rules/rule files.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| CLAUDE.md | New consolidated Claude Code guide; replaces Cursor rule docs and updates links. |
| .cursor/rules/project-overview.mdc | Removed (content migrated into CLAUDE.md). |
| .cursor/rules/code-organization.mdc | Removed (content migrated into CLAUDE.md). |
| .cursor/rules/backend-structure.mdc | Removed (content migrated into CLAUDE.md). |
| .cursor/rules/events-sessions.mdc | Removed (content migrated into CLAUDE.md). |
| .cursor/rules/ui-components.mdc | Removed (content migrated into CLAUDE.md). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
functions/src/types.ts only imports `Event` from src/types.ts today and redeclares everything else (Track, Webhooks, Speaker, Session, Social, Category, Format, TeasingPosts, EventFiles, SponsorResponse, SponsorCategory, TeamMember). The previous wording said types "are not duplicated", which would mislead a contributor or agent grepping for the canonical Session shape. Rewrite the Type sharing paragraph to match reality and add explicit guidance: when introducing a new shared type, import from the frontend file instead of re-declaring on the backend side. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Summary
Consolidate the five
.cursor/rules/*.mdcfiles (project-overview, code-organization, backend-structure, events-sessions, ui-components) into a singleCLAUDE.mdat the repo root so Claude Code picks up the same context Cursor users had.Changes
CLAUDE.mdwith the original five Cursor rule files merged as ordered sections.[label](mdc:path)link to a plain relative markdown link.description/globs/alwaysApply) — Claude Code readsCLAUDE.mdunconditionally on every invocation, so the per-rule selector logic does not carry over..cursor/rules/directory.Test plan
.cursor/left in tree.🤖 Generated with Claude Code