AgentStack
SKILL verified Apache-2.0 Self-run

Implementing Firmware

skill-qte77-claude-code-plugins-implementing-firmware · by qte77

Implements ESP-IDF or PlatformIO firmware with mandatory requirement docstring tags and MISRA-C linting. Use when writing embedded C code, implementing firmware features, or adding requirement-traced functions.

No reviews yet
0 installs
13 views
0.0% view→install

Install

$ agentstack add skill-qte77-claude-code-plugins-implementing-firmware

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Implementing Firmware? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Firmware Implementation

Target: $ARGUMENTS

Implement firmware code with mandatory requirement traceability tags, following ESP-IDF or PlatformIO patterns.

References (MUST READ)

Read these before proceeding:

  • references/esp-idf-patterns.md — Component structure, FreeRTOS, sdkconfig, idf.py
  • references/platformio-patterns.md — platformio.ini, pio commands, library management
  • references/c-safety-rules.md — MISRA-C cppcheck flags, clang-tidy, tagging rules

Workflow

  1. Detect framework:
  • CMakeLists.txt + sdkconfig* → ESP-IDF
  • platformio.ini → PlatformIO
  • Neither → ask user which framework to use
  1. Read existing requirements — Check for docs/requirements.md to understand which SW-REQs need implementing
  2. Implement code with mandatory docstrings on every new function:

```c /**

  • @brief

*

  • @requirement SW-REQ-NNN
  • @parent PRD-REQ-NNN
  • @test TEST-NNN

*

  • @param ...
  • @return ...

*/ ```

  1. Create test stubs in test/ with matching @test TEST-NNN references
  2. Lint with cppcheck:

``bash cppcheck --addon=misra.py --std=c11 --enable=all --xml src/ 2> misra-report.xml ``

  1. Build:
  • ESP-IDF: idf.py build
  • PlatformIO: pio run
  1. Report — Count tagged functions, list any warnings

Rules

  • Every new function must have @requirement, @parent, and @test tags
  • Follow existing code style (indentation, naming conventions) in the project
  • Use ESP-IDF error handling patterns (ESP_ERROR_CHECK, esp_err_t returns)
  • Do not suppress MISRA warnings without documenting the deviation
  • Create header declarations alongside implementations
  • Test stubs must compile even if test logic is not yet implemented

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.