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

跳到安装

来源信息

仓库
neohaskell/skills
最近来源活动
2026年7月1日 14:49
检测到的 SKILL.md 语言
英语
星标
0
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。