configuration
하는 일
이 스킬은 스키마로 각 값을 검사하는 이름 있는 설정 값을 저장해서, 시스템의 워커들이 같은 설정을 한 곳에서 읽도록 합니다. 검증된 공유 설정이 필요한 iii 기반 시스템 개발자를 위한 스킬입니다.
사용하는 경우
- ✓여러 워커가 하드코딩된 파일 경로 없이 같은 설정에 합의해야 할 때.
- ✓설정 값을 사용하기 전에 스키마로 검사하고 싶을 때.
- ✓폴링하지 않고 설정 변경에 워커가 반응하게 하고 싶은 경우.
스킬 링크
https://github.com/iii-hq/iii/blob/main/engine/src/workers/configuration/skills/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“청구 서비스를 위한 공유 설정 항목을 만들어 주세요. 값을 검사하는 스키마도 포함해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
각 워커는 시작할 때 설정 스키마를 한 번 등록한 뒤 값을 발행합니다. 다른 워커는 그 값을 읽고, 값이 바뀌면 연결된 트리거가 실행됩니다. 기본 저장소는 항목마다 YAML 파일 하나를 보관합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
configuration
The configuration worker is a server-side registry of named entries. Every entry has an id (e.g. iii-stream, billing-service), a human-readable name and description, a JSON Schema describing the value shape, and a JSON value validated against that schema. Workers call configuration::register once at startup to declare their schema and configuration::set to publish values; consumers call configuration::get / configuration::list to read and bind a configuration trigger to react to changes without polling.
The default fs adapter persists one YAML file per id under ./config and watches the directory for external edits, so manual edits surface as configuration:updated events. The bridge adapter delegates to a remote engine. The worker is engine-owned and may be configured at engine.workers.configuration.
A per-id TTL (off by default) cleans up entries whose last subscriber trigger has unregistered, scoped to the lifecycle of ephemeral workers that come and go without an explicit teardown step.
When to Use
- A worker needs a typed, observable configuration surface other workers can read and validate against.
- Two workers need to agree on the same configuration values without one polling the other or hardcoding a path on disk.
- An operator should be able to edit a single YAML file (or the remote control plane) and have the change propagate to every subscriber without a worker restart.
- A worker comes and goes (sandboxes, ephemeral consumers) and its configuration should be cleaned up automatically when no one is left subscribing.
Boundaries
- Not a general-purpose key/value store — every entry must have a registered JSON Schema. Use the standalone
stateworker for free-form values. - No partial-update surface;
setalways replaces the whole value. Build the new value client-side and ship it in one call. - The
bridgeadapter cannot delete entries on the remote engine; cleanup over the bridge happens via TTL or directly on the source engine. - Over the
bridgeadapter,configuration::ensureis decided by the remote engine (the original candidate is forwarded there), so it requires a remote engine that exposesconfiguration::ensure; against an older remote it fails closed withADAPTER_ERRORrather than falling back to an unsaferegister. - Schemas are not version-checked across re-registrations — re-registering with an incompatible schema simply replaces it. Coordinate schema migrations out-of-band.
Migration and runtime overrides
Compose defaults to <namespace>-<container-key> without a hash (for example,
default-harness). Invalid or over-64-character generated names require explicit config_name.
Compose migrates only the exact previous namespace/key hash before starting a stopped worker.
After hashed migration, only the default namespace adopts the exact bare container key,
unless another container explicitly owns it. The bare source wins over an existing destination;
configuration::migrate is the single operation, delegated through bridges to the authority.
It returns { action, entry } with migrated, preserved (existing destination with absent
source, or matching IDs with an existing entry), or missing (both source and destination absent).
Before migration, Compose and every bridge hop query the read-only
configuration::migration-capabilities and require source_priority_archive_revision: 1.
Unknown or unavailable capabilities fail closed before invoking migration; upgrade the authority.
It replaces the destination with the raw source entry, then archives the original source as
<source>.yaml.bak. The previous destination is not backed up. .yaml.bak, .bak.yaml, and
.bkup.yaml files are ignored during loading, watching and legacy directory migration.
An existing identical backup permits cleanup recovery; a conflicting backup is never overwritten.
Missing source is a no-write no-op. Unsupported adapters fail closed.
Stop source consumers before migrating; do not share an fs directory between engine processes.
config_override is delivered through the existing service API. Compose reads the
current configuration with configuration::get (raw: true), merges defaults and
overrides, then calls configuration::set with flush: false before starting the
worker. No snapshot file is delivered. III_CONFIG_NAME identifies the entry.
Memory-only updates never write persistent config/<id>.yaml, and no delayed flush
is sched
자주 묻는 질문
값은 어디에 저장되나요?
기본적으로 각 항목은 설정 폴더의 YAML 파일 하나로 저장되며, 직접 편집할 수도 있습니다.
재시작 없이 변경을 알 수 있나요?
예. 항목이 업데이트되면 트리거가 실행되므로, 워커는 폴링하지 않고 반응할 수 있습니다.
오래된 항목을 정리하나요?
선택 사항인 TTL(유효 기간) 설정을 켠 경우에만 구독자가 없는 항목을 제거합니다.
상세 정보
작성자의 원본 설명
Schema-validated, reactive registry for named configuration entries — the runtime configuration surface used by engine and Compose workers.
repo: iii-hq/iii
인기도
- GitHub 스타
- 19k
- 순위
- #10486
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
iii-sandbox
19k에이전트가 신뢰할 수 없거나 AI가 만든 코드를 임시 격리 가상 머신 안에서 안전하게 실행하고, 끝나면 버리도록 돕습니다.
iii
19k에이전트가 iii 워커의 작동 방식을 익혀, 먼저 이미 있는 기능을 확인한 뒤 워커를 만들어 기능을 추가하도록 가르칩니다.
iii-observability
19k에이전트가 iii 엔진에 추적, 구조화된 로그, 지표, 알림을 추가하도록 돕습니다. OpenTelemetry를 써서 시스템에서 무슨 일이 일어나는지 볼 수 있습니다.
iii-stream
19k이 워커는 지원 중단되었으며 곧 제거될 예정이니, 실시간 데이터 피드를 쓰고 있다면 옮길 계획을 세우세요.
비슷한 스킬
api-connector-builder
280k에이전트가 기존 패턴을 따라 새로운 API 연결을 만들도록 합니다. 새로운 방식을 도입하지 않고 연동을 하나 더 추가할 때 씁니다.
api-design
280k에이전트가 모범 사례에 따라 REST API를 설계하도록 돕습니다. API가 통신하는 방식, 오류를 보여 주는 방식, 데이터를 정리하는 방식을 정하는 데 유용합니다.
backend-patterns
280k에이전트가 서버 쪽 아키텍처 패턴과 데이터베이스 최적화를 다루도록 돕습니다. 서버에서 실행되는 코드를 만들거나 검토할 때 유용합니다.