background-processing

Featured

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.

AI & Automation 565 stars 47 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
92
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# 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, **/*BackgroundDownload*.swift Grep: "BGTaskScheduler" or "BGAppRefreshTask" or "BGProcessingTask" or "backgroundSession" ``` If existing background code found: - Ask if user wants to replace or augment it - If augmenting, identify what is missing and generate only those pieces ### 3. Info.plist C...

Details

Author
rshankras
Repository
rshankras/claude-code-apple-skills
Created
9 months ago
Last Updated
4 days ago
Language
Swift
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category