privacy-publish

Publishes legal pages and sets App Store Connect privacy and support URLs via the ASC REST API.

696|66|Updated Oct 29, 2025
One-click install
npx skills add https://github.com/rshankras/claude-code-apple-skills --skill privacy-publish
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: privacy-publish
Source: https://github.com/rshankras/claude-code-apple-skills/tree/main/skills/legal/privacy-publish
Command: npx skills add https://github.com/rshankras/claude-code-apple-skills --skill privacy-publish

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

After drafting a privacy policy and terms of service, developers still must host those documents online and manually configure the Privacy Policy, Support, and Marketing URLs in App Store Connect — a tedious, error-prone step that can cause App Review rejections if URLs are dead or missing.

Core Features & Use Cases

  • Legal Page Publishing: Renders .planning/legal/privacy.md and terms.md into hosted pages via git static sites, WordPress REST API, Netlify/S3 CLIs, or a browser-driven CMS fallback.
  • ASC URL Automation: PATCHes privacyPolicyUrl on appInfoLocalizations and supportUrl/marketingUrl on appStoreVersionLocalizations through the App Store Connect REST API with a dry-run → confirm → apply flow.
  • Nutrition Label Handoff: Prints an exact App Privacy checklist matching PrivacyInfo.xcprivacy for the manual ASC step Apple exposes no API for.
  • Use Case: Before submitting an app update, run this Skill to push your drafted privacy policy live, verify both URLs return HTTP 200, and set them on the current App Store version in one guided pass.

Quick Start

Publish my drafted privacy policy and terms pages, then set the Privacy Policy and Support URLs on my app's current App Store Connect version.

Frequently Asked Questions about privacy-publish

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set the Privacy Policy URL in App Store Connect via API?

Send a PATCH request to /v1/appInfoLocalizations/<id> with the privacyPolicyUrl attribute set to your hosted privacy page. You must first fetch the appInfoLocalization id for your app's en-US locale, and confirm the URL returns HTTP 200 before applying.

How do I host a privacy policy page for App Store submission?

Render your markdown draft to HTML and publish it via a git static site, the WordPress REST API (/wp-json/wp/v2/pages), or a host CLI like Netlify or S3. A browser-driven CMS fallback is available when no CLI access exists.

Can the App Privacy nutrition label be set through the App Store Connect API?

No, Apple exposes no public API for the App Privacy nutrition label, so it remains a manual step in the App Store Connect UI. This Skill prints an exact checklist matching your PrivacyInfo.xcprivacy manifest so you can click through the answers accurately.

Why was my app rejected for the privacy policy URL?

A dead or unreachable Privacy Policy URL is a common rejection under Guideline 5.1.1. Always verify the hosted page returns HTTP 200 before setting it in App Store Connect, which this workflow enforces before any PATCH is applied.

What prerequisites are needed before publishing legal pages to App Store Connect?

You need drafted legal markdown files (privacy.md and terms.md), the asc.py helper from the _shared/asc-api directory configured, and an app with a current editable App Store version plus en-US appInfoLocalization and appStoreVersionLocalization ids.