Commit de6b609
Port Cursor rules to CLAUDE.md and remove the originals
We're no longer using Cursor, so the Cursor rules can go. They did
contain useful project-specific guidance (spec document format, Swift
style preferences, testing conventions) that Claude may not have been
picking up on, so this ports across the things that Claude judged to
be non-obvious — i.e. things it might not intuit from the code alone
— into CLAUDE.md files. Testing guidelines go in a separate CLAUDE.md
under the test directory so they only load when working with test
files.
The Cursor rules hardcoded a path for where to find the specification
repo. Instead, the CLAUDE.md just says "ask if you haven't been told
where to find it", on the basis that the broader working environment
(e.g. sdk-workspace [1]) should provide that context. Let's see if
this works in practice.
What to include was based on Claude's own judgement of what it would
and wouldn't already know, and I pretty blindly accepted it. This is a
first pass; we can continue to iterate on the content.
[1] https://github.com/ably/sdk-workspace
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 4df4816 commit de6b609
5 files changed
Lines changed: 48 additions & 62 deletions
File tree
- .cursor/rules
- Tests/AblyLiveObjectsTests
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments