rust-dev

Standardize Rust development practices for NovelSaga core and CLI codebases.

Updated Dec 10, 2025
One-click install
npx skills add https://github.com/novelsaga/NSaga --skill rust-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-dev
Source: https://github.com/novelsaga/NSaga/tree/main/.opencode/skills/rust-dev
Command: npx skills add https://github.com/novelsaga/NSaga --skill rust-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Standardizes Rust development practices for NovelSaga core and CLI codebases to ensure code quality, consistency, and faster onboarding.

Core Features & Use Cases

  • Establishes initialization patterns, including proper module setup and feature usage.
  • Documents build and test commands for core and CLI crates.
  • Defines error handling strategies and anti-pattern avoidance.
  • Guides apply to code changes in projects/core and projects/cli for consistent outcomes.

Quick Start

Read and apply these Rust development conventions whenever modifying core or CLI code in NovelSaga projects.

Frequently Asked Questions about rust-dev

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are the standard Rust initialization patterns for core and CLI codebases?

Standard Rust initialization patterns enforce explicit module setup and feature usage. Applying these conventions to core and CLI codebases ensures consistent initialization, proper module structuring, and avoids anti-patterns during project modifications.

How do I handle errors consistently in Rust CLI applications?

To handle errors consistently in Rust CLI applications, apply standardized error handling strategies. These guidelines define specific patterns for core and CLI crates, ensuring robust error management and explicit avoidance of common anti-patterns.

Where should I place tests when modifying Rust core and CLI projects?

When modifying Rust core and CLI projects, tests should be placed according to documented testing conventions. These guidelines standardize test placement and build commands for the core and CLI crates to maintain codebase consistency.

What build commands are used for Rust core and CLI crates?

Build commands for Rust core and CLI crates are documented within these development guidelines. They specify the exact build and test commands required for projects/core and projects/cli, ensuring consistent compilation and testing outcomes.

Does this Rust development convention apply to all Rust code or specific projects?

These Rust development conventions apply specifically to changes in projects/core and projects/cli. They target NovelSaga core and CLI codebases, ensuring code quality, consistent error handling, and proper initialization patterns within these designated areas.

Why should I avoid anti-patterns when setting up Rust modules?

Avoiding anti-patterns when setting up Rust modules prevents structural inconsistencies and hidden bugs. These guidelines define explicit initialization and feature usage rules to ensure your core and CLI codebase remains maintainable and standardized.