Skip to content

Migrate Cursor rules to CLAUDE.md#260

Open
HugoGresse wants to merge 2 commits into
mainfrom
migrate-cursor-rules-to-claude
Open

Migrate Cursor rules to CLAUDE.md#260
HugoGresse wants to merge 2 commits into
mainfrom
migrate-cursor-rules-to-claude

Conversation

@HugoGresse
Copy link
Copy Markdown
Owner

Summary

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.

Changes

  • Add CLAUDE.md with the original five Cursor rule files merged as ordered sections.
  • Convert each Cursor [label](mdc:path) link to a plain relative markdown link.
  • Drop the empty Cursor front-matter (description/globs/alwaysApply) — Claude Code reads CLAUDE.md unconditionally on every invocation, so the per-rule selector logic does not carry over.
  • Remove the .cursor/rules/ directory.

Test plan

  • CLAUDE.md renders correctly on GitHub.
  • No .cursor/ left in tree.

🤖 Generated with Claude Code

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>
Copilot AI review requested due to automatic review settings May 25, 2026 18:36
@HugoGresse HugoGresse temporarily deployed to GitHub Action PR May 25, 2026 18:36 — with GitHub Actions Inactive
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 25, 2026

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

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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.md consolidating 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.

Comment thread CLAUDE.md Outdated
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>
@HugoGresse HugoGresse temporarily deployed to GitHub Action PR May 25, 2026 18:38 — with GitHub Actions Inactive
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