AGENT SKILL

云运维凭证安全守护

cloud-ops-credential-guard

安全地指导团队成员完成云配置、密钥管理和事件分诊。

适用职业安全工程师
License 许可
MIT
最近更新
2026-11-14
Stars
★ 6
Forks
0

01 前言 Front Matter

type
usage
scope
project
description
Securely guide teammates through cloud configuration, secrets management, and incident triage

02 资源文件 5

03 SKILL.md 正文

Cloud Ops & Credential Guard

Purpose

Guide Claude in helping teammates configure and troubleshoot cloud integrations securely without exposing sensitive data.

Trigger phrases

  • Questions about Firebase, Gemini, or other API credentials.
  • Requests for deployment environment setup or .env configuration.
  • Incident triage involving auth failures or clock drift.

Configuration checklist

  1. Secrets handling
    • Never commit real keys; store them in .env or platform secret managers.
    • Reference .env.example for required variables; add new ones there before documenting publicly.
  2. Firebase setup
    • Place serviceAccountKey.json under a secure, ignored path (see .gitignore).
    • Confirm Firestore project ID matches FIREBASE_PROJECT_ID in .env.
    • Validate clock sync with ntpstat or timedatectl when auth tokens fail.
  3. Gemini API
    • Export GEMINI_API_KEY locally and in deployment secrets.
    • For local tests, prefer mock adapters enabled via TEST_MODE=mock.
  4. MCP/Claude bots
    • Run ./claude_mcp.sh or ./start_game_mcp.sh after confirming .env values.
    • Use ./kill_dev_server.sh to reset stale sockets before re-authenticating.

Troubleshooting flow

  1. Collect error logs from latest_ci_logs.txt or service console.
  2. Identify whether failures stem from missing env vars, expired tokens, or network restrictions.
  3. Suggest verification commands:
    grep KEY_NAME .env
    ls -al ~/.config/gcloud
    firebase login:list
    
  4. Recommend safe remediation (reissue keys, rotate secrets, update .env), emphasizing not to paste secrets into chat.

Security reminders

  • Offer redacted examples when showing .env entries.
  • Encourage using mock services or feature flags during demos.
  • Verify .gitignore contains credential files before advising users to create them.
  • Point teammates to docs/security/ and README.md#configuration for full policies.

Response structure

  1. Restate the issue in security-aware language.
  2. Outline the checklist items relevant to the scenario.
  3. Provide commands or file paths for verification.
  4. Close with preventative tips (secret rotation cadence, access controls, etc.).

04 同仓库更多 Skills

jleechanorg
jleechanorg/jleechan-skills

disk-reclaim-playbook

Use Disk Magician to diagnose disk growth or qualify cleanup on macOS or Linux.

★ 6
jleechanorg
jleechanorg/jleechan-skills

claudea-bench

Compare `claudea` and normal `claude` on a fair split of comparable work by default; use `--strict` for duplicate runs of the exact same task.

★ 6
jleechanorg
jleechanorg/jleechan-skills

pr

Alias for the canonical pr-lifecycle PR workflow skill (/pr-workflow, /prw).

★ 6
jleechanorg
jleechanorg/jleechan-skills

whisper

OpenAI's general-purpose speech recognition model. Supports 99 languages, transcription, translation to English, and language identification. Six model sizes from tiny (39M params) to large (1550M params). Use for speech-to-text, podcast transcription, or multilingual audio processing. Best for robust, multilingual ASR.

★ 6
jleechanorg
jleechanorg/jleechan-skills

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

★ 6
jleechanorg
jleechanorg/jleechan-skills

pr-report

This skill should be used when the user asks for a PR report, PR audit, PR delta analysis, /pr-report, or wants per-PR summary with delta files/lines. Generates a structured report for one or more open PRs covering purpose, files changed, +/− line counts, /code-standards + /thermo review findings, /ponytail simplification opportunities, file-overlap combination candidates, and /green status per pr-green-definition. Output: machine-readable JSONL + human-readable markdown. Read-only by default; can apply simplifications if user opts in.

★ 6