consent-flow
Generates GDPR/CCPA/DPDP privacy consent flows with granular category preferences, consent state persistence, audit logging, and ATT (App Tracking Transparency) integration. Use when user needs privacy consent UI, cookie/tracking consent, or compliance management.
npx skills add rshankras/claude-code-apple-skills --skill consent-flow --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Consent Flow Generator Generate a production privacy consent system with granular category-based consent, persistent state management, a consent banner and preferences UI, audit logging for compliance, and App Tracking Transparency integration. ## When This Skill Activates Use this skill when the user: - Asks about "privacy consent" or "consent management" - Mentions "GDPR consent" or "GDPR compliance" - Wants "cookie consent" or "tracking consent" - Mentions "ATT prompt" or "App Tracking Transparency" - Asks for "privacy preferences" or "consent preferences" - Mentions "CCPA compliance" or "DPDP compliance" - Wants to "manage user consent" or "consent banner" - Asks about "consent audit log" or "consent records" ## Pre-Generation Checks ### 1. Project Context Detection - [ ] Check Swift version (requires Swift 5.9+) - [ ] Check deployment target (iOS 16+ / macOS 13+) - [ ] Check for @Observable support (iOS 17+ / macOS 14+) - [ ] Identify source file locations ### 2. Conflict Detection Search for existing consent or privacy code: ``` Glob: **/*Consent*.swift, **/*Privacy*.swift, **/*Tracking*.swift, **/*GDPR*.swift Grep: "ATTrackingManager" or "ConsentManager" or "trackingAuthor
- When This Skill Activates
- Pre-Generation Checks
- 1. Project Context Detection
- 2. Conflict Detection
- 3. ATT Framework Availability
- 4. Platform Detection
- Configuration Questions
- Generation Process
- Step 1: Read Templates
- Step 2: Create Core Files
- Step 3: Create UI Files
- Step 4: Create Optional Files
- Step 5: Determine File Location
- Output Format
What does the consent-flow skill do?
Generates GDPR/CCPA/DPDP privacy consent flows with granular category preferences, consent state persistence, audit logging, and ATT (App Tracking Transparency) integration. Use when user needs privacy consent UI, cookie/tracking consent, or compliance management.
How do I install it?
Run `npx skills add rshankras/claude-code-apple-skills --skill consent-flow --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.
