firmware
poorvith-mp/skills-developer/skills/firmware/SKILL.md
Write bare-metal and RTOS firmware for ESP32, ARM Cortex-M, STM32 and Nordic nRF. Use when writing embedded C/C++, RTOS, microcontroller, or IoT code.
Skill0 starsChanged 46 days ago
What's in it
- Firmware
- 🎯 Your Core Mission
- 🚨 Critical Rules
- Memory & Safety
- Platform-Specific
- Output format
- Verification & Quality Checklist
- Anti-Patterns & Constraints
--- name: firmware last_reviewed: 2026-09-06 group: Domain-specific description: >- Write bare-metal and RTOS firmware for ESP32, ARM Cortex-M, STM32 and Nordic nRF. Use when writing embedded C/C++, RTOS, microcontroller, or IoT code. --- # Firmware ## 🎯 Your Core Mission - Write correct, deterministic firmware that respects hardware constraints (RAM, flash, timing) - Design RTOS task architectures that avoid priority inversion and deadlocks - Implement communication protocols (UART, SPI, I2C, CAN, BLE, Wi-Fi) with proper error handling - **Default requirement**: Every peripheral driver must handle error cases and never block indefinitely ## 🚨 Critical Rules ### Memory & Safety - Never use dynamic allocation (`malloc`/`new`) in RTOS tasks after init - Always check return values from ESP-IDF, STM32 HAL, and nRF SDK functions - Stack sizes must be calculated, not guessed - Avoid global mutable state shared across tasks without proper synchronization ### Platform-Specific - **ESP-IDF**: Use `esp_err_t` return types, `ESP_ERROR_CHECK()` for fatal paths - **STM32**: Prefer LL drivers over HAL for timing-critical code; never poll in an ISR - **Nordic**: Use Zephyr devicetree and Kconfig - **PlatformIO**: pin library versions — never use `@latest` in production ## Output format - Lead with the result the user asked for. - Use clear headings and bullet lists where helpful. - Call out assumptions and open questions at the end. - Stay specific to the Embedded Firmware Engineer workflow; avoid generic filler. ## Verification & Quality Checklist - [ ] Code compiles and all automated tests and typechecks pass without new warnings. - [ ] Edge cases, boundary conditions, and error states handled explicitly rather than assumed. - [ ] No hardcoded secrets, credentials, or insecure defaults introduced. - [ ] Changes are covered by a test that fails without them. ## Anti-Patterns & Constraints - NEVER weaken or skip a failing test to make a change land. - NEVER swallow errors silently or leave unhandled rejections in production paths. - NEVER introduce a breaking API change without a version bump and migration path.
More agent context in poorvith-mp/skills-developer
134 other files this repository gives its agents, the first 60 shown.
Skill
- accessibility-engineerskills/accessibility-engineer/SKILL.md
- accessibility-fixskills/accessibility-fix/SKILL.md
- ai-data-remediation-engineerskills/ai-data-remediation-engineer/SKILL.md
- ai-engineerskills/ai-engineer/SKILL.md
- ai-eval-suite-builderskills/ai-eval-suite-builder/SKILL.md
- android-developerskills/android-developer/SKILL.md
- api-designskills/api-design/SKILL.md
- api-lifecycle-engineerskills/api-lifecycle-engineer/SKILL.md
- appsec-architectskills/appsec-architect/SKILL.md
- audit-readinessskills/audit-readiness/SKILL.md
- authenticationskills/authentication/SKILL.md
- autonomous-optimization-architectskills/autonomous-optimization-architect/SKILL.md
- backend-architectskills/backend-architect/SKILL.md
- backend-buildskills/backend-build/SKILL.md
- blockchain-security-auditorskills/blockchain-security-auditor/SKILL.md
- branching-strategyskills/branching-strategy/SKILL.md
- bug-explainerskills/bug-explainer/SKILL.md
- changelog-writerskills/changelog-writer/SKILL.md
- change-notesskills/change-notes/SKILL.md
- ci-cd-pipeline-builderskills/ci-cd-pipeline-builder/SKILL.md
- ci-pipelinesskills/ci-pipelines/SKILL.md
- cloud-costskills/cloud-cost/SKILL.md
- cloud-security-architectskills/cloud-security-architect/SKILL.md
- cloud-securityskills/cloud-security/SKILL.md
- codebase-mapskills/codebase-map/SKILL.md
- codebase-onboarding-engineerskills/codebase-onboarding-engineer/SKILL.md
- code-comment-writerskills/code-comment-writer/SKILL.md
- code-reviewerskills/code-reviewer/SKILL.md
- code-reviewskills/code-review/SKILL.md
- code-translatorskills/code-translator/SKILL.md
- commerce-platformskills/commerce-platform/SKILL.md
- compliance-auditorskills/compliance-auditor/SKILL.md
- composioskills/composio/SKILL.md
- cron-job-plannerskills/cron-job-planner/SKILL.md
- database-optimizerskills/database-optimizer/SKILL.md
- database-schema-designerskills/database-schema-designer/SKILL.md
- databaseskills/database/SKILL.md
- data-engineerskills/data-engineer/SKILL.md
- data-pipeline-architectskills/data-pipeline-architect/SKILL.md
- data-pipelinesskills/data-pipelines/SKILL.md
- debuggingskills/debugging/SKILL.md
- debugging-strategistskills/debugging-strategist/SKILL.md
- dependency-auditskills/dependency-audit/SKILL.md
- dependency-upgrade-auditorskills/dependency-upgrade-auditor/SKILL.md
- deployment-checklistskills/deployment-checklist/SKILL.md
- deploymentskills/deployment/SKILL.md
- developer-platformskills/developer-platform/SKILL.md
- devops-automatorskills/devops-automator/SKILL.md
- ecommerce-cms-architectskills/ecommerce-cms-architect/SKILL.md
- email-intelligence-engineerskills/email-intelligence-engineer/SKILL.md
- embedded-firmware-engineerskills/embedded-firmware-engineer/SKILL.md
- environment-setup-guideskills/environment-setup-guide/SKILL.md
- error-boundary-designerskills/error-boundary-designer/SKILL.md
- error-handlingskills/error-handling/SKILL.md
- evidence-collectorskills/evidence-collector/SKILL.md
- filament-optimizerskills/filament-optimizer/SKILL.md
- finops-engineerskills/finops-engineer/SKILL.md
- frontend-buildskills/frontend-build/SKILL.md
- frontend-developerskills/frontend-developer/SKILL.md
- git-commit-writerskills/git-commit-writer/SKILL.md
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
Reports can't be read right now.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool public_context_discussion, action report. How to connect one.

