config
/config
Reference for the fuku.yaml schema — every key with its default and validation rule, the environment flags and the override merge. Use when editing fuku.yaml, adding a service, a readiness probe or the API server, or explaining a config field.
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 1
No signals detected. Repository changed on 10.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Reference for the fuku.yaml schema — every key with its default and validation rule, the environment flags and the override merge. Use when editing fuku.yaml, adding a service, a readiness probe or the API server, or explaining a config field.
Original author description
Reference for the fuku.yaml schema — every key with its default and validation rule, the environment flags and the override merge. Use when editing fuku.yaml, adding a service, a readiness probe or the API server, or explaining a config field.
How it works
- Structure
- services
- defaults
- profiles
- exclude
- logging
- concurrency
- retry
- logs
- server
SKILL.md preview
---
name: config
description: Reference for the fuku.yaml schema — every key with its default and validation rule, the environment flags and the override merge. Use when editing fuku.yaml, adding a service, a readiness probe or the API server, or explaining a config field.
---
# fuku.yaml reference
The schema is `internal/adapters/config/config.go`. Defaults live in `constants.go` and `project.go`. Rules live in `validate.go`.
`fuku.yaml`, then `fuku.yml`, in the working directory is read. `--config <path>` reads that file instead.
Unknown keys are ignored, so `x-*` keys can hold YAML anchors.
## Structure
```yaml
version: 1
services:
service-name:
dir: path/to/service # default: the service name
command: go run cmd/main.go # default: make run
tier: foundation # default: defaults.tier, else "default"
readiness:
type: http # http | tcp | log
url: http://localhost:8080/health # http: required
address: localhost:5432 # tcp: required
pattern: "listening on" # log: required, a regexp
timeout: 30s # default: 30s
interval: 500ms # default: 500ms
logs:
output: [stdout, stderr] # default: both
watch:
include: ["**/*.go"] # required when watch is set
ignore: ["**/*_test.go"] # default: none
shared: ["pkg/common"] # default: none
debounce: 500ms # default: 500ms
env:
files: [.env, .env.local] # default: .env, .env.local, .env.development, .env.development.local
defaults:
tier: default # tier of a service that sets none
profiles:
default: "*" # default: "*"
backend: [service1, service2]
exclude: [heavy-worker] # default: none
logging:
format: console # console | json, default: console
level: info # debug | info | warn | error, default: info
concurrency:
workers: 5 # default: 5
retry:
attempts: 3 # default: 3
backoff: 500ms # default: 500ms
logs:
buffer: 1000 # default: 1000
history: 5000 # default: 5000
server:
listen: "127.0.0.1:3858" # default: 127.0.0.1:3858; "" or none turns the API off
auth:
token: "my-dev-token" # optional; when set, the API requires the bearer
```
## `services`
- `dir` is the working directory of the child. Defaults to the service name.
- `command` runs through `sh -c`. Defaults to `make run`. A command of only whitespace is invalid.
- `tier` is the startup bucket. Names are trimmed and lowercased. Tier order is the first appearance in the file.
A service without a tier gets `defaults.tier` when it is set, else it runs last in `default`. An unknown tier falls back to `default`.
- the child inherits fuku's environment. That includes what fuku loaded from its own env files. See [Environment files](#environment-files).
- fuku exports nothing per service.
### `readiness`
- `type` is required: `http`, `tcp` or `log`. Any other value is invalid.
- `http` requires `url`. `tcp` requires `address`. `log` requires `pattern`, a Go regexp matched against stdout and stderr.
- `timeout` and `interval` default to 30s and 500ms when unset.
### `logs`
- `output` lists the streams to capture. Each entry is `stdout` or `stderr`, case-insensitive. Default: both.
### `watch`
- `include` is required when `watch` is set. Globs relative to `dir`.
- `ignore` lists globs to skip.
- `shared` lists directories outside `dir` that also restart the service. Relative to fuku's working directory.
- `debounce` is the quiet window after a change. Default 500ms.
### `env`
- `files` lists `.env` files relative to `dir`. They feed the TUI env tab only. Nothing reaches the child.
- absent: the four defaults. An explicit `[]` loads nothing. A path that leaves `dir` is an error.
## `defaults`
- `tier` fills a service without one. Normalized like a service tier.
## `profiles`
- `"*"` is every service. A list names services. Every name must exist in `services`. Any other value is invalid.
- `default` is seeded with `"*"`. It runs when the command names no profile.
## `exclude`
- names dropped at profile resolution. Trimmed and deduplicated. An unknown name is ignored.
A profile may still list an excluded service.
## `logging`
- `level` must be `debug`, `info`, `warn` or `error`, in lowercase. Any other value is invalid.
- `format` is `console` or `json`. Not validated.
## `concurrency`
- `workers` must be positive. Services in one tier start up to `workers` at once.
## `retry`
- `attempts` must be positive. `backoff` must not be negative.
## `logs`
- `buffer` (per-client queue) and `history` (replay) must be positive.
## `server`
- the REST API is on by default at `127.0.0.1:3858`. A missing or null `listen` keeps the default.
- `listen: ""` or `listen: none` turns it off. `none` is lowercase only. An override's `""` turns it off too. An override's `null` deletes the key, so the default returns.
- any other `listen` must be `host:port` with a loopback host (`127.0.0.1`, `::1`, `localhost`, `ip6-localhost` or any loopback IP) and a port in 1–65535. It is validated even when `FUKU_API_DISABLED=1`.
- `auth.token` is optional. When set, every route except `/api/v1/live` and `/api/v1/ready` requires `Authorization: Bearer <token>`.
- the API answers `403` to a non-loopback `Host` or any `Origin` header, probes included.
## Environment flags
- `FUKU_API_DISABLED=1` turns the REST API off.
- `FUKU_UPDATER_DISABLED=1` turns the update check off.
- `FUKU_TELEMETRY_DISABLED=1` turns telemetry off.
## Environment files
Fuku loads `.env.<GO_ENV>.local`, `.env.<GO_ENV>` and `.env` from its working directory into its own environment.
- the first file to set a variable wins. A variable set before fuku starts wins over every file.
- `GO_ENV` must be set before fuku starts. Fuku reads it before any file, so a `GO_ENV` in `.env` does not select `.env.<GO_ENV>`.
- every child inherits these variables. A service's `env.files` are separate. They never reach the child.
## Override
`fuku.override.yaml`, or `.yml`, beside `fuku.yaml` merges on top. `--config` skips the merge.
The loader still stats the override file under `--config`. A stat error other than not-found, such as a permission error, fails the load.
- mappings merge by key. A scalar or a mismatched kind is replaced by the override.
- sequences are concatenated, override items after base.
- `null` deletes the key. Base anchors and `<<` merge keys resolve inside the override.
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · tab/fuku | 100 | MIT |
| kubb-labs/kubb | 100 | MIT |
| colonyops/hive | 100 | MIT |
| soneta/soneta-erp-skills | 100 | MIT |
| vinnie357/claude-skills | 100 | MIT |
| florianbuetow/claude-code | 100 | MIT |
| patforna/auto-task | 100 | MIT |
| mariozzj/cc-notify-hooks | 96 | MIT |
| finom/vovk | 95 | MIT |
Database snapshot: 13.11.2026 · package version 4038e120f4b8 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90fuku-config
Create or change fuku config: add or edit a service, change a service command or port, add a profile, make a local-only change or store a secret in fuku.yaml or fuku.override.yaml, apply a config change that was already made, or run an experiment with a temporary config change… - 90fuku
Run, inspect, debug and stop local development services with fuku. Use when a local workflow involves fuku.yaml or fuku.yml, including changing shared or local-only config, running a profile, reading service logs, checking service state, testing a change or starting, stopping or… - 100change-config-field
Add, change, rename or remove a field of the statica YAML configuration, with its default, its validation, its tests and its entry in the configuration reference that a Go test keeps in sync with the code. Use when a task adds an option to config.yaml or touches internal/config. - 100add-config-option
Use when a ticket adds or changes a configuration option — an environment variable, a settings key, a CLI flag, a YAML field — that operators set, and it must have one source of truth, a validated default, precedence rules, and documentation that cannot drift. Invoke for "make X… - 100configurator-schema
Config.yml schema, entity structure, and validation rules. Use whenever writing, reading, or validating any part of config.yml, or when asking about YAML format, required fields, entity identification, or config validation errors. Do NOT use for general YAML questions unrelated… - 100add-config-key
How to add a new key to KavoSettings — schema, default, merge semantics, validation, and docs — through the one layered precedence chain (global → entity → operation → per-call). Use when a change needs a new configurable behavior rather than a hardcoded constant.