plutowang

workflow-env

Auto-apply before running any common CLI build, test, or run commands (e.g., npm, pnpm, yarn, bun, make, just, cargo, go, dotnet, docker, terraform, kubectl, dev, start, deploy, serve, lint, format, compile, or bundle).

plutowang 2 Updated 3mo ago
GitHub

Install

npx skillscat add plutowang/term-conf/workflow-env

Install via the SkillsCat registry.

SKILL.md

Environment Loading Protocol

Rule

Before any build/run/deploy command, check for env.sh:

  1. If present: Source it, then run the command.
    • Syntax: . ./env.sh && <command>
  2. If absent: Run the command normally.

Applies To

  • Node: pnpm, bun scripts (dev, build, start)
  • Compilers: zig, go, cargo, dotnet
  • Task runners: make, just, rake
  • Infra: docker, docker-compose, terraform, kubectl

Example

. ./env.sh && pnpm build