Перейти к содержимому
TakoAPI
Назад к навыкам

devtools-secrets

от basher83

Coding Agents & IDEs
401Число загрузок по данным clawskills.sh
1Звёзды
0Просмотры
0 лайковВойдите, чтобы поставить лайк навыку
—Ещё нет оценок
Ваша оценка

Кратко

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. 1

    Check that mise, fnox, and infisical are installed using the toolchain validation commands

  2. 2

    Verify fnox.toml exists in the project root, prompt user to run fnox init if missing

  3. 3

    Check .infisical.json for project and workspace config, prompt infisical init if absent

  4. 4

    Show user how to wrap the dev server command with fnox exec -- to inject secrets as env vars

  5. 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 — любой кодинг-агент, которым пользуетесь.

Ссылки