Agent skill

referral-system

Generates referral/invite infrastructure with unique codes, deep link sharing, reward tracking, and fraud prevention. Use when user wants referral codes, invite friends flow, or viral growth mechanics.

rshankras589★ · 1 repos on radarProfile →
claude-codecan modify filesMIT
Install
npx skills add rshankras/claude-code-apple-skills --skill referral-system --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 9 KB
Bundled scripts: none
Allowed tools: ReadWriteEditGlobGrepBashAskUserQuestion
Path: skills/generators/referral-system/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 589
Language: Swift

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Referral System Generator Generate a production referral/invite system with unique code generation, deep link sharing, reward tracking, fraud prevention, and SwiftUI views for inviting friends and monitoring referral performance. ## When This Skill Activates Use this skill when the user: - Asks to "add a referral system" or "referral codes" - Wants to "invite friends" or "refer a friend" flow - Mentions "viral growth" or "invitation system" - Asks about "referral rewards" or "referral tracking" - Wants "invite codes" or "shareable invite links" ## Pre-Generation Checks ### 1. Project Context Detection - [ ] Check Swift version (requires Swift 5.9+) - [ ] Check deployment target (iOS 17+ / macOS 14+ for @Observable and SwiftData) - [ ] Identify source file locations - [ ] Check for existing entitlements (Associated Domains for deep links) ### 2. Conflict Detection Search for existing referral/invite code: ``` Glob: **/*Referral*.swift, **/*Invite*.swift, **/*InviteCode*.swift Grep: "referralCode" or "inviteCode" or "ReferralManager" ``` If existing referral system found: - Ask if user wants to replace or extend it - If extending, identify integration points ### 3. Deep Link Setup

What's inside
Steps it walks through
  1. When This Skill Activates
  2. Pre-Generation Checks
  3. 1. Project Context Detection
  4. 2. Conflict Detection
  5. 3. Deep Link Setup Detection
  6. Configuration Questions
  7. Generation Process
  8. Step 1: Read Templates
  9. Step 2: Create Core Files
  10. Step 3: Create UI Files
  11. Step 4: Create Integration Files
  12. Step 5: Determine File Location
  13. Output Format
  14. Files Created
Ships with 1 file
  • templates.md
More from claude-code-apple-skills
All skills →
About this skill
What does the referral-system skill do?

Generates referral/invite infrastructure with unique codes, deep link sharing, reward tracking, and fraud prevention. Use when user wants referral codes, invite friends flow, or viral growth mechanics.

How do I install it?

Run `npx skills add rshankras/claude-code-apple-skills --skill referral-system --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From rshankras/claude-code-apple-skills, a repository with 589 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going