lang-c-code-writing

Writes and reviews MISRA-compliant C code for automotive embedded systems.

1|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/Binh230199/ai --skill lang-c-code-writing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lang-c-code-writing
Source: https://github.com/Binh230199/ai/tree/main/.github/skills/lang-c-code-writing
Command: npx skills add https://github.com/Binh230199/ai --skill lang-c-code-writing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps engineers write, review, and refactor production C code for automotive embedded systems where safety, reliability, and MISRA compliance matter.

Core Features & Use Cases

  • MISRA-focused guidance: Helps with fixed-width types, null and bounds safety, conversion rules, and documented deviations.
  • Automotive embedded focus: Tailored for IVI, HUD, and RSE software on Linux and QNX platforms.
  • Review and refactor support: Useful for new module design, legacy cleanup, static-analysis fixes, and Doxygen-ready interfaces.

Quick Start

Ask for a MISRA-compliant review or refactor of the specified C module and include the file name plus whether you want write, review, or refactor guidance.

Frequently Asked Questions about lang-c-code-writing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write MISRA-compliant C code for automotive embedded systems?

To write MISRA-compliant C code for automotive embedded systems, enforce fixed-width types, explicit null and bounds checks, deterministic resource handling, and module-specific error codes across your .c and .h files.

What is the best way to refactor legacy C modules to pass static analysis in IVI software?

The best way to refactor legacy C modules for static analysis in IVI software is to apply conversion rules, add documented MISRA deviations, and generate Doxygen-ready interfaces for Linux and QNX platforms.

Does this approach support generating Doxygen documentation for HUD software on QNX?

Yes, this approach supports generating Doxygen documentation for HUD software on QNX by enforcing documented interfaces, module-specific error codes, and explicit safety checks during the code review and refactoring process.

How do I handle MISRA deviation documentation when reviewing C code?

Handle MISRA deviation documentation when reviewing C code by explicitly recording the justification for each rule exception, ensuring your automotive embedded systems maintain safety and reliability compliance.

Can I use this for new module design in automotive RSE software on Linux?

Yes, you can use this for new module design in automotive RSE software on Linux, as it enforces deterministic resource handling, fixed-width types, and explicit bounds checks required for reliable embedded environments.