Skip to content
Agentmart
Submit a tool

rust

Rust-only facts for a tenant generated with --platform rust — the Cargo workspace layout, the shared-crate rule, and the error and concurrency rules that fail…

Skill by avaropoint

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/avaropoint-rust

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Rust-only facts for a tenant generated with --platform rust — the Cargo workspace layout, the shared-crate rule, and the error and concurrency rules that fail review. Use before editing routing, handlers, or anything under weblisk-core in a Rust tenant.

Use cases: writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/rust

What's inside

Skill name
rust
Description
Rust-only facts for a tenant generated with --platform rust — the Cargo workspace layout, the shared-crate rule, and the error and concurrency rules that fail review. Use before editing routing, handlers, or anything under weblisk-core in a Rust tenant.
License
MIT
Instructions
47 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Rust

`languages/rust.md` is the specification. This skill is the facts that
fail a build or a review, plus the workspace the generator already
followed.

## Layout

**A Cargo workspace, not a crate.** The root `Cargo.toml` lists every
member. `weblisk-core` is a library crate holding all protocol types,
identity, storage traits, errors and config; `server` and each
`agents/<name>` are binary crates that depend on it.

Shared code is depended on, never copied. A protocol type defined twice
in two binary crates is two types, and they will not interoperate.

## Rules that bite

**1. Protocol types live in `weblisk-core`.** `AgentManifest`,
`TaskRequest`, `TaskResponse`, `HealthStatus` and `ErrorResponse` are
defined once, with `#[derive(Serialize, Deserialize)]`, and shared.

**2. No path literals reach routing.** Paths are `pub const
PATH_<OPERATION>` in `weblisk-core`. Each component builds its router
from one route table in one function.

**3. No `unwrap()` or `expect()` on a production path.** Every fallible
function returns `Result<T, E>`; handlers convert errors into a JSON
`ErrorResponse`. A panic in a handler takes the task with it.

**4. No `unsafe`.** Memory safety is the borrow checker's job here.

**5. Shared state is `Arc<tokio::sync::RwLock<T>>` or
`Arc<tokio::sync::Mutex<T>>`** — never a raw `std::sync::Mutex` held
across an await, which deadlocks the runtime.

**6. Bound every request body.** `http_body_util::Limited`: 1 MB for
registration and messages, 10 MB for tasks, 64 KB for channels.

## Before you say it works

```
cargo build --release && cargo clippy -- -D warnings && cargo fmt --check
weblisk server verify
```

From avaropoint/weblisk-blueprints, MIT.

More from avaropoint/weblisk-blueprints

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Sep 28, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from avaropoint

Cite this page

rust skill. Agent Mart. https://agentmart.dev/skills/avaropoint-rust (last updated 2026-10-24)