Skill / SKILL.md

Rust Api Design

rewrite-rs/skills

Design a Rust public API — trait design, generics versus dyn, sealed traits, what is exported, and which changes break semver. Use when designing or reviewing a crate public surface, when choosing between a generic parameter and a trait object, when adding a trait method or enum variant to a released crate, or when the user asks whether a change is a breaking change.
2 views 29 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Design a Rust public API — trait design, generics versus dyn, sealed traits, what is exported, and which changes break semver. Use when designing or reviewing a crate public surface, when choosing between a generic parameter and a trait object, when adding a trait method or enum variant to a released crate, or when the user asks whether a change is a breaking change.

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/rust/rust-api-design directory with your client’s skill installer.

  • skills/rust/rust-api-design

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/rust/rust-api-design

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
e334cab4d42f4a58de05d45c7f183c803666a913c0f97f2093deabeb0fb19735
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills