with one click
rust-module-restructure-validation
// Validate internal Rust module splits without accidentally treating them like feature work.
// Validate internal Rust module splits without accidentally treating them like feature work.
{what this skill teaches agents}
Structure public Rust crate docs so docs.rs reads as both a quick-start guide and an API reference
Refactor Rust crates toward httprunner-style bounded-context directories with thin mod.rs facades.
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 | rust-module-restructure-validation |
| description | Validate internal Rust module splits without accidentally treating them like feature work. |
| domain | testing |
| confidence | high |
| source | observed |
Use this when httpgenerator or httpgenerator-core is being reorganized into deeper folders or mod.rs facades while the product behavior is supposed to stay unchanged. The main risk is not new business logic; it is breaking public re-exports, CLI contracts, oracle parity wiring, or smoke-test assumptions.
httpgenerator), and the public facades in:
src\rust\core\src\lib.rssrc\rust\core\src\openapi\mod.rssrc\rust\cli\src\lib.rspub use paths stable unless the change is intentionally breaking.cargo test --workspacedotnet build src\dotnet\HttpGenerator.slnx --configuration Releasedotnet test src\dotnet\HttpGenerator.slnx --configuration Releasetest\smoke-tests.ps1mod.rs.help_contract.rs focused on public CLI text and stream behavior, not internal structure.src\rust\cli\tests\differential_petstore.rs catches Rust/.NET output drift across representative scenarios.test\smoke-tests.ps1 catches release-binary regressions across the broader local fixture matrix plus CLI output/stream expectations..NET oracle project at src\dotnet\HttpGenerator\HttpGenerator.csproj.target\release\httpgenerator(.exe) into test\bin\.help_contract.rs locks help/version text, plain redirected output, stderr warning routing, and OpenAPI 3.1 guidance.