Skip to main content

gcp-setup

๐Ÿ‰ Initial Google Cloud environment verification and authentication setup. Use when starting a new session to ensure correct identities across gcloud, ADC, and kubectl.

์†Œ์Šค ์ •๋ณด

์ €์žฅ์†Œ
gemini-cli-extensions/sre
์ตœ๊ทผ ์†Œ์Šค ํ™œ๋™
2026๋…„ 6์›” 30์ผ 13:23
๊ฐ์ง€๋œ SKILL.md ์–ธ์–ด
์˜์–ด
์Šคํƒ€
84
ํฌํฌ
9

์„ค์น˜ ๋ฐฉ๋ฒ•

๊ธฐ๋ณธ์ ์œผ๋กœ ์†Œ์Šค๋ฅผ ๋จผ์ € ํ™•์ธํ•˜๋Š” Prompt๊ฐ€ ์„ ํƒ๋ฉ๋‹ˆ๋‹ค. ์ง์ ‘ ๋ช…๋ น์œผ๋กœ ์ „ํ™˜ํ•˜๊ฑฐ๋‚˜ ๋กœ์ปฌ ์‚ฌ๋ณธ์„ ๋‹ค์šด๋กœ๋“œํ•  ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค.

์†Œ์Šค ํŒŒ์ผ ๊ฒ€ํ† 

์„ค์น˜ ์—ฌ๋ถ€๋ฅผ ๊ฒฐ์ •ํ•˜๊ธฐ ์ „์— SKILL.md์™€ SkillsMP์— ํ‘œ์‹œ๋œ ๋ณด์กฐ ํŒŒ์ผ์„ ์ฝ์–ด ๋ณด์„ธ์š”.

ํŒŒ์ผ ํƒ์ƒ‰๊ธฐ
3 ๊ฐœ ํŒŒ์ผ

SKILL.md ํ‘œ์‹œ ์ค‘

SKILL.md
์†Œ์Šค ์ง€์นจ ยท ์ฝ๊ธฐ ์ „์šฉ ๋ฏธ๋ฆฌ๋ณด๊ธฐ
name
gcp-setup
description
๐Ÿ‰ Initial Google Cloud environment verification and authentication setup. Use when starting a new session to ensure correct identities across gcloud, ADC, and kubectl.
metadata
{"author":"Google","version":"0.0.2"}
# GCP Environment Setup Use this skill to verify and harmonize your GCP identities at the start of an investigation or session. ## Core Workflow 1. **Identity Verification**: Run the bundled `gcp-whoami.sh` script to check all three major identities (gcloud, ADC, and kubectl). 2. **Harmonization**: If identities mismatch, offer to fix them. * To fix `gcloud`: `gcloud auth login [ACCOUNT]` * To fix ADC: `gcloud auth application-default login` * To fix GKE/kubectl: `gcloud container clusters get-credentials [CLUSTER] --region [REGION] --project [PROJECT]` 3. **Next Step: Architecture Discovery(Optional)**: Once identities are verified and correct, check if the `./discover/{gcp-project|azure-subscription}/{PROJECT_ID_OR_NAME}` directory exists. If it is missing or empty, and user asked transition to the `gcp-architecture-discovery` skill and explicitly instruct it to execute a full baseline discovery to sweep and map the entire infrastructure state. ## Bundled Scripts - `scripts/gcp-whoami.sh`: Displays current identities for gcloud, ADC, and kubectl. ## Safe Mode Support If `SAFE_MODE="enabled"` is found in the environment or `.env` file, you MUST activate the `safe-sre-investigator` skill immediately after verifying the initial setup. This ensures all subsequent operations use read-only/non-mutating service accounts. Note that the `SAFE_MODE` might impact kubectl authorization via RBAC.
GitHub์—์„œ ๋ณด๊ธฐ