Cursor rule
.cursor/rules/code-review.mdcPR and code review checklist – API stability, errors, compatibility, security, testing
Cursor rules
Quality
48/100
Scores the file, not the repository.Length
296 words
6 headings · 0 code blocksRepository
3
— · pushed 5 days agoLast changed
3 days ago
First indexed 3 days ago.123456# Code Review Checklist – Contentstack iOS CDA SDK78Use this checklist when reviewing pull requests or before opening a PR.910## API design and stability1112- [ ] **Public API:** New or changed public classes/methods/properties are necessary and documented (header comments / doc comments where the project documents API).13- [ ] **Backward compatibility:** No breaking changes to public API unless explicitly called out and justified (e.g. major semver bump per release policy).14- [ ] **Naming:** Method and type names are consistent with existing SDK style (Objective-C / Swift import names) and CDA terminology.1516## Error handling and robustness1718- [ ] **Errors:** API failures surface through existing patterns (`NSError **` out-parameters, failure blocks, or delegate callbacks as used in the touched code).19- [ ] **Nullability:** `NS_ASSUME_NONNULL` / `nullable` annotations stay accurate; no unintended force-unwraps or ignored errors in new paths.20- [ ] **Memory / threading:** Blocks and delegates retain cycles are avoided; main-queue vs background behavior matches existing networking code.2122## Dependencies and security2324- [ ] **Dependencies:** No new third-party or vendored code without justification; version bumps are intentional and do not introduce known vulnerabilities.25- [ ] **SCA:** Address any security findings (e.g. from Snyk or similar) in the scope of the PR or in a follow-up.2627## Testing2829- [ ] **Coverage:** New or modified behavior is covered by XCTest unit and/or integration-style tests as appropriate.30- [ ] **Test quality:** Tests are readable, stable (no flakiness), and follow project conventions (see **testing.mdc**).3132## Severity (optional)3334- **Blocker:** Must fix before merge (e.g. breaking public API without approval, security issue, no tests for new code).35- **Major:** Should fix (e.g. inconsistent error handling, missing documentation on new public API).36- **Minor:** Nice to fix (e.g. style, minor docs).37
Also in contentstack/contentstack-ios
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| contentstack/contentstack-ios.cursor/rules/contentstack-ios-cda.mdc · 3 | Cursor rules | styledo-not | 55/100 | 3 days ago | |
| contentstack/contentstack-ios.cursor/rules/ios.mdc · 3 | Cursor rules | stylearchdocs | 52/100 | 3 days ago | |
| contentstack/contentstack-ios.cursor/rules/testing.mdc · 3 | Cursor rules | teststylearchtesting-strategy+1 | 63/100 | 3 days ago | |
| contentstack/contentstack-iosAGENTS.md · 3 | AGENTS.md | do-notagent-behaviour | 63/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 3 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45 | Cursor rules | teststyletesting-strategysecurity+3 | 97/100 | 3 days ago | |
| skillrecordings/egghead-next.cursor/rules/gh-task-plan.mdc · 1.4k | Cursor rules | teststylearchtypes+2 | 96/100 | 3 days ago | |
| skillrecordings/egghead-next.cursor/rules/project-update-rules.mdc · 1.4k | Cursor rules | buildtestlint-formatstyle+7 | 96/100 | 3 days ago | |
| skillrecordings/egghead-next.cursor/rules/project-update-user-rules.mdc · 1.4k | Cursor rules | buildtestlint-formatstyle+7 | 96/100 | 3 days ago | |
| hiromaily/go-crypto-wallet.cursor/rules/proto.mdc · 126 | Cursor rules | buildlint-formatstylearch+3 | 96/100 | 3 days ago |
