Import Format Contract Design

Specify a user-facing exchange file — why a version field can be worse than none, rejecting a file whose parse yields nothing, stating the same-length rule that positionally-aligned arrays imply, naming the legacy values a producer must never emit, and, when the producer is someone else's published format, placing values by the key that means something instead of by position. Use when designing an import/export or backup format, when writing a parser for a published one, or when a user reports importing a file and getting nothing with no error.

maxrave-dev 864bdfd 8.5 KB Updated

File contents

maxrave-dev/kotlin-footguns/tree/main/skills/import-format-contract-design commit 864bdfd88d

Frequently asked questions

npx skillmds@latest add maxrave-dev/import-format-contract-design