Skip to content
cccskills
FreePublished on GitHub

save-data-and-configuration

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

The English summary is being prepared. Showing the original description.

See how to install

Files included (3)

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

SKILL.md (original)

Review the instructions the agent will receive before you install.

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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

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

The English summary is being prepared. Showing the original description.

ArcaneSS14/arcane-new5Updated Oct 19, 2026

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

The English summary is being prepared. Showing the original description.

ArcaneSS14/arcane-new5Updated Oct 19, 2026

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

The English summary is being prepared. Showing the original description.

ArcaneSS14/arcane-new5Updated Oct 19, 2026

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

The English summary is being prepared. Showing the original description.

ArcaneSS14/arcane-new5Updated Oct 19, 2026

atmos

Free

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

The English summary is being prepared. Showing the original description.

ArcaneSS14/arcane-new5Updated Oct 19, 2026

audio

Free

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

The English summary is being prepared. Showing the original description.

ArcaneSS14/arcane-new5Updated Oct 19, 2026

See all skills by ArcaneSS14

Report a problem with this skill