.cursor/skills/google-cloud-debug/SKILL.md
Retrieve and validate Google Cloud project configuration for debugging using gcloud with evidence-first outputs. Use when the user mentions Google Cloud, GCP projects, API keys, enabled APIs, IAM, billing, quotas, or asks to debug cloud configuration.
npx skillsauth add Columbia-Cloudworks-LLC/EquipQR google-cloud-debugInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Collect trustworthy Google Cloud project context for debugging without exposing secrets.
This skill is designed for project and key troubleshooting where the agent must verify real state in Google Cloud before proposing fixes.
/google-cloud-debug/google-cloud-debug <optional-project-id>Use evidence-first reporting:
What was checkedWhat was observedWhat is likely wrongRecommended next actionAlways include command evidence (sanitized where required).
If any command returns auth errors (for example Reauthentication failed, cannot prompt during non-interactive execution, or missing ADC), the agent must:
gcloud auth login --no-launch-browser
gcloud auth application-default login --no-launch-browser
gcloud auth list
gcloud auth print-access-token
gcloud auth application-default print-access-token
gcloud config set account <ACCOUNT_EMAIL>
Copy this checklist and track progress:
Google Cloud Debug Progress
- [ ] 1) Confirm gcloud availability and authentication
- [ ] 2) Confirm active project and account context
- [ ] 3) Gather project inventory (APIs, IAM, billing, quotas)
- [ ] 4) Gather API key metadata safely
- [ ] 5) Summarize findings and next fix actions
Run:
gcloud --version
gcloud auth list
gcloud auth application-default login
gcloud auth application-default print-access-token
Notes:
gcloud auth application-default login --no-launch-browser when browser launch is unavailable.Auth Blocker Handling (Required).Run:
gcloud config list
gcloud projects list --format="table(projectId,name,projectNumber)"
gcloud projects describe <PROJECT_ID>
If the target project is known, set it:
gcloud config set project <PROJECT_ID>
Run:
gcloud services list --enabled --project <PROJECT_ID>
gcloud projects get-iam-policy <PROJECT_ID>
gcloud beta billing projects describe <PROJECT_ID>
gcloud services quota list --consumer=projects/<PROJECT_NUMBER> --service=serviceusage.googleapis.com
Notes:
gcloud services quota list is unavailable in the installed SDK version, report that and continue with available evidence.Run:
gcloud services api-keys list --project <PROJECT_ID>
gcloud services api-keys describe <KEY_ID> --project <PROJECT_ID>
Optional lookup by key string (never echo full key in output):
gcloud services api-keys lookup --key=<API_KEY_STRING>
Do not run gcloud services api-keys get-key-string unless the user explicitly requests it for a controlled operation.
Produce:
Then recommend the smallest safe next step and list any missing permissions needed to proceed.
## Google Cloud Debug Snapshot
### What was checked
- Account: <ACTIVE_ACCOUNT>
- Project: <PROJECT_ID> (<PROJECT_NUMBER>)
- Surfaces: APIs, IAM, billing, quotas, API keys
### What was observed
- APIs: <enabled/missing service names>
- IAM: <relevant roles or missing binding>
- Billing: <enabled/disabled>
- Quotas: <healthy/exhausted + metric>
- API keys: <restricted/unrestricted/disabled findings>
### Likely root cause
- <most probable blocker>
### Recommended next action
1. <smallest safe fix>
2. <validation step to confirm fix>
development
React performance optimization guidelines from Vercel Engineering, with EquipQR-specific mappings (Vite + React Router + TanStack Query). Use when writing, reviewing, or refactoring React code in this repo, especially around waterfalls, bundle size, and re-renders.
testing
Postgres performance optimization and best practices from Supabase, adapted to EquipQR's Supabase (Postgres + RLS) workflow. Use when editing SQL, migrations, indexes, or RLS policies.
development
Applies EquipQR's brand colors and design-system tokens to any artifact that should match EquipQR's look-and-feel. Use it when brand colors, style guidelines, visual formatting, or EquipQR design standards apply.
development
Use when auditing dependency health, API contract consistency, shared data shapes, or brittle integration seams between modules, services, and packages.