云运维凭证安全守护
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
- 参考文档references/debug-information-checklist.md1.4 KB
- 参考文档references/debug-script.md976 B
- 参考文档references/errors.md464 B
- 参考文档references/examples.md201 B
- 参考文档references/sentry-debug-bundle.md576 B
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
.envconfiguration. - Incident triage involving auth failures or clock drift.
Configuration checklist
- Secrets handling
- Never commit real keys; store them in
.envor platform secret managers. - Reference
.env.examplefor required variables; add new ones there before documenting publicly.
- Never commit real keys; store them in
- Firebase setup
- Place
serviceAccountKey.jsonunder a secure, ignored path (see.gitignore). - Confirm Firestore project ID matches
FIREBASE_PROJECT_IDin.env. - Validate clock sync with
ntpstatortimedatectlwhen auth tokens fail.
- Place
- Gemini API
- Export
GEMINI_API_KEYlocally and in deployment secrets. - For local tests, prefer mock adapters enabled via
TEST_MODE=mock.
- Export
- MCP/Claude bots
- Run
./claude_mcp.shor./start_game_mcp.shafter confirming.envvalues. - Use
./kill_dev_server.shto reset stale sockets before re-authenticating.
- Run
Troubleshooting flow
- Collect error logs from
latest_ci_logs.txtor service console. - Identify whether failures stem from missing env vars, expired tokens, or network restrictions.
- Suggest verification commands:
grep KEY_NAME .env ls -al ~/.config/gcloud firebase login:list - Recommend safe remediation (reissue keys, rotate secrets, update
.env), emphasizing not to paste secrets into chat.
Security reminders
- Offer redacted examples when showing
.enventries. - Encourage using mock services or feature flags during demos.
- Verify
.gitignorecontains credential files before advising users to create them. - Point teammates to
docs/security/andREADME.md#configurationfor full policies.
Response structure
- Restate the issue in security-aware language.
- Outline the checklist items relevant to the scenario.
- Provide commands or file paths for verification.
- Close with preventative tips (secret rotation cadence, access controls, etc.).
04 同仓库更多 Skills
disk-reclaim-playbook
Use Disk Magician to diagnose disk growth or qualify cleanup on macOS or Linux.
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.
pr
Alias for the canonical pr-lifecycle PR workflow skill (/pr-workflow, /prw).
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.
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.
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.