config-loader-helper

- Tests or local runs fail due to missing or mis-set environment variables or toggles.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "config-loader-helper" with this command: npx skills add pilinux/gorest/pilinux-gorest-config-loader-helper

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

  • config/*.go (feature checks via os.Getenv )

  • llms.txt (complete env var reference tables)

Workflow

  • Enumerate required keys: inspect setTestEnv.sh , .env.sample files, and config/*.go for os.Getenv calls 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.sh and 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.txt for 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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

file-reader

No summary provided by upstream source.

Repository SourceNeeds Review
General

logs-repro-harness

No summary provided by upstream source.

Repository SourceNeeds Review
General

fix-suggester

No summary provided by upstream source.

Repository SourceNeeds Review
General

build-run

No summary provided by upstream source.

Repository SourceNeeds Review