background-processing
Generates background processing infrastructure with BGTaskScheduler, background refresh, background downloads, and silent push handling. Use when user needs background tasks, periodic refresh, background URLSession downloads, or silent push notification processing.
npx skills add rshankras/claude-code-apple-skills --skill background-processing --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.
# Background Processing Generator Generate production background processing infrastructure -- BGTaskScheduler for periodic refresh and long-running tasks, background URLSession for downloads/uploads that survive app termination, and silent push handling for server-triggered updates. ## When This Skill Activates Use this skill when the user: - Asks to "add background processing" or "background tasks" - Mentions "BGTaskScheduler" or "BGAppRefreshTask" or "BGProcessingTask" - Wants "background refresh" or "periodic background updates" - Asks about "background downloads" or "background uploads" - Mentions "silent push" or "content-available push notifications" - Wants data to sync or update while the app is in the background - Asks about "background fetch" or "background execution" ## Pre-Generation Checks ### 1. Project Context Detection - [ ] Check deployment target (BGTaskScheduler requires iOS 13+) - [ ] Check Swift version (requires Swift 5.9+) - [ ] Check for @Observable support (iOS 17+ / macOS 14+) - [ ] Identify source file locations ### 2. Existing Background Task Detection Search for existing background task code: ``` Glob: **/*BackgroundTask*.swift, **/*BGTask*.swift, **/*B
- When This Skill Activates
- Pre-Generation Checks
- 1. Project Context Detection
- 2. Existing Background Task Detection
- 3. Info.plist Check
- Configuration Questions
- Generation Process
- Step 1: Read Templates
- Step 2: Create Core Files
- Step 3: Create Feature-Specific Files
- Step 4: Determine File Location
- Output Format
- Files Created
- Integration with App Lifecycle
What does the background-processing skill do?
Generates background processing infrastructure with BGTaskScheduler, background refresh, background downloads, and silent push handling. Use when user needs background tasks, periodic refresh, background URLSession downloads, or silent push notification processing.
How do I install it?
Run `npx skills add rshankras/claude-code-apple-skills --skill background-processing --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.
