devtools-secrets
由 basher83 提供
Coding Agents & IDEs简介
Knowledge and guardrails for the mise + fnox + infisical secrets toolchain.
描述
该技能的功能
Knowledge and guardrails for the mise + fnox + infisical secrets toolchain. Validates tool availability before giving any configuration guidance. Covers the integration chain from remote secret storage through fnox's unified interface to mise task execution, including common failure modes like profile mismatches and token scope limits.
Layering these three tools means secret storage, local abstraction, and task orchestration are each handled separately, and always-on hooks enforce that no hardcoded credentials can reach the editor or shell before the toolchain can intercept them.
何时使用
- Configuring infisical as the remote secrets provider for a new project
- Running dev commands with secrets injected via fnox exec without touching .env files
- Wrapping mise tasks with fnox to keep credentials out of task definitions
- Setting up CI/CD to use service tokens instead of developer login sessions
- Diagnosing silent empty-secrets failures when fnox profile names don't match infisical environment slugs
示例工作流
User asks: how do I run my dev server with secrets injected from Infisical?
- 1
Check that mise, fnox, and infisical are installed using the toolchain validation commands
- 2
Verify fnox.toml exists in the project root, prompt user to run fnox init if missing
- 3
Check .infisical.json for project and workspace config, prompt infisical init if absent
- 4
Show user how to wrap the dev server command with fnox exec -- to inject secrets as env vars
- 5
Add a mise task that calls fnox exec so the workflow is repeatable with a single command
Dev server runs with Infisical secrets injected as environment variables, no credentials in source files or task definitions
前置要求
- Infisical account (cloud at infisical.com or self-hosted) for remote secret storage
- mise installed on the local machine (curl https://mise.run | sh)
- fnox installed via mise (mise use -g fnox)
- infisical CLI installed via mise (mise use -g infisical)
安装
clawhub install basher83/devtools-secrets运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。