Skip to main content

neo-config-and-secrets

Use when adding CONFIGURATION fields or SECRETS to a NeoHaskell project: declaring a field in Config.hs with the defineConfig TH DSL, wiring it via Application.withConfig, reading it with Config.get in an integration or factory, or setting up .env / .env.example / .gitignore. Also use to pass an API token, port, or tuneable WITHOUT hand-rolling getArgs or lookupEnv, or when reviewing Config.hs for leaked secrets, String fields, missing Config.doc, or a defaultsTo+required conflict. Covers Config.field/doc/defaultsTo/required/envVar/cliLong/cliShort/secret, Application.withConfig, the factory-lambda wiring, and Config.get. Do NOT use to implement the integration that CONSUMES the value (implement-integration), to verify it loads on a running app (neo-run-and-inspect), for general JSON serialization (neohaskell-records-and- json), for effect/error handling of external calls (neohaskell-effects-and-errors), or for where the Config module lives (neohaskell-module-layout).

Zur Installation springen

Quellinformationen

Repository
neohaskell/skills
Letzte Quellaktivität
1. Juli 2026 um 14:49
Erkannte Sprache von SKILL.md
Englisch
Sterne
0
Forks
0

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.