Skill / SKILL.md

Rust Serde

rewrite-rs/skills

Serde as the boundary where untrusted input becomes a domain type — rename_all, default, skip_serializing_if, flatten, the four enum representations, deny_unknown_fields, and try_from validation. Use when deriving Serialize or Deserialize, when choosing an enum wire representation, when a JSON or YAML shape does not match the Rust type, or when the user asks how to validate deserialized data.
2 views 29 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Serde as the boundary where untrusted input becomes a domain type — rename_all, default, skip_serializing_if, flatten, the four enum representations, deny_unknown_fields, and try_from validation. Use when deriving Serialize or Deserialize, when choosing an enum wire representation, when a JSON or YAML shape does not match the Rust type, or when the user asks how to validate deserialized data.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/rewrite-rs/skills' skill-source

Use the complete skill-source/skills/misc/rust-serde directory with your client’s skill installer.

  • skills/misc/rust-serde

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/misc/rust-serde

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
4fcd5a9972071b210dd7dde1e3e10ce5ee03a27315a1709491c3b38e1b880911
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills