More screenshots

    Works with the AI Agents you already use

    embedded project workflow

    by WangWang Yan

    1

    Workflow for embedded and FPGA projects ensuring compatibility with CubeMX, Vivado, and RTOS toolchains.

    Free

    Security scanned
    embedded project workflow

    embedded project workflow

    Example session with this skill installed

    Initialize a new STM32 project using FreeRTOS. I need to handle a PWM output for a motor and an SPI sensor. Map out the configuration and user code sections.

    • Read your context and instructions
    • Compiled the embedded project workflow

    Project structure initialized for STM32 with FreeRTOS. I have mapped the hardware peripherals to native configuration zones and defined the user implementation boundaries to ensure code persistence during re-generation.

    Embedded Configuration & Implementation Plan

    ComponentConfig SourceImplementation LocationLogic Type
    Clock TreeCubeMX (RCC)main.c (Generated)System Clock (160MHz)
    PWM (Motor)CubeMX (TIM1)motor_ctrl.c (User)Duty cycle & Dead-time
    SPI (Sensor)CubeMX (SPI1)sensor_driver.c (User)DMA-based polling
    RTOS TasksCubeMX (CMSIS)freertos.c (User Sec)Priority-based scheduling

    Execution Logic Map

    1. SystemInit: Hardware abstraction layer and clock config (Native).
    2. MX_GPIO_Init: Pin muxing for SPI (SCK, MISO, MOSI) and PWM (CH1).
    3. Task_Start: SPI DMA request triggered by timer interrupt.
    4. Task_Motor: PWM adjustment based on SPI feedback loop.

    Recommended Tool Settings

    • TIM1 Config: Set to Center-aligned mode 1 for motor control; verify dead-time insertion in the 'Break and Dead-time' tab.
    • SPI1 DMA: Enable DMA RX/TX in Circular mode to reduce CPU overhead.
    • User Sections: All custom logic must reside between /* USER CODE BEGIN */ and /* USER CODE END */ tags to survive re-generation.

    Next steps

    1. Review the generated IOC file to confirm pin assignments for TIM1 and SPI1.
    2. Verify the DMA interrupt priority in the NVIC settings to avoid RTOS context switch conflicts.
    3. Implement the SPI callback function within the designated user section in stm32_it.c.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Managing embedded and FPGA projects often feels like a constant battle against tool-generated code, conflicting clock configurations, and messy handoffs between hardware and software teams. This skill provides a structured workflow for navigating the specific constraints of STM32, Zynq, ESP32, and FPGA development without breaking the native toolchain integration.

    What it does

    • Toolchain Synchronization maintains the integrity of auto-generated code from CubeMX, Vivado, and TouchGFX while integrating custom logic.
    • Architectural Mapping generates pin-functional diagrams and execution logic maps for new or refactored projects.
    • Peripheral Management handles clock trees, DMA mappings, and IRQ/callback implementations across different abstraction layers.
    • Handoff Automation manages the critical transition between FPGA PL (Programmable Logic) and PS (Processor System) via Vitis/XSA workflows.
    • Debug Retrospectives analyzes real-time failures, timing issues, and telemetry data to isolate root causes in RTOS or bare-metal environments.

    How it works

    1. Context Initialization reads existing project files, hardware schematics, and tool versions to identify the current baseline.
    2. Configuration Alignment defines which parameters are owned by native tools (like CubeMX/Vivado) versus user-defined implementation layers.
    3. Incremental Implementation applies code changes specifically within designated user sections or modular files to prevent loss during re-generation.
    4. Verification checks build inputs, startup sequences, and port connections against the intended design.

    Frameworks & tools

    Supports STM32CubeMX, FreeRTOS, TouchGFX, ESP-IDF, Xilinx Vivado (IP/XPM/BD), and Xilinx Vitis (Zynq/MPSoC). Works with RTL (Verilog/VHDL) and C/C++ embedded stacks.

    Why this beats prompting it yourself

    Generic LLMs often suggest overwriting auto-generated headers or provide register values that conflict with the GUI-based clock tree. This skill enforces "tool-aware" persistence, ensuring your manual code survives the next time you click Generate in CubeMX or Vivado.

    Use cases

    • Implement a FreeRTOS task structure that respects the existing CubeMX-generated task priorities.
    • Connect AXI-stream IPs in a Vivado block design and verify the address mapping in Vitis.
    • Integrate a TouchGFX UI layer with custom sensor drivers without losing designer-generated assets.
    • Debug DMA transfer failures by verifying the alignment between hardware constraints and software descriptors.

    Known limitations

    Does not support automatic hardware flashing or power-on execution. Restricted to source code analysis and configuration planning based on provided documentation and local files.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 12 days ago

    • Free with an Agensi account

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Environment Variables
    Listed12 days ago

    What's inside

    Creator

    WangWang Yan

    WangWang Yan

    Frequently Asked Questions

    This skill acts as a bridge between AI logic and vendor-specific IDEs, ensuring that AI-generated code is placed strictly within designated "User Code" sections so it isn't wiped out when you re-run tools like CubeMX or Vivado.

    Yes, it is specifically designed for heterogeneous systems like Zynq and MPSoC, managing the handoff between FPGA Programmable Logic (PL) and the Processor System (PS) via .XSA file metadata and Vitis drivers.

    It supports standard embedded and FPGA toolchains including STM32CubeMX, FreeRTOS, ESP-IDF, and Xilinx Vivado/Vitis, working with C, C++, Verilog, and VHDL codebases.

    The purchase includes the structured AI agent skill, configuration templates for various toolchains, and a standardized process for mapping hardware peripherals to software layers.

    While it can analyze and plan for specific timing constraints and DMA mappings, it cannot perform real-time hardware-in-the-loop (HIL) testing or direct flashing; it is focused on code and configuration integrity.

    To get started, you provide the agent with your existing project structure (e.g., .ioc or .xpr files) and hardware requirements, allowing it to initialize its context based on your specific baseline.

    New in APIs & Backend

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.

    Free