Coding
PromptBeginner5 minmarkdown
Nano Banana Pro
Agent skill for nano-banana-pro
7
- `cargo build` - Build the project
Sign in to like and favorite skills
cargo build - Build the projectcargo run - Run the applicationcargo test - Run all testscargo test <test_name> - Run a specific testcargo check - Check code without building, use this before each build since it is a lot fastersnake_case for variables, functions, and modulesPascalCase for types, structs, enums, and traitsauto/inference when clarity improvesanyhow::Result for error handling with context#[derive(Debug)] on all structs and enumsmatch over if let for complex pattern matchingconst for compile-time constants (e.g., const MOVE_STEP: f32 = 40.0)static with LazyLock for global state (e.g., CONFIG)Default trait where appropriateEnumString derive for string-to-enum conversionPathBuf over &str for file pathstokio::sync primitives for async communicationmod.rs files for organizationdebug!, info! and error! from tracing for printing and loggingcargo check as a first layer of validating your codecargo test after you are done with each task to ensure that you haven't introduced any regressions