Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Rust project architecture v1.0.0

Use this resource to structure a Rust project: command-line tool, web service or library

New

  • 410 downloads
  • 240 likes
  • 228 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install rust-project-architecture

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent sets up a Rust project layout, as a workspace when needed, with thiserror for libraries, anyhow for applications and Tokio for async code. You get CLI or web service skeletons ready to complete.

Mostly picked by

Updated November 2, 2026

Card for the “Rust project architecture” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: principles and step-by-step start
  • reference/architecture.md and patterns.md: structure and patterns
  • templates/cli/ and templates/web-service/: Cargo skeletons

Good fit for

  • You are building a command-line tool in Rust
  • You are launching a web service split into several crates

Not for

    Tags

    • rust
    • cargo
    • workspace
    • architecture

    About

    You say

    “Structure a Rust web service as a workspace, with its database.”

    Card for the “Rust project architecture” skill

    Skill published by majiayu000 under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to structure a Rust project: command-line tool, web service or library
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • reference/architecture.md10.8 KB
    • reference/extended.md1.6 KB
    • reference/patterns.md14.2 KB
    • reference/tech-stack.md10.9 KB
    • SKILL.md12.2 KB
    • templates/cli/Cargo.toml0.4 KB
    • templates/cli/src/commands/mod.rs1.3 KB
    • templates/cli/src/commands/process.rs1.6 KB
    • templates/cli/src/error.rs0.3 KB
    • templates/cli/src/main.rs0.9 KB
    • templates/web-service/.env.example0.2 KB
    • templates/web-service/Cargo.toml0.9 KB
    • templates/web-service/config/default.toml0.2 KB
    • templates/web-service/Makefile1.5 KB
    • templates/web-service/migrations/001_init.sql0.3 KB
    • templates/web-service/src/config.rs1.1 KB
    • templates/web-service/src/db.rs0.4 KB
    • templates/web-service/src/error.rs2.4 KB
    • templates/web-service/src/handlers/health.rs0.1 KB
    • templates/web-service/src/handlers/mod.rs0 KB
    • templates/web-service/src/handlers/user.rs1.2 KB
    • templates/web-service/src/lib.rs0.4 KB
    • templates/web-service/src/main.rs1 KB
    • templates/web-service/src/models/mod.rs0 KB
    • templates/web-service/src/models/user.rs0.5 KB
    • templates/web-service/src/router.rs0.8 KB
    • templates/web-service/src/services/mod.rs0 KB
    • templates/web-service/src/services/user.rs2.2 KB

    Origin and licence

    Listed unmodified

    Author
    majiayu000
    Source
    github.com/majiayu000/spellbook/tree/640a1ddb9e397bc42d98a3be56db93af37c959c0/skills/rust-project
    Licence
    MIT

    Notice

    « rust-project » (majiayu000, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.