{"id":28418254,"url":"https://github.com/superwall/cursor-rules","last_synced_at":"2026-02-17T18:36:59.386Z","repository":{"id":282111573,"uuid":"946875348","full_name":"superwall/cursor-rules","owner":"superwall","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-12T20:51:58.000Z","size":11,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-22T19:48:55.183Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/superwall.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-11T20:11:07.000Z","updated_at":"2025-04-10T23:45:56.000Z","dependencies_parsed_at":"2025-03-12T21:41:30.958Z","dependency_job_id":null,"html_url":"https://github.com/superwall/cursor-rules","commit_stats":null,"previous_names":["superwall/cursor-rules"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/superwall/cursor-rules","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superwall%2Fcursor-rules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superwall%2Fcursor-rules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superwall%2Fcursor-rules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superwall%2Fcursor-rules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/superwall","download_url":"https://codeload.github.com/superwall/cursor-rules/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superwall%2Fcursor-rules/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29552799,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T18:16:07.221Z","status":"ssl_error","status_checked_at":"2026-02-17T18:16:04.782Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-04T09:50:51.918Z","updated_at":"2026-02-17T18:36:59.352Z","avatar_url":"https://github.com/superwall.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Superwall Cursor Rules  \n\nThis repository contains custom [Cursor Rules](https://docs.cursor.com/context/rules-for-ai) designed to enhance your development experience with [Superwall](https://superwall.com/docs/using-superwall-with-cursor). By adding these rules, Cursor AI can generate better code suggestions tailored to the Superwall SDK, making integration faster and more accurate.  \n\nCurrently, this is available for iOS (Swift), with support for more SDKs and languages coming soon.  \n\n## 🚀 Getting Started  \n\nTo set up Superwall-specific rules in Cursor:  \n\n1. Download the User Rule file for iOS from this repo: \u003ca id=\"raw-url\" href=\"https://github.com/superwall/cursor-rules/raw/main/ios-swiftui-cursor-rules-superwall-sdk.md\"\u003e`ios-swiftui-cursor-rules-superwall-sdk.md`\u003c/a\u003e.  \n2. Open Cursor and navigate to **Cursor → Settings… → Cursor Settings**.  \n3. Under **User Rules**, paste the contents of the downloaded rule file.  \n\n## 🔗 Combining with Existing Rules  \n\nYou can append these rules to any existing Cursor rules you’re using. For example:  \n\n```markdown\n[your existing rule]\n[paste our Superwall rule below it]\n```\n\nFor additional Cursor rules, check out [cursorrules.io](https://cursorrules.io).  \n\n## 💡 Prompting Best Practices  \n\nTo get the best results from Cursor, explicitly mention the Superwall SDK in your prompts.  \n\n✅ **Recommended:**  \n```md\nUsing the Superwall SDK, register a placement called \"drinkCoffee\" and include a print statement saying `Coffee time` in the block.\n```  \n\n❌ **Less Effective:**  \n```md\nRegister a placement called \"drinkCoffee\" and include a print statement saying `Coffee time` in the block.\n```  \n\n## 🔔 Stay Updated  \n\nSuperwall’s SDK evolves, and we’ll update these rules accordingly. **Watch** this repo for updates to ensure you always have the latest version.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuperwall%2Fcursor-rules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuperwall%2Fcursor-rules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuperwall%2Fcursor-rules/lists"}