shinyorg/shiny/shiny-agesignals
Claude Code and agent skill by shinyorg/shiny
- community
Checking that the SKILL.md file is still in the repository.
Generate code using Shiny.AgeSignals to read the user's age range as the app store shares it - Apple Declared Age Range (iOS / macOS 26+) and Google Play Age Signals (Android) - for app store accountability laws (Texas SB 2420, Utah, Louisiana, California AB 1043) and age-gated features
Install
npx vskill@latest install shinyorg/shiny/shiny-agesignalsSKILL.md
The same SKILL.md was published earlier as shinyorg/shiny/shiny-agesignals.
Shiny Age Signals Skill
You are an expert in Shiny.AgeSignals, a .NET library that reads the user's age range as the app store shares it, through one IAgeSignals over Apple Declared Age Range and Google Play Age Signals.
When to Use This Skill
Invoke this skill when the user wants to:
- Comply with an app store accountability law (Texas SB 2420 and the Utah / Louisiana / California equivalents)
- Gate content or features by age band ("is this user at least 16?")
- Show Apple's significant-update acknowledgment, or read Play's guardian approval of significant changes
Library Overview
Documentation: https://shinylib.net/client/agesignals/ Package: Shiny.AgeSignals Namespaces: Shiny.AgeSignals (types), Shiny (registration) Platforms: iOS 26+ and macOS 26+ (Declared Age Range through a bundled Swift shim), Android (Play Age Signals 0.0.4, bound inside the package). iOS / macOS before 26, Mac Catalyst, Windows, Linux and Blazor report NotSupported.
Registration
Required setup
- **Apple: the
com.apple.developer.declared-age-rangeentitlement (booleantrue), with the Declared Age Range
capability enabled on the App ID. Without it Apple's call never returns** - the request hangs instead of failing. Always generate the entitlement alongside any Apple code:
``xml <!-- csproj --> <ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'"> <CustomEntitlements Include="com.apple.developer.declared-age-range" Type="Boolean" Value="true" Visible="false" /> </ItemGroup> ``
- Android: the app must be installed from Google Play (otherwise
AgeSignalsErrorReason.AppNotOwned). Custom
minimum ages (up to three, at least two years apart) are set in Play Console, not at runtime.
API
| Apple Declared Age Range | Google Play Age Signals | ||
|---|---|---|---|
| UI | RequestAgeRange may present a sheet | Play's prompt only outside the US law states; there users verify in the Play Store | |
| Age gates | the gate1..3 arguments | ignored - bands are 0-12 / 13-15 / 16-17 / 18+ or the Play Console custom ages | |
Source | selfDeclared → SelfDeclared, guardianDeclared → GuardianDeclared, confirmed (and the 26.2 *Checked cases) → Confirmed | TIER_A → SelfDeclared, TIER_B → GuardianDeclared, TIER_C → Confirmed, TIER_D → IdVerified | |
VerificationRequired | never | user is in a mandatory jurisdiction with no verified age - send them to the Play Store | |
| Significant changes | ShowSignificantUpdate (iOS 26.4+) + the eligibility flags | declare in Play Console, read SignificantChange / SignificantChangeApprovedThrough | |
| Declined onboarding | Status = Declined | - |
Code Generation Instructions
- Add
using Shiny.AgeSignals;whereIAgeSignalsis injected andusing Shiny;whereAddAgeSignals()is called. - Always emit the Apple entitlement (see Required setup) when targeting iOS or macOS - a missing entitlement hangs
forever, it does not throw.
- Gates are positive and ascending, at most three:
RequestAgeRange(13, 16, 18). Never pass an array. - Decide with
IsAtLeast(age)/IsAdultand treat `null` as "unknown", never asfalseortrue- fall back to
the app's most protective experience. Don't compute from LowerBound alone.
- Switch on
Statusbefore reading bounds. HandleVerificationRequired(tell the user to open the Play Store to
verify) separately from Declined.
- When assurance matters, compare
Source:signal.Source >= AgeRangeSource.Confirmed. Self-declared is the weakest. - Never cache an
AgeSignalacross launches - consent can be revoked and birthdays cross bands. Ask at first launch,
before a gated feature, and after an update.
- Catch
AgeSignalsExceptionand branch onReason(Network/Transient→ retry later;StoreUnavailable/
AppNotOwned → treat as unknown age). ArgumentOutOfRangeException means bad gates.
- Send
InstallIdto your server for supervised Android installs - Play uses it to notify you of revoked approvals. GetEligibility()shows no UI and is safe to call at startup;RequestAgeRangemay present UI, so call it from a
user-visible screen with a window / activity available (otherwise NoUserInterface).
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/shiny-agesignals/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/shinyorg/shiny/shiny-agesignals)