🎯

busirocket-rust

🎯Skill

from busirocket/agents-skills

VibeIndex|
What it does

Enforces strict Rust coding standards, ensuring maintainable codebases with modular, clean, and separated concerns.

πŸ“¦

Part of

busirocket/agents-skills(15 items)

busirocket-rust

Installation

Quick InstallInstall with npx
npx skills add BusiRocket/agents-skills
Quick InstallInstall with npx
npx add-skill BusiRocket/agents-skills
Quick InstallInstall with npx
npx skills add
πŸ“– Extracted from docs: busirocket/agents-skills
16Installs
-
AddedFeb 4, 2026

Skill Details

SKILL.md

Overview

# Rust Standards

Strict, reusable standards for Rust codebases (libraries, CLIs, or backend

services).

When to Use

Use this skill when:

  • Writing or refactoring Rust code
  • Structuring modules (services, utils, models)
  • Separating SQL queries or LLM prompts from Rust code
  • Enforcing one-thing-per-file discipline

Non-Negotiables (MUST)

  • One public symbol per file (function / type / trait).
  • No inline SQL strings in .rs files; use dedicated SQL files with

include_str!() (e.g. sql//Xxx.sql).

  • No inline LLM/AI prompts in .rs files; use dedicated prompt files with

include_str!() (e.g. prompts//Xxx.prompt).

  • Handlers (HTTP, commands, etc.) must be thin: validate, call service, return.

Module Layout

  • src/services/: external boundaries (IO, DB, network).
  • src/utils/: pure logic (no IO).
  • src/models/: domain types (one type per file).
  • No "misc" modules like helpers.rs or common.rs.

Rules

Language & Style

  • rust-language-style - Language & style (English-only, struct/enum, error

types)

One Thing Per File

  • rust-one-thing-per-file - One thing per file (STRICT)
  • rust-module-manifests - Module manifests exception (mod.rs)

Module Layout

  • rust-module-layout - Module layout (STRICT) - services, utils, models

SQL Separation

  • rust-sql-separation - SQL separation (STRICT) - no inline SQL

Prompt Separation

  • rust-prompt-separation - Prompt separation (STRICT) - no inline prompts

Boundaries

  • rust-boundaries - Boundaries (thin handlers, validate, call service, return)

Validation

  • rust-validation - Validation (run checks after changes)

Related Skills

  • busirocket-core-conventions - General file structure principles
  • busirocket-tauri - Tauri-specific layout and commands (when building desktop

apps)

How to Use

Read individual rule files for detailed explanations and code examples:

```

rules/rust-one-thing-per-file.md

rules/rust-sql-separation.md

rules/rust-module-layout.md

```

Each rule file contains:

  • Brief explanation of why it matters
  • Code examples (correct and incorrect patterns)
  • Additional context and best practices

More from this repository10

🎯
busirocket-tailwindcss-v4🎯Skill

busirocket-tailwindcss-v4 skill from busirocket/agents-skills

🎯
busirocket-refactor-workflow🎯Skill

Enforces strict TypeScript/React refactoring workflow with quality gates, file splitting rules, and mandatory post-refactor checks.

🎯
busirocket-typescript-standards🎯Skill

Enforces strict TypeScript standards for maintainable codebases, focusing on one-thing-per-file, type conventions, and Next.js export exceptions.

🎯
busirocket-supabase🎯Skill

Enforces strict Supabase access boundaries by centralizing database interactions in a dedicated service layer, preventing direct external calls.

🎯
busirocket-react🎯Skill

Applies React best practices with Zustand state management, enforcing component structure, hook extraction, and efficient state handling across React applications.

🎯
busirocket-tauri🎯Skill

Enforces Tauri desktop app standards by guiding command creation, invoke handler configuration, and Rust project layout.

🎯
busirocket-nextjs🎯Skill

Generates standardized, thin Next.js route handlers with input validation, proper HTTP status codes, and consistent JSON response patterns.

🎯
busirocket-rust-tauri-standards🎯Skill

busirocket-rust-tauri-standards skill from busirocket/agents-skills

🎯
busirocket-react-components-and-hooks🎯Skill

busirocket-react-components-and-hooks skill from busirocket/agents-skills

🎯
busirocket-supabase-boundaries🎯Skill

busirocket-supabase-boundaries skill from busirocket/agents-skills