en un clic
docs-rs-guide-reference-balance
// Structure public Rust crate docs so docs.rs reads as both a quick-start guide and an API reference
// Structure public Rust crate docs so docs.rs reads as both a quick-start guide and an API reference
{what this skill teaches agents}
Refactor Rust crates toward httprunner-style bounded-context directories with thin mod.rs facades.
Validate internal Rust module splits without accidentally treating them like feature work.
Automated workflow patterns for publishing Rust crates to crates.io from GitHub Actions, including version injection, token auth, and multi-crate dependency ordering.
Update documentation after a source-tree move without breaking repo-root command guidance
Audit repo-wide source-tree relocations while preserving root entrypoints and catching hidden path-bearing surfaces.
| name | docs-rs-guide-reference-balance |
| description | Structure public Rust crate docs so docs.rs reads as both a quick-start guide and an API reference |
| domain | documentation |
| confidence | high |
| source | observed |
Use this when a Rust crate has grown into a public library surface and docs.rs needs to help external users understand both the workflow and the individual APIs. It is especially useful when the crate exposes a mix of top-level helpers, facade modules, and intermediate data models.
httpgenerator-core, that means openapi explains ingestion, normalized explains the intermediate model, generator explains rendering, and model explains inputs/outputs.no_run or prose examples for file/network-driven flows.doc(cfg) or equivalent) so readers understand why a module may be conditional.raw, typed, normalized, generated) so docs.rs feels like one guided system instead of disconnected reference pages.NormalizedOpenApiDocument, then render one or more .http files with generate_http_files.”openapi when you need to classify a source, inspect metadata, or normalize an OpenAPI/Swagger document before generation.”resolve_base_url to combine the source document location, server URL, and optional caller override into the base URL written to generated files.”