app-store
App Store optimization and marketing skills for descriptions, screenshots, keywords, review responses, and comprehensive promotional strategy. Use when user…
Generates a watermark overlay system for images and video with configurable positioning, opacity, tiling, and paywall integration for automatic removal on subscription or purchase. Use when user wants to add branding, attribution, or free-tier watermarks to visual content.
$ npx -y skills add rshankras/claude-code-apple-skills --skill watermark-engine --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/watermark-engineContext preview
The summary Claude sees to decide when to auto-load this skill.
Generates a watermark overlay system for images and video with configurable positioning, opacity, tiling, and paywall integration for automatic removal on subscription or purchase. Use when user wants to add branding, attribution, or free-tier watermarks to visual content.
name: watermark-engine description: Generates a watermark overlay system for images and video with configurable positioning, opacity, tiling, and paywall integration for automatic removal on subscription or purchase. Use when user wants to add branding, attribution, or free-tier watermarks to visual content. allowed-tools: [Read, Write, Edit, Glob, Grep, Bash, AskUserQuestion] last_verified: 2026-07-16 review_by: 2027-06-22 os_version: iOS 27 / macOS 27
Generate a production watermarking system with text/image/logo overlays, configurable positioning and opacity, tiled patterns, live SwiftUI preview, and automatic watermark removal on subscription purchase.
Use this skill when the user:
Search for existing watermark or overlay code:
Glob: **/*Watermark*.swift, **/*Overlay*.swift, **/*Branding*.swift Grep: "watermark" or "overlay" or "CGContext" or "draw(in:"
If existing watermark code found:
Check for existing image processing infrastructure:
Grep: "CoreImage" or "CoreGraphics" or "CGImage" or "UIGraphicsImageRenderer" Grep: "StoreKit" or "SubscriptionStatus" or "Product.SubscriptionInfo"
If paywall/subscription code exists, integrate watermark removal with existing subscription logic rather than generating standalone subscription checks.
Determine if generating for iOS (UIImage) or macOS (NSImage) or both (cross-platform typealias).
Ask user via AskUserQuestion:
1. **Watermark content type?**
2. **Watermark positioning?**
3. **Watermark removal trigger?**
4. **Opacity level?**
5. **Platform?**
Read `templates.md` for production Swift code.
Generate these files: 1. `WatermarkStyle.swift` — Configuration struct for content, position, opacity, scale, padding 2. `WatermarkPosition.swift` — Enum with computed CGRect placement relative to image bounds 3. `WatermarkRenderer.swift` — CoreGraphics-based renderer that composites watermark onto source image
4. `WatermarkOverlayView.swift` — SwiftUI overlay view for live preview of watermark on content
5. `WatermarkManager.swift` — @Observable manager that applies/removes watermarks, integrates with subscription status
6. `WatermarkImageModifier.swift` — SwiftUI ViewModifier for declarative watermark application
Check project structure:
After generation, provide:
Watermark/ ├── WatermarkStyle.swift # Configuration for content, position, opacity ├── WatermarkPosition.swift # Position enum with CGRect computation ├── WatermarkRenderer.swift # CoreGraphics compositor ├── WatermarkOverlayView.swift # SwiftUI live preview overlay ├── WatermarkManager.swift # Observable manager with paywall integration └── WatermarkImageModifier.swift # SwiftUI ViewModifier
**Apply a text watermark to an exported image:**
let style = WatermarkStyle(
content: .text("@ MyApp"),
position: .bottomRight,
opacity: 0.4,
scale: 0.08
)
let renderer = WatermarkRenderer()
let watermarked = try renderer.render(source: originalImage, style: style)**Live preview overlay in SwiftUI:**
Image(uiImage: photo)
.resizable()
.aspectRatio(contentMode: .fit)
.watermark(.text("Preview"), position: .center, opacity: 0.3)**With subscription-based removal:**
struct PhotoEditorView: View {
let photo: UIImage
@State private var manager = WatermarkManager()
var body: some View {
Image(uiImage: photo)
.resizable()
.aspectRatio(contentMode: .fit)
.watermark(manager.activeStyle)
}
}
// WatermarkManager automatically checks subscription status
// and returns .none when user has active subscription**Tiled diagonal pattern for free-tier:**
let style = WatermarkStyle(
content: .text("SAMPLE"),
position: .tiled(angle: -30, spacing: 120),
opacity: 0.15,
scale: 0.05
)@Test
func textWatermarkRendersAtCorrectPosition() async throws {
let source = PlatformImage.testImage(sA collection of Claude Code skills for iOS, macOS, watchOS, visionOS, and Apple platform development. These skills help you plan and build apps, maintain code quality, ensure HIG compliance, and guide you from idea to App Store.
Repo: rshankras/claude-code-apple-skills
App Store optimization and marketing skills for descriptions, screenshots, keywords, review responses, and comprehensive promotional strategy. Use when user…
Privacy-preserving ad measurement with AdAttributionKit (SKAdNetwork's successor) — install and re-engagement attribution, conversion-value strategy under…
Generate compelling App Store descriptions that convert browsers into users. Use when writing initial descriptions, improving existing copy, or drafting…
Apple Search Ads campaign strategy for indie developers — paid acquisition, keyword bidding, budget planning, and ROAS optimization. Use when user asks about…
Take a one-time in-app purchase from MISSING_METADATA to READY_TO_SUBMIT in App Store Connect — set its price schedule and localized display name/description…
Optimize app title, subtitle, and keywords for maximum App Store discoverability. Use when launching a new app, improving search rankings, entering new…