automattic/cross-platform
Cross-platform codebase exploration for Pocket Casts. Use when asked about Web, iOS, or Android implementation of a feature, or when comparing implementations across platforms.
npx skills add https://github.com/Automattic/pocket-casts-ios --skill cross-platform
Other platform repos are siblings of the root iOS repo (not worktrees):
| Platform | Relative to project root | Trunk Branch |
|----------|--------------------------|--------------|
| Web | ../pocket-casts-webplayer/ | develop |
| Android | ../pocket-casts-android/ | main |
If working in a worktree, first find the root iOS repo:
# Get root repo path (works in both root and worktree)
# --porcelain output is stable for scripting; first entry is always the main worktree
ROOT=$(git worktree list --porcelain | head -n 1 | awk '{print $2}')
# Platform repos are siblings of the root
WEB_REPO="$ROOT/../pocket-casts-webplayer"
ANDROID_REPO="$ROOT/../pocket-casts-android"
Each repository contains a CLAUDE.md at its root. Read it first to understand architecture and conventions.
Before exploring code:
cd "$WEB_REPO" # or $ANDROID_REPO
git status --short
git branch --show-current
develop (Web) main (Android) or trunk (iOS) → pull latest git checkout <branch> # if switching
git pull
When comparing or describing implementations:
Avoid language-specific syntax unless necessary to explain behavior.
Take automattic/cross-platform from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.