auto-serialization

Enforce decimal precision, UTC datetimes, forward-compatible enums, and null-vs-missing handling in serialized data.

6|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/Corvalis-LLC/Crow-Stack --skill auto-serialization
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auto-serialization
Source: https://github.com/Corvalis-LLC/Crow-Stack/tree/main/skills/auto-serialization
Command: npx skills add https://github.com/Corvalis-LLC/Crow-Stack --skill auto-serialization

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Data serialization often suffers from precision loss, time-zone drift, fragile schemas, and ambiguous null vs missing semantics when data moves between services, languages, and versions.

Core Features & Use Cases

  • Enforce decimal precision for financial values by using fixed- or string-based representations.
  • Use timezone-aware datetimes (UTC) to prevent drift across systems.
  • Support forwards-compatible enums with unknown variants to avoid deserialization failures.
  • Distinguish null from missing fields to preserve explicit intent during updates.
  • Promote deterministic wire formats to ensure identical bytes across runtimes.

Quick Start

Define your serializable types following these guidelines to ensure consistent, portable payloads.

Frequently Asked Questions about auto-serialization

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent decimal precision loss during JSON serialization?

To prevent decimal precision loss during JSON serialization, use fixed- or string-based representations for financial values to preserve exact numbers across different systems and language runtimes.

Why does datetime serialization drift across microservices?

Datetime serialization drifts across microservices when timezones are not normalized. Using timezone-aware UTC datetimes ensures consistent temporal data interpretation across all distributed systems.

How do I handle unknown enum variants during deserialization?

Handle unknown enum variants during deserialization by implementing forwards-compatible enums that gracefully capture unknown values, preventing deserialization failures when schema versions differ.

What is the difference between null and missing fields in data serialization?

In data serialization, distinguishing null from missing fields preserves explicit intent. Null indicates an assigned empty value, while missing means the field was omitted entirely during payload updates.

How do I ensure deterministic wire formats for cross-system communication?

Ensure deterministic wire formats for cross-system communication by enforcing strict serialization rules that produce identical bytes across runtimes, critical for consistent API payloads and message queues.

Does this serialization approach work with serde?

This serialization approach works with serde by applying guidelines for decimal precision, UTC-aware datetimes, and explicit null handling to ensure portable, forwards-compatible payloads without breaking existing workflows.