secret-handling
Handle secrets, API keys, tokens, and credentials safely in code, logs, configs, and UI.
- License 许可
- MIT
- 最近更新
- 2026-05-28
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- secret-handling
- author
- Siming
- license
- MIT
- version
- 1.0.0
- metadata
- { "siming": { "tags": [ "security", "secrets", "config" ] } }
- description
- Handle secrets, API keys, tokens, and credentials safely in code, logs, configs, and UI.
03 SKILL.md 正文
Secret Handling
Use this skill when working with credentials or sensitive config.
Workflow
- Identify where the secret is stored, read, logged, transmitted, and displayed.
- Keep secrets out of logs, docs examples, and frontend bundles.
- Use environment variables or credential stores.
- Redact values in diagnostics.
- Add tests for redaction where applicable.
Checks
- Never return raw tokens from admin list APIs.
04 同仓库更多 Skills
playwright-visual-check
Use Playwright to verify UI layout, screenshots, responsive behavior, and console/runtime errors.
api-smoke-tests
Create API smoke tests for auth, CRUD, pagination, empty states, and error paths.
dependency-risk-scan
Evaluate dependency risk, vulnerability scan results, package updates, and safe upgrade strategy.
vector-search-quality
Improve vector retrieval quality with chunk strategy, metadata filters, thresholds, and reranking.
rag-ingestion-pipeline
Build RAG document ingestion flows with upload, parsing, chunking, embedding, queueing, and status tracking.
kb-admin-workflows
Design knowledge base admin workflows for list pages, status filters, import progress, and document operations.