AI SummaryHelps SwiftUI developers integrate the Recap library for in-app release notes, configure display policies, and maintain Releases.md documentation. Essential for teams building apps with Recap-based feature announcements.
Install
# Install skill into your project mkdir -p .cursor/skills/recap-integration && curl --retry 3 --retry-delay 2 --retry-all-errors -o .cursor/skills/recap-integration/SKILL.md "https://raw.githubusercontent.com/mergesort/Recap/main/.agents/skills/recap-integration/SKILL.md"
Run in your IDE terminal (bash). On Windows, use Git Bash, WSL, or your IDE's built-in terminal. If curl fails with an SSL error, your network may block raw.githubusercontent.com — try using a VPN or download the files directly from the source repo.
Description
Integrates the Recap Swift package into SwiftUI apps, authors Recap-compatible releases markdown, and configures RecapDisplayPolicy and RecapScreen customization. Use when adding Recap into an app, updating Releases.md, or customizing the behavior of a Recap screen.
Recap Integration
Use this skill when integrating, configuring, or using the Recap library.
What to read first
Start with these files: • README.md • Sources/Recap/Public/RecapScreen.swift • Sources/Recap/Public/View+Recap.swift • Sources/Recap/Public/RecapDisplayPolicy.swift • Sources/Recap/Public/RecapDisplayPolicy.Trigger.swift • Demo/Demo/Assets/Releases.md • Demo/Demo/DemoRecapScreen.swift Read additional public API files in Sources/Recap/Public/ only if the task touches a specific type.
Core workflow
• Identify whether the task is about integration, release authoring, display policy, or screen customization. • Prefer Recap's public APIs over custom implementations. • Match existing Recap naming and examples from the README and demo app. • Keep examples and release content user-facing and concise.
Integration rules
• Prefer ReleasesParser(fileName:) for bundled release markdown. • Prefer RecapScreen(releases:) as the entry point for presentation. • Prefer RecapDisplayPolicy and RecapDisplayPolicy.Trigger over hand-rolled version gating. • Prefer .recapScreenPaginationStyle(.automatic) unless the user explicitly wants forced .labeled or .compact. • When customizing behavior, use View+Recap modifiers instead of editing internal implementation unless the task is explicitly a library change.
Quality Score
Acceptable
71/100
Trust & Transparency
Open Source — MIT
Source code publicly auditable
Verified Open Source
Hosted on GitHub — publicly auditable
Actively Maintained
Last commit 3d ago
255 stars — Growing Community
11 forks