本文へ移動
cccskills
無料GitHub で公開

save-data-and-configuration

Validate, migrate, and atomically persist files and configuration with safe fallback and restart coverage.

インストール方法を見る

含まれるファイル(3)

  • SKILL.md1.9 KB
  • agents/openai.yaml252 B
  • references/durable-write.md489 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Persistent files and configuration are compatibility and reliability surfaces.

Reading

Treat files as untrusted input. Validate schema, bounds, enums, paths, identifiers, required fields, and cross-field rules. Define behavior for missing, empty, truncated, malformed, and future-version data.

Defaults and migration

Defaults must satisfy whitelists and cross-field constraints. Normalize legacy values before exposing them to gameplay. Back up unreadable legacy data before reset when recovery matters.

Version formats when changes are not backward-compatible. Do not silently accept impossible or dangerous configuration.

Writing

Write to a unique temporary file, flush when durability matters, and replace atomically. Clean temporary files on every failure path. Never overwrite a valid file with partial or unvalidated output.

Player-facing settings

Names, descriptions, options, validation errors, and fallback notices require en-US; update ru-RU only when explicitly requested. Culture names and saved culture values must be validated against cultures actually found at runtime.

A saved setting must restore after restart. Removed or invalid values must fall back safely without corrupting the config.

Verification commands

Build only the affected project. When verification is requested, select focused tests for persistence, reload, client settings, propagation, or restart behavior. Do not restore dependencies or run complete test suites by default. Relevant cases include missing, malformed, legacy, partial, concurrent, out-of-range, backup, normalization, and restart scenarios. Test missing, malformed, legacy, partial, concurrent, out-of-range, backup, normalization, and restart cases.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Implement actions, cooldowns, DoAfter flows, interruption, cancellation, and authoritative completion safely.

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月13日 更新

Implement privileged commands, admin UI, role checks, audit logs, and safe operational controls.

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月13日 更新

Plan, verify, implement, and deliver repository work through evidence-backed ownership and quality gates.

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月13日 更新

Implement replicated appearance data, GenericVisualizer mappings, sprite layers, overlays, and client visual systems.

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月13日 更新

atmos

無料

Modify atmos simulation, gases, fire, pressure, pipes, devices, UI, and hot paths safely.

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月13日 更新

audio

無料

Add data-driven audio with correct prediction, audience, resources, attribution, and verification.

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月13日 更新

ArcaneSS14 のスキルをすべて見る

このスキルの問題を報告する