gpc-onboarding
GPC Onboarding
When to use
Use this skill when the task involves:
- A user running GPC for the very first time
- Guided first-run setup via
gpc quickstart - Interactive auth setup via
gpc auth loginwizard orgpc auth setup-gcp - Resolving failing doctor checks with
gpc doctor --fix - Configuring a default app or a second app profile
- General "how do I get started with GPC?" questions
Inputs required
- Whether the user has a service account JSON key already, or needs to create one
- The Android package name (e.g.,
com.example.app) - Whether this is a fresh machine or an existing partial setup
Commands
gpc quickstart
Guided setup flow. Idempotent — safe to re-run.
Step 1/4 Checking for existing config... ✓ Found profile "myapp"
Step 2/4 Verifying credentials... ✓ Service account valid
Step 3/4 Checking package name... ✓ com.example.app
Step 4/4 Running doctor... ✓ All checks passed
Ready. Here's what you can do next:
gpc status → app health snapshot
gpc releases list → current tracks
gpc reviews list → recent reviews
gpc vitals overview → crash and ANR rates
gpc quickstart is the recommended entry point for all new users. It detects existing config, validates credentials, confirms the package name, and runs a full doctor check — all in one flow.
gpc auth login (interactive wizard)
When run without flags in a TTY, gpc auth login prompts interactively:
- Auth method: service account or ADC
- Credentials file path (with validation loop — retries until a valid path is given)
- Profile name (optional, defaults to
"default") - Default package name
Use this when gpc quickstart fails at the credentials step, or when the user wants more control over how auth is configured.
gpc auth setup-gcp
Step-by-step service account creation guidance for users who do not yet have a GCP project or JSON key:
- Walks through creating a GCP project and enabling the Google Play Developer API
- Shows required IAM roles for the service account
- Explains how to grant the service account access in Play Console (Settings → API access)
- Guides downloading the JSON key file
- Verifies the result with
gpc auth status
Use this when the user is starting from zero -- no GCP project, no key file.
Shortcut if you already have the key:
gpc auth setup-gcp --key /path/to/service-account.json
Validates the JSON, authenticates, and saves to config in one step.
gpc doctor --fix
Runs all doctor checks and applies inline remediation for each failing check.
gpc doctor # show current health
gpc doctor --fix # auto-fix what can be fixed
Each failing check displays a suggestion. --fix applies those suggestions automatically where possible. Issues that require manual steps (e.g., Play Console API access grants) are shown with instructions but cannot be auto-fixed.
Procedure
0) Install GPC (if not already installed)
npm install -g @gpc-cli/cli
1) Run gpc quickstart
This covers the majority of first-time setups:
gpc quickstart
Follow the prompts. The wizard is idempotent — re-run it at any point.
2) If credentials are not yet set up
Option A — you already have a service account JSON key:
gpc auth login
Option B — you need to create a GCP project and service account from scratch:
gpc auth setup-gcp
3) Fix remaining doctor issues
gpc doctor --fix
Review any checks that still fail and follow the inline suggestions.
4) Verify
gpc status
A successful status output confirms GPC is fully configured and connected.
After successful setup
Once onboarded, common next commands:
gpc status-- app health snapshotgpc releases list-- view release tracksgpc vitals overview-- crash/ANR dashboardgpc reviews list-- recent user reviewsgpc verify-- check Android developer verification statusgpc docs list-- browse all 99 embedded documentation topics from CLI (v0.9.64+)gpc docs show <topic>-- read any guide offline in the terminalgpc docs search <query>-- full-text search across all docsgpc docs init-- write GPC.md quick-reference for AI agents
Enable tab completion (v0.9.58+): brew install yasserstudio/tap/gpc installs completion files automatically. For npm installs, run gpc completion bash >> ~/.bash_completion (or zsh/fish equivalent). Since v0.9.60 the scripts surface live profile/app/track values at TAB time.
Failure modes
| Symptom | Likely Cause | Fix |
|---|---|---|
gpc quickstart fails at Step 2 |
Invalid or missing service account key | Re-run gpc auth login or gpc auth setup-gcp |
gpc doctor --fix can't fix an issue |
Manual intervention needed | Follow the suggestion shown for that check |
| No package name found | App not configured | gpc config set app com.example.app |
| Auth wizard loops on file path | File path is wrong or file doesn't exist | Provide the absolute path to the JSON key |
gpc quickstart skips to Step 3/4 |
Existing partial config found | Safe — it resumes from where setup left off |
Related skills
gpc-setup— detailed auth configuration, profiles, env vars, proxy setupgpc-troubleshooting— error codes, debug mode, common fixes
More from yasserstudio/gpc-skills
gpc-sdk-usage
Use when building applications that programmatically interact with the Google Play Developer API using GPC's TypeScript SDK packages. Make sure to use this skill whenever the user mentions @gpc-cli/api, @gpc-cli/auth, PlayApiClient, createApiClient, resolveAuth, Google Play API client, TypeScript SDK, programmatic access, API client, HTTP client, rate limiter, pagination, edit lifecycle in code, Node.js Google Play, server-side Play Store, backend integration — even if they don't explicitly say 'SDK.' Also trigger when someone wants to build a backend service, custom dashboard, automation script, or any TypeScript/JavaScript application that interacts with Google Play programmatically rather than through the CLI. For CLI usage, see other gpc-* skills. For building plugins, see gpc-plugin-development.
12gpc-release-flow
Use when uploading, releasing, promoting, or managing rollouts on Google Play. Make sure to use this skill whenever the user mentions gpc releases, upload AAB, upload APK, staged rollout, promote to production, halt rollout, gpc publish, release notes, track management, internal testing, beta release, production rollout, version code, rollout percentage, gpc bundles, bundle list, bundle wait, wait for bundle processing, in-app update priority, retain version codes, versioned changelogs, or wants to ship an Android app to any Play Store track. Also trigger when someone asks about the Google Play edit lifecycle, release validation, or how to do a phased rollout — even if they don't mention GPC by name. For metadata and listings, see gpc-metadata-sync. For CI/CD integration, see gpc-ci-integration.
12gpc-security
Use when dealing with GPC credential security, secret management, audit logging, or access control. Make sure to use this skill whenever the user mentions credentials, service account key, secret rotation, key rotation, credential storage, audit log, audit trail, security best practices, .gpcrc.json security, secrets in CI, GPC_SERVICE_ACCOUNT safety, keychain, token cache, credential leak, key compromise, secure deployment — even if they don't explicitly say 'security.' Also trigger when someone asks about where GPC stores credentials, how to rotate service account keys, how to audit who did what with GPC, how to securely pass credentials in CI/CD, or how to handle a compromised service account key. For auth setup, see gpc-setup. For CI configuration, see gpc-ci-integration.
12gpc-multi-app
Use when managing multiple Google Play apps with GPC. Make sure to use this skill whenever the user mentions multiple apps, multi-app, monorepo, white-label, batch operations, bulk upload, several apps, --app flag, app switching, profiles for different apps, fleet management, app portfolio, multiple package names — even if they don't explicitly say 'multi-app.' Also trigger when someone has more than one Android app and wants to manage them efficiently, when they need different configurations per app, when they're running the same command across multiple apps, or when they have a monorepo with multiple Android modules. For single-app setup, see gpc-setup. For CI automation, see gpc-ci-integration.
11gpc-setup
Use when setting up GPC (Google Play Console CLI): authentication with service accounts, OAuth, or Application Default Credentials; configuration files (.gpcrc.json, env vars, XDG paths); auth profiles; running gpc doctor; troubleshooting auth errors. Make sure to use this skill whenever the user mentions gpc auth, service account setup, gpc config, gpc doctor, GPC_SERVICE_ACCOUNT, gpc auth login, Google Play API credentials, Play Console authentication, gpc setup, gpc setup wizard, one-command onboarding, or wants to install/configure GPC — even if they don't explicitly say 'setup.' Also trigger when someone is troubleshooting auth failures, token expiration, keychain issues, or proxy/network configuration for GPC.
11gpc-monetization
Use when managing in-app purchases, subscriptions, pricing, or Real-Time Developer Notifications in Google Play. Make sure to use this skill whenever the user mentions gpc subscriptions, gpc iap, gpc purchases, gpc pricing, gpc rtdn, in-app products, base plans, subscription offers, one-time products, consumable products, purchase verification, purchase acknowledgement, purchase token, subscription cancellation, subscription deferral, voided purchases, refunds, regional pricing, currency conversion, price migration, SKU management, monetization, revenue, billing, subscription analytics, churn, trial conversion, subscriber count, RTDN, Real-Time Developer Notifications, Pub/Sub notifications, subscription events, purchase events — even if they don't explicitly say 'monetization.' Also trigger when someone wants to create or update subscriptions, manage base plan lifecycle (activate/deactivate), set up introductory offers, verify server-side purchases, handle refunds, convert prices across regions, sync IAP products from files, migrate subscribers to new prices, view subscription analytics, decode Pub/Sub notification payloads, or check RTDN topic configuration. For release management, see gpc-release-flow. For CI automation, see gpc-ci-integration.
11