workflow-env
Environment Loading Protocol
Rule
Before any build/run/deploy command, check for env.sh:
- If present: Validate it before sourcing.
- Inspect the file contents first. It MUST contain only
export VAR=valuestatements, comments, and blank lines. - REFUSE to source if it contains:
curl,wget,eval,exec, piped commands (|), subshells ($(...)), backticks,source,.(sourcing other files),rm,mv,cp,chmod,chown,sudo,apt,brew,npm install, or any non-export logic. - If safe:
. ./env.sh && <command>
- Inspect the file contents first. It MUST contain only
- If absent: Run the command normally.
Applies To
- Node:
pnpm,bunscripts (dev,build,start) - Compilers:
zig,go,cargo,dotnet - Task runners:
make,just,rake - Infra:
docker,docker-compose,terraform,kubectl
More from plutowang/term.conf
csharp
Auto-apply when working with C# and the .NET ecosystem. Trigger this skill when the user asks to create, modify, or debug C#, ASP.NET, Blazor, Entity Framework, MAUI, or use the dotnet CLI.
27react
Auto-apply when working with React, Next.js, or Vite. Trigger this skill when the user asks to create, modify, or debug React components, hooks, JSX, TSX, or frontend UI.
1rust
Auto-apply when working with Rust. Trigger this skill when the user asks to create, modify, or debug Rust code, Cargo projects, crates, or Rust tests.
1zig
Auto-apply when working with Zig. Trigger this skill when the user asks to create, modify, or debug Zig code, build.zig scripts, or Zig tests.
1angular
Auto-apply when working with Angular. Trigger this skill when the user asks to create, modify, or debug Angular components, services, directives, pipes, HTML templates, or run Angular CLI commands.
1aws
Auto-apply when working with Amazon Web Services (AWS) or cloud infrastructure. Trigger this skill for CDK stacks, CloudFormation, Terraform, SAM, Lambda, S3, EC2, IAM, or any AWS cloud deployments.
1