config-loader-helper
Installation
SKILL.md
Config Loader Helper
When to Use
- Tests or local runs fail due to missing or mis-set environment variables or toggles.
Rules
- Never ask for or print real secrets.
- Use the authoritative sources listed below for env var discovery.
Authoritative Sources
setTestEnv.sh(test environment).env.sample(root),example/.env.sample,example2/cmd/app/.env.sampleconfig/*.go(feature checks viaos.Getenv)llms.txt(complete env var reference tables)
Workflow
- Enumerate required keys: inspect
setTestEnv.sh,.env.samplefiles, andconfig/*.goforos.Getenvcalls and feature checks. - Group by feature: present keys grouped by feature toggle (JWT, RDBMS, Redis, MongoDB, Email, 2FA, CORS, Firewall, etc.).
- Provide minimal local setup: recommend
source setTestEnv.shand any per-test overrides.
Key Feature Toggles
gconfig.IsRDBMS(),gconfig.IsRedis(),gconfig.IsMongo()gconfig.IsJWT(),gconfig.Is2FA(),gconfig.IsCORS(),gconfig.IsWAF()gconfig.IsEmailService(),gconfig.IsEmailVerificationService()gconfig.IsHashPass(),gconfig.IsCipher()- See
llms.txtfor the complete list.
Output
- Required keys (grouped by feature).
- Quick checklist of toggles that enable/disable features.
- Minimal commands to get tests running locally.
Examples
- "Which env vars are needed to run password-recovery tests?"
- "Why is the JWT middleware not activating?"
Related Skills
test-runner,source-search,code-navigation
Related skills
More from pilinux/gorest
file-reader
Precisely read source files or snippets and return concise, citation-backed facts needed for decisions or edits.
26code-navigation
Rapid, focused navigation to locate definitions/usages and map the impact of proposed changes.
7fix-suggester
Diagnose failures and propose minimal, test-backed fixes with verification and rollback instructions.
7build-run
Build and run the project locally to reproduce compile/runtime issues in a safe, non-production way.
7logs-repro-harness
Reduce flaky or environment-dependent failures to a minimal, reproducible script and capture the exact logs and error lines.
7ci-orchestrator
Run a CI-like pipeline locally (format, lint, vet, static-analysis, tests) and summarize per-step results with remediation guidance.
6