[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79EXAR2FQ5CPF8ME4TXBK3S":3,"skill-same:01M79EXAR2FQ5CPF8ME4TXBK3S":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M79EXAR2FQ5CPF8ME4TXBK3S","raspberry-pi-rust-embedded",null,"Production-grade embedded Rust guidelines for Raspberry Pi (bare-metal no_std and Linux embedded std\u002Frppal\u002Fembedded-hal). Use when developing low-latency hardware control apps, embedded Rust drivers, Linux GPIO\u002FSPI\u002FI2C\u002FUART software, real-time interrupt handlers, and memory-safe hardware abstractions.","hamzabellouch\u002Fagent-skills","hamzabellouch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F237856042?v=4","01M79BRYW7XAMK3YDWQEMTWGWS","Hamza Bellouch","01M79BRYWXQV3JK2TGVTX8GN2A",8,"MIT","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FProgramming\u002FSystems_and_Hardware\u002FEmbedded_and_IoT\u002Fraspberry-pi-rust-embedded\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: raspberry-pi-rust-embedded\ndescription: Production-grade embedded Rust guidelines for Raspberry Pi (bare-metal no_std and Linux embedded std\u002Frppal\u002Fembedded-hal). Use when developing low-latency hardware control apps, embedded Rust drivers, Linux GPIO\u002FSPI\u002FI2C\u002FUART software, real-time interrupt handlers, and memory-safe hardware abstractions.\n---\n\n# Raspberry Pi Embedded Rust Production Guidelines\n\nThis skill provides software engineering standards, memory management rules, hardware interrupt safety guidelines, and production code architectures for Raspberry Pi embedded applications using Rust (both Embedded Linux `std` with `rppal`\u002F`embedded-hal` and bare-metal `no_std`).\n\n---\n\n## 1. Architecture & Driver Abstraction\n\n### 1.1 Execution Environments: Embedded Linux vs. Bare-Metal\n\n| Aspect | Embedded Linux (`std`) | Bare-Metal (`no_std`) |\n|---|---|---|\n| **OS \u002F Kernel** | Linux (Raspberry Pi OS \u002F Yocto \u002F Buildroot) | Direct hardware execution (no OS) |\n| **Hardware Access** | `\u002Fdev\u002Fgpiomem`, `\u002Fdev\u002Fspidev`, `\u002Fdev\u002Fi2c-*`, `sysfs` | Memory-Mapped I\u002FO (MMIO) Registers |\n| **Real-Time Determinism** | Soft Real-Time (PREEMPT_RT kernel optional) | Hard Real-Time |\n| **Ecosystem Libraries** | `rppal`, `tokio`, `embedded-hal`, `nix` | `cortex-a`, `bare-metal`, `heapless` |\n\n### 1.2 The `embedded-hal` Paradigm\nAlways write reusable hardware drivers against the generic `embedded-hal` traits rather than hardcoding platform-specific APIs:\n\n```\n+-------------------------------------------------------------+\n|                Generic Hardware Driver                      |\n| (e.g., BME280 Sensor Driver using embedded_hal::i2c::I2c)   |\n+-------------------------------------------------------------+\n                              |\n                              v\n+-------------------------------------------------------------+\n|              Platform HAL Abstraction Layer                 |\n|    Linux: rppal::i2c::I2c  |  Microcontroller: esp32c3_hal |\n+-------------------------------------------------------------+\n```\n\n---\n\n## 2. Real-Time Memory Management & Safety\n\n### 2.1 Memory Guarantees in `no_std` & Embedded Rust\n- **No Implicit Allocation**: In `no_std` environments, heap allocations (`alloc::vec::Vec`, `alloc::string::String`) are disabled by default.\n- **Static Lock-Free Queues**: Use `heapless::spsc::Queue` for deterministic Single-Producer Single-Consumer communication between hardware interrupt handlers and processing loops.\n- **Stack Budget Guardrails**: Large arrays must not be created on the stack inside recursive functions or deep call chains to prevent kernel stack overflow. Use static buffers wrapped in `static_cell::StaticCell` or `Option\u003CT>` statics.\n\n### 2.2 Panic Strategy & Binary Optimization\nIn production embedded Rust, panic handlers must be explicitly configured to avoid binary bloat and undefined hardware states:\n\n```toml\n[profile.release]\nopt-level = \"s\"      # Optimize for binary size\nlto = true           # Link-Time Optimization\ncodegen-units = 1    # Maximum optimization\npanic = \"abort\"      # Strip unwinding landing pads\n```\n\n---\n\n## 3. Hardware Interrupt Safety & Concurrency\n\n### 3.1 Linux GPIO Interrupt Handling (`rppal`)\nOn Raspberry Pi running Linux, GPIO interrupts are delivered asynchronously via epoll\u002Fsysfs threads.\n- Never block the main execution thread inside a interrupt callback.\n- Communicate interrupt events to worker threads using bounded MPSC\u002FSPSC queues (`crossbeam_channel` or `heapless::spsc::Queue`) or `std::sync::atomic` primitives.\n\n### 3.2 Atomicity & Memory Ordering\nWhen sharing flags between GPIO interrupt callbacks and background threads:\n- Use `AtomicBool`, `AtomicU32`, or `AtomicUsize`.\n- Apply strict memory orderings (`Ordering::Acquire`, `Ordering::Release`, `Ordering::Relaxed`).\n\n```rust\nuse std::sync::atomic::{AtomicBool, Ordering};\n\nstatic SHUTDOWN_SIGNAL: AtomicBool = AtomicBool::new(false);\n\n\u002F\u002F Interrupt callback\nfn on_button_press() {\n    SHUTDOWN_SIGNAL.store(true, Ordering::Release);\n}\n```\n\n---\n\n## 4. Anti-Patterns & Safety Violations\n\n| Anti-Pattern | Risk \u002F Impact | Rust Idiomatic Fix |\n|---|---|---|\n| `unwrap()` \u002F `expect()` in production hardware loops | System crash\u002Fpanic on I2C noise or transient I\u002FO read errors | Return `Result\u003CT, DriverError>` and handle explicitly |\n| Direct `unsafe` raw MMIO pointer casting without safety invariants | Memory corruption, undefined behavior | Use safe register abstractions (`svd2rust` or `volatile_register`) |\n| Unprotected shared access to SPI\u002FI2C bus across threads | Data corruption, bus locks | Use `embedded-hal-bus` or `std::sync::Mutex` |\n| Busy-wait polling loop (`while pin.is_high() {}`) | 100% CPU core consumption | Use async interrupts (`poll_interrupt()`) or timed sleep |\n| Dropping hardware pins without safe pin state reset | Floating outputs driving actuators unexpectedly | Implement `Drop` trait on device structs to set pins to safe low state |\n\n---\n\n## 5. Production Code Example\n\nBelow is a complete, production-grade embedded Rust application for Raspberry Pi using `rppal`. It demonstrates GPIO interrupt handling, thread-safe lock-free SPSC queues, atomic state flags, POSIX signal handling for graceful shutdown, and robust error handling without `unwrap()`.\n\n`Cargo.toml` dependencies:\n```toml\n[dependencies]\nrppal = \"0.14\"\nthiserror = \"1.0\"\nsignal-hook = \"0.3\"\ncrossbeam-channel = \"0.5\"\n```\n\n`src\u002Fmain.rs`:\n```rust\nuse rppal::gpio::{Gpio, InputPin, Level, OutputPin, Trigger};\nuse std::sync::atomic::{AtomicBool, AtomicU64, Ordering};\nuse std::sync::Arc;\nuse std::thread;\nuse std::time::{Duration, Instant};\nuse thiserror::Error;\n\n\u002F\u002F Custom Hardware Error Types\n#[derive(Error, Debug)]\npub enum HardwareError {\n    #[error(\"GPIO Initialization failed: {0}\")]\n    GpioInit(#[from] rppal::gpio::Error),\n    #[error(\"Channel communication error\")]\n    ChannelError,\n    #[error(\"System timeout during operation\")]\n    Timeout,\n}\n\n\u002F\u002F Global Atomic Metrics\nstatic INTERRUPT_COUNT: AtomicU64 = AtomicU64::new(0);\n\n\u002F\u002F Hardware Controller Abstraction\npub struct HardwareController {\n    _status_led: OutputPin,\n    input_sensor: InputPin,\n    running: Arc\u003CAtomicBool>,\n}\n\nimpl HardwareController {\n    pub fn new(led_pin_num: u8, sensor_pin_num: u8, running: Arc\u003CAtomicBool>) -> Result\u003CSelf, HardwareError> {\n        let gpio = Gpio::new()?;\n        \n        let mut status_led = gpio.get(led_pin_num)?.into_output();\n        let input_sensor = gpio.get(sensor_pin_num)?.into_input_pullup();\n        \n        \u002F\u002F Initial safe hardware state\n        status_led.set_low();\n\n        Ok(Self {\n            _status_led: status_led,\n            input_sensor,\n            running,\n        })\n    }\n\n    pub fn start_interrupt_monitoring(&mut self) -> Result\u003Ccrossbeam_channel::Receiver\u003CInstant>, HardwareError> {\n        let (sender, receiver) = crossbeam_channel::bounded::\u003CInstant>(64);\n        \n        \u002F\u002F Configure Falling Edge Interrupt Callback\n        self.input_sensor.set_async_interrupt(\n            Trigger::FallingEdge,\n            move |level| {\n                if level == Level::Low {\n                    INTERRUPT_COUNT.fetch_add(1, Ordering::Relaxed);\n                    let now = Instant::now();\n                    \u002F\u002F Non-blocking try_send to avoid stalling interrupt thread\n                    let _ = sender.try_send(now);\n                }\n            },\n        )?;\n\n        Ok(receiver)\n    }\n}\n\n\u002F\u002F Ensure hardware drops into safe state on application exit\nimpl Drop for HardwareController {\n    fn drop(&mut self) {\n        let _ = self.input_sensor.clear_async_interrupt();\n        println!(\"[HARDWARE] Hardware controller safely disarmed.\");\n    }\n}\n\nfn main() -> Result\u003C(), HardwareError> {\n    println!(\"[INIT] Starting Raspberry Pi Production Embedded Driver...\");\n\n    \u002F\u002F 1. Setup Signal Hook for Graceful POSIX Shutdown (SIGINT \u002F SIGTERM)\n    let running = Arc::new(AtomicBool::new(true));\n    let r = running.clone();\n\n    signal_hook::flag::register(signal_hook::consts::SIGINT, r.clone())\n        .map_err(|_| HardwareError::Timeout)?;\n    signal_hook::flag::register(signal_hook::consts::SIGTERM, r.clone())\n        .map_err(|_| HardwareError::Timeout)?;\n\n    \u002F\u002F 2. Initialize Hardware Pins (LED = Pin 17, Sensor = Pin 27)\n    let mut hw = HardwareController::new(17, 27, running.clone())?;\n    let event_receiver = hw.start_interrupt_monitoring()?;\n\n    println!(\"[READY] Hardware initialized. Monitoring interrupts...\");\n\n    \u002F\u002F 3. Main Event Loop\n    let mut last_log_time = Instant::now();\n\n    while running.load(Ordering::Acquire) {\n        \u002F\u002F Receive telemetry events with non-blocking timeout\n        match event_receiver.recv_timeout(Duration::from_millis(100)) {\n            Ok(timestamp) => {\n                println!(\n                    \"[EVENT] Hardware pulse detected at {:?}! Total pulses: {}\",\n                    timestamp,\n                    INTERRUPT_COUNT.load(Ordering::Relaxed)\n                );\n            }\n            Err(crossbeam_channel::RecvTimeoutError::Timeout) => {\n                \u002F\u002F Heartbeat interval\n                if last_log_time.elapsed() >= Duration::from_secs(5) {\n                    println!(\n                        \"[HEARTBEAT] System operational. Interrupt count: {}\",\n                        INTERRUPT_COUNT.load(Ordering::Relaxed)\n                    );\n                    last_log_time = Instant::now();\n                }\n            }\n            Err(crossbeam_channel::RecvTimeoutError::Disconnected) => {\n                eprintln!(\"[ERROR] Event channel disconnected unexpectedly.\");\n                break;\n            }\n        }\n    }\n\n    println!(\"[SHUTDOWN] Terminating hardware loops cleanly...\");\n    thread::sleep(Duration::from_millis(200));\n    Ok(())\n}\n```\n","# Raspberry Pi Embedded Rust Production Guidelines\n\nThis skill provides software engineering standards, memory management rules, hardware interrupt safety guidelines, and production code architectures for Raspberry Pi embedded applications using Rust (both Embedded Linux `std` with `rppal`\u002F`embedded-hal` and bare-metal `no_std`).\n\n---\n\n## 1. Architecture & Driver Abstraction\n\n### 1.1 Execution Environments: Embedded Linux vs. Bare-Metal\n\n| Aspect | Embedded Linux (`std`) | Bare-Metal (`no_std`) |\n|---|---|---|\n| **OS \u002F Kernel** | Linux (Raspberry Pi OS \u002F Yocto \u002F Buildroot) | Direct hardware execution (no OS) |\n| **Hardware Access** | `\u002Fdev\u002Fgpiomem`, `\u002Fdev\u002Fspidev`, `\u002Fdev\u002Fi2c-*`, `sysfs` | Memory-Mapped I\u002FO (MMIO) Registers |\n| **Real-Time Determinism** | Soft Real-Time (PREEMPT_RT kernel optional) | Hard Real-Time |\n| **Ecosystem Libraries** | `rppal`, `tokio`, `embedded-hal`, `nix` | `cortex-a`, `bare-metal`, `heapless` |\n\n### 1.2 The `embedded-hal` Paradigm\nAlways write reusable hardware drivers against the generic `embedded-hal` traits rather than hardcoding platform-specific APIs:\n\n```\n+-------------------------------------------------------------+\n|                Generic Hardware Driver                      |\n| (e.g., BME280 Sensor Driver using embedded_hal::i2c::I2c)   |\n+-------------------------------------------------------------+\n                              |\n                              v\n+-------------------------------------------------------------+\n|              Platform HAL Abstraction Layer                 |\n|    Linux: rppal::i2c::I2c  |  Microcontroller: esp32c3_hal |\n+-------------------------------------------------------------+\n```\n\n---\n\n## 2. Real-Time Memory Management & Safety\n\n### 2.1 Memory Guarantees in `no_std` & Embedded Rust\n- **No Implicit Allocation**: In `no_std` environments, heap allocations (`alloc::vec::Vec`, `alloc::string::String`) are disabled by default.\n- **Static Lock-Free Queues**: Use `heapless::spsc::Queue` for deterministic Single-Producer Single-Consumer communication between hardware interrupt handlers and processing loops.\n- **Stack Budget Guardrails**: Large arrays must not be created on the stack inside recursive functions or deep call chains to prevent kernel stack overflow. Use static buffers wrapped in `static_cell::StaticCell` or `Option\u003CT>` statics.\n\n### 2.2 Panic Strategy & Binary Optimization\nIn production embedded Rust, panic handlers must be explicitly configured to avoid binary bloat and undefined hardware states:\n\n```toml\n[profile.release]\nopt-level = \"s\"      # Optimize for binary size\nlto = true           # Link-Time Optimization\ncodegen-units = 1    # Maximum optimization\npanic = \"abort\"      # Strip unwinding landing pads\n```\n\n---\n\n## 3. Hardware Interrupt Safety & Concurrency\n\n### 3.1 Linux GPIO Interrupt Handling (`rppal`)\nOn Raspberry Pi running Linux, GPIO interrupts are delivered asynchronously via epoll\u002Fsysfs threads.\n- Never block the main execution thread inside a interrupt callback.\n- Communicate interrupt events to worker threads using bounded MPSC\u002FSPSC queues (`crossbeam_channel` or `heapless::spsc::Queue`) or `std::sync::atomic` primitives.\n\n### 3.2 Atomicity & Memory Ordering\nWhen sharing flags between GPIO interrupt callbacks and background threads:\n- Use `AtomicBool`, `AtomicU32`, or `AtomicUsize`.\n- Apply strict memory orderings (`Ordering::Acquire`, `Ordering::Release`, `Ordering::Relaxed`).\n\n```rust\nuse std::sync::atomic::{AtomicBool, Ordering};\n\nstatic SHUTDOWN_SIGNAL: AtomicBool = AtomicBool::new(false);\n\n\u002F\u002F Interrupt callback\nfn on_button_press() {\n    SHUTDOWN_SIGNAL.store(true, Ordering::Release);\n}\n```\n\n---\n\n## 4. Anti-Patterns & Safety Violations\n\n| Anti-Pattern | Risk \u002F Impact | Rust Idiomatic Fix |\n|---|---|---|\n| `unwrap()` \u002F `expect()` in production hardware loops | System crash\u002Fpanic on I2C noise or transient I\u002FO read errors | Return `Result\u003CT, DriverError>` and handle explicitly |\n| Direct `unsafe` raw MMIO pointer casting without safety invariants | Memory corruption, undefined behavior | Use safe register abstractions (`svd2rust` or `volatile_register`) |\n| Unprotected shared access to SPI\u002FI2C bus across threads | Data corruption, bus locks | Use `embedded-hal-bus` or `std::sync::Mutex` |\n| Busy-wait polling loop (`while pin.is_high() {}`) | 100% CPU core consumption | Use async interrupts (`poll_interrupt()`) or timed sleep |\n| Dropping hardware pins without safe pin state reset | Floating outputs driving actuators unexpectedly | Implement `Drop` trait on device structs to set pins to safe low state |\n\n---\n\n## 5. Production Code Example\n\nBelow is a complete, production-grade embedded Rust application for Raspberry Pi using `rppal`. It demonstrates GPIO interrupt handling, thread-safe lock-free SPSC queues, atomic state flags, POSIX signal handling for graceful shutdown, and robust error handling without `unwrap()`.\n\n`Cargo.toml` dependencies:\n```toml\n[dependencies]\nrppal = \"0.14\"\nthiserror = \"1.0\"\nsignal-hook = \"0.3\"\ncrossbeam-channel = \"0.5\"\n```\n\n`src\u002Fmain.rs`:\n```rust\nuse rppal::gpio::{Gpio, InputPin, Level, OutputPin, Trigger};\nuse std::sync::atomic::{AtomicBool, AtomicU64, Ordering};\nuse std::sync::Arc;\nuse std::thread;\nuse std::time::{Duration, Instant};\nuse thiserror::Error;\n\n\u002F\u002F Custom Hardware Error Types\n#[derive(Error, Debug)]\npub enum HardwareError {\n    #[error(\"GPIO Initialization failed: {0}\")]\n    GpioInit(#[from] rppal::gpio::Error),\n    #[error(\"Channel communication error\")]\n    ChannelError,\n    #[error(\"System timeout during operation\")]\n    Timeout,\n}\n\n\u002F\u002F Global Atomic Metrics\nstatic INTERRUPT_COUNT: AtomicU64 = AtomicU64::new(0);\n\n\u002F\u002F Hardware Controller Abstraction\npub struct HardwareController {\n    _status_led: OutputPin,\n    input_sensor: InputPin,\n    running: Arc\u003CAtomicBool>,\n}\n\nimpl HardwareController {\n    pub fn new(led_pin_num: u8, sensor_pin_num: u8, running: Arc\u003CAtomicBool>) -> Result\u003CSelf, HardwareError> {\n        let gpio = Gpio::new()?;\n        \n        let mut status_led = gpio.get(led_pin_num)?.into_output();\n        let input_sensor = gpio.get(sensor_pin_num)?.into_input_pullup();\n        \n        \u002F\u002F Initial safe hardware state\n        status_led.set_low();\n\n        Ok(Self {\n            _status_led: status_led,\n            input_sensor,\n            running,\n        })\n    }\n\n    pub fn start_interrupt_monitoring(&mut self) -> Result\u003Ccrossbeam_channel::Receiver\u003CInstant>, HardwareError> {\n        let (sender, receiver) = crossbeam_channel::bounded::\u003CInstant>(64);\n        \n        \u002F\u002F Configure Falling Edge Interrupt Callback\n        self.input_sensor.set_async_interrupt(\n            Trigger::FallingEdge,\n            move |level| {\n                if level == Level::Low {\n                    INTERRUPT_COUNT.fetch_add(1, Ordering::Relaxed);\n                    let now = Instant::now();\n                    \u002F\u002F Non-blocking try_send to avoid stalling interrupt thread\n                    let _ = sender.try_send(now);\n                }\n            },\n        )?;\n\n        Ok(receiver)\n    }\n}\n\n\u002F\u002F Ensure hardware drops into safe state on application exit\nimpl Drop for HardwareController {\n    fn drop(&mut self) {\n        let _ = self.input_sensor.clear_async_interrupt();\n        println!(\"[HARDWARE] Hardware controller safely disarmed.\");\n    }\n}\n\nfn main() -> Result\u003C(), HardwareError> {\n    println!(\"[INIT] Starting Raspberry Pi Production Embedded Driver...\");\n\n    \u002F\u002F 1. Setup Signal Hook for Graceful POSIX Shutdown (SIGINT \u002F SIGTERM)\n    let running = Arc::new(AtomicBool::new(true));\n    let r = running.clone();\n\n    signal_hook::flag::register(signal_hook::consts::SIGINT, r.clone())\n        .map_err(|_| HardwareError::Timeout)?;\n    signal_hook::flag::register(signal_hook::consts::SIGTERM, r.clone())\n        .map_err(|_| HardwareError::Timeout)?;\n\n    \u002F\u002F 2. Initialize Hardware Pins (LED = Pin 17, Sensor = Pin 27)\n    let mut hw = HardwareController::new(17, 27, running.clone())?;\n    let event_receiver = hw.start_interrupt_monitoring()?;\n\n    println!(\"[READY] Hardware initialized. Monitoring interrupts...\");\n\n    \u002F\u002F 3. Main Event Loop\n    let mut last_log_time = Instant::now();\n\n    while running.load(Ordering::Acquire) {\n        \u002F\u002F Receive telemetry events with non-blocking timeout\n        match event_receiver.recv_timeout(Duration::from_millis(100)) {\n            Ok(timestamp) => {\n                println!(\n                    \"[EVENT] Hardware pulse detected at {:?}! Total pulses: {}\",\n                    timestamp,\n                    INTERRUPT_COUNT.load(Ordering::Relaxed)\n                );\n            }\n            Err(crossbeam_channel::RecvTimeoutError::Timeout) => {\n                \u002F\u002F Heartbeat interval\n                if last_log_time.elapsed() >= Duration::from_secs(5) {\n                    println!(\n                        \"[HEARTBEAT] System operational. Interrupt count: {}\",\n                        INTERRUPT_COUNT.load(Ordering::Relaxed)\n                    );\n                    last_log_time = Instant::now();\n                }\n            }\n            Err(crossbeam_channel::RecvTimeoutError::Disconnected) => {\n                eprintln!(\"[ERROR] Event channel disconnected unexpectedly.\");\n                break;\n            }\n        }\n    }\n\n    println!(\"[SHUTDOWN] Terminating hardware loops cleanly...\");\n    thread::sleep(Duration::from_millis(200));\n    Ok(())\n}\n```\n",{"name":5,"description":7},"main","e905af21e5f1e1c3ca605e9656c3a7930360a84e","Programming\u002FSystems_and_Hardware\u002FEmbedded_and_IoT\u002Fraspberry-pi-rust-embedded",1,"https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills","https:\u002F\u002Fhamzabellouch.github.io\u002F","https:\u002F\u002Fgithub.com\u002Fhamzabellouch","hamzabellouch.github.io","CEO & Founder of @tknoglobal | Researcher in Technology & Applied Sciences.","2026-10-17 03:20:19",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add hamzabellouch\u002Fagent-skills --skill raspberry-pi-rust-embedded",{"tool":40,"command":41},"bunx","bunx skills add hamzabellouch\u002Fagent-skills --skill raspberry-pi-rust-embedded",{"tool":43,"command":44},"pnpm","pnpm dlx skills add hamzabellouch\u002Fagent-skills --skill raspberry-pi-rust-embedded","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FProgramming\u002FSystems_and_Hardware\u002FEmbedded_and_IoT\u002Fraspberry-pi-rust-embedded\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M79FHH2H815A9TAP6WNKH4Q8","security-audit","Comprehensive security guidance, source code audit, vulnerability assessment, and penetration test review for codebases, APIs, microservices, CLI tools, libraries, and LLM-backed applications. Triggers on requests to audit a codebase, conduct security reviews, find vulnerabilities or flaws, pen-test source code, or when the user asks in Arabic (فحص أمني، تدقيق الكود أمنياً، مراجعة الثغرات، فحص أمان المشروع). Supports Guidance mode (focused review) and Full Audit mode (deterministic 6-phase harness).","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FSecurity_Audit_and_Code_Review\u002Fsecurity-audit\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M79FHBGXVBY6VQ1X7ETAZMF1","malware-analysis-reversing","Production malware analysis workflows, reverse engineering methodologies, isolated sandbox triage, static\u002Fdynamic binary analysis, memory forensics, and YARA detection rule authoring.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FOffensive_Security_and_Pentesting\u002Fmalware-analysis-reversing\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M79FH6EACDR801TZCE4R8SAC","application-security-pentesting","Production Application Security (AppSec) standards, OWASP Top 10 vulnerability remediation, SAST\u002FDAST pipeline integration, secure code review, threat modeling, and defensive security posture.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FOffensive_Security_and_Pentesting\u002Fapplication-security-pentesting\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M79FH0VKVT44FK923K520ZQA","oauth2-oidc-security-flows","Implement enterprise OAuth 2.1 and OpenID Connect (OIDC) authorization code flow with Proof Key for Code Exchange (PKCE), state and nonce verification, refresh token rotation, token revocation, and centralized IdP federation (Keycloak, Auth0, Okta). Trigger when building secure authentication, single sign-on (SSO), or third-party delegated authorization.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FIdentity_and_Access_Management_IAM\u002Foauth2-oidc-security-flows\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M79FGVVB3R4T88XXD8FRSV5B","jwt-session-management-hardening","Harden JWT-based authentication and session lifecycles using asymmetric signing (RS256\u002FEdDSA), JWKS rotation, strict claims validation, Redis-backed sliding window sessions, revocation lists, and secure HttpOnly cookie storage. Trigger when implementing token validation, session revocation, or hardening API authentication.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FIdentity_and_Access_Management_IAM\u002Fjwt-session-management-hardening\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M79FGNCPZ85CVEY0B3NE4H3B","soc2-compliance-automation","Best practices for implementing SOC 2 Type II compliance controls, continuous evidence collection, infrastructure policy-as-code, and automated security monitoring. Use when automating Trust Services Criteria (Security, Availability, Confidentiality, Processing Integrity, Privacy), audit logging, IAM least privilege, or CI\u002FCD security gates.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FGovernance_Compliance_and_Legal_Tech\u002Fsoc2-compliance-automation\u002FSKILL.md",[],[]]