agentleFS
yasserstudioyasserstudio/gpc-skills/gpc-onboarding/SKILL.md

gpc-onboarding

Skill1 starsChanged 8 months agoMITView on GitHub

Use when a user is setting up GPC for the first time or going through initial configuration. Trigger when the user mentions gpc quickstart, first-time setup, initial configuration, onboarding, getting started, service account creation, doctor --fix, auth setup-gcp — even if they don't say 'onboarding.' Also trigger when someone is brand new to GPC and needs guided setup.

  • Installs packages

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the task involves:

    line 13
  2. Very specific:

    When run without flags in a TTY, gpc auth login prompts interactively:

    line 51
  3. Very specific:

    Use this when gpc quickstart fails at the credentials step, or when the user wants more control over how auth is configured.

    line 58
  4. Distinctive:

    Use this when the user is starting from zero -- no GCP project, no key file.

    line 70
  5. Distinctive:

    Follow the prompts. The wizard is idempotent — re-run it at any point.

    line 107

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 login wizard or gpc 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:

  1. Auth method: service account or ADC
  2. Credentials file path (with validation loop — retries until a valid path is given)
  3. Profile name (optional, defaults to "default")
  4. 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 snapshot
  • gpc releases list -- view release tracks
  • gpc vitals overview -- crash/ANR dashboard
  • gpc reviews list -- recent user reviews
  • gpc verify -- check Android developer verification status
  • gpc docs list -- browse all 108 embedded documentation topics from CLI (v0.9.64+)
  • gpc docs show <topic> -- read any guide offline in the terminal
  • gpc docs search <query> -- full-text search across all docs
  • gpc 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

SymptomLikely CauseFix
gpc quickstart fails at Step 2Invalid or missing service account keyRe-run gpc auth login or gpc auth setup-gcp
gpc doctor --fix can't fix an issueManual intervention neededFollow the suggestion shown for that check
No package name foundApp not configuredgpc config set app com.example.app
Auth wizard loops on file pathFile path is wrong or file doesn't existProvide the absolute path to the JSON key
gpc quickstart skips to Step 3/4Existing partial config foundSafe — it resumes from where setup left off

Related skills

  • gpc-setup — detailed auth configuration, profiles, env vars, proxy setup
  • gpc-troubleshooting — error codes, debug mode, common fixes

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.