Content-Length: 225828 | pFad | http://github.com/sveltejs/svelte/issues/16031

7F Consider adding cursor rules to the repo for better contribution · Issue #16031 · sveltejs/svelte · GitHub
Skip to content

Consider adding cursor rules to the repo for better contribution #16031

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

Closed
raythurnvoid opened this issue May 29, 2025 · 1 comment
Closed

Consider adding cursor rules to the repo for better contribution #16031

raythurnvoid opened this issue May 29, 2025 · 1 comment

Comments

@raythurnvoid
Copy link
Contributor

Describe the problem

It would help maintaining consistency and make the AI aware of how the repo is structured and eventually gotchas when modifying certain parts

Describe the proposed solution

It's possible to create the following rule files:

  • workflow-contributing-debugging.mdc: similar to CONTRIBUTING.md with the addition of steps to ease the debugging of svelte eg (link the svelte repo to a local folder to troubleshoot the resolution of a bug)
  • workflow-testing.mdc: how tests are structured, how to run them.
  • code-tests.mdc: patterns to follow when production or changing tests.
  • code-svelte.mdc: pattern to follow in the main code and performance considerations eg: let vs var.
  • code-reactivity.mdc: explaination on how the reactive system work and gotchas when changing it and performance tips
  • code-compiler.mdc: same as signal but for compiler stuff

The list can keep expanding and can touch all the LSP stuff and the CLI and the lints and you can just keep going.

Importance

nice to have

@paoloricciuti
Copy link
Member

Can you copy this over to #14230 and close this issue? This way we can have a coherent list in one single issue. Thanks for the idea (now let's try to find the time to actually write something 😵)

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

No branches or pull requests

2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/sveltejs/svelte/issues/16031

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy