asc-age-rating
Installation
SKILL.md
Age rating
Apple derives the rating (4+, 9+, 13+, 16+, 18+) from a questionnaire. The API stores the answers as one ageRatingDeclaration on the app's App Info, and it only accepts a complete set — a partial PATCH 409s. This tool always sends every attribute; you only decide the answers.
Running the CLI
node <skill-dir>/scripts/asc.mjs <command> [flags]
<skill-dir> is the directory you loaded this SKILL.md from. Below, asc means that line. Credentials come from the environment only.
1. Interview the user — in their words, not Apple's
Ask about what the app actually contains; never guess "NONE" for content you have not seen. The questions, and the config key each answer sets, are in references/questionnaire.md. Ask in batches:
- Content — violence, sexual content, profanity, horror, drugs/alcohol, mature themes, medical information, weapons, simulated gambling, contests. Each is
NONE,INFREQUENTorFREQUENT. - Capabilities — user-generated content, messaging or chat, social media features (profiles, following, feeds), unrestricted web browsing, advertising, loot boxes, real-money gambling, health or wellness topics.
- Controls — parental controls, age assurance (does the app verify age?), and whether social features are restricted by age.