brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
rust-skills-software-engineeringImplements software engineering skills for Rust programming, covering key aspects including the ownership model, async/await, Cargo package manager, and unsafe code practices. Each section provides guidance, examples, and constraints for using these features effectively.
Independent GitHub snapshot · Automated classification · Original documentation governs
name: rust-skills-software-engineering
description: Implements software engineering skills for Rust programming, covering key aspects including the ownership model, async/await, Cargo package manager, and unsafe code practices. Each section provides guidance, examples, and constraints for using these features effectively. license: MIT compatibility: opencode metadata: archetypes: implementation, reference anti_triggers: documentation, tutorial response_profile: verbosity: medium directive_strength: high abstraction_level: operational
version: "1.0.0" domain: coding triggers: rust, ownership model, async/await, cargo, unsafe code, memory safety role: implementation scope: implementation output-format: code related-skills: coding/rust/ownership-model, coding/rust/async-await, coding/rust/cargo, coding/rust/unsafe-code
Implements software engineering skills for Rust programming, covering key aspects including the ownership model, async/await, Cargo package manager, and unsafe code practices. Each section provides guidance, examples, and constraints for using these features effectively.
Cargo.toml.fn main() {
let s1 = String::from("Hello");
let s2 = s1; // Ownership is moved, s1 is no longer valid
println!("{}", s2); // This is valid
}
#[tokio::main]
async fn main() {
let response = fetch_data().await;
println!("Response: {}", response);
}
async fn fetch_data() -> String {
// Perform async operation
"data".to_string()
}
# Create a new Rust project using Cargo
cargo new my_project
# Build the project
cd my_project && cargo build
# Add dependencies in Cargo.toml
unsafe {
// Unsafe operations that bypass Rust's safety guarantees
}
| Skill | Purpose |
|---|---|
coding/rust/ownership-model | A focused skill on Rust’s ownership model |
coding/rust/async-await | A focused skill on asynchronous programming in Rust |
coding/rust/cargo | A focused skill on using Cargo for Rust package management |
coding/rust/unsafe-code | A focused skill on Rust's unsafe code practices |
Authoritative documentation links for this domain. The model follows markdown links at load time to resolve external references and inline content.