MISRA C Static Analysis Skill
SkillDev toolsMISRA C compliance checking and static analysis integration
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
Then ask your AI: use the MISRA C Static Analysis Skill skill
What this skill tells your AI
The instructions your AI receives, as published by a5c-ai/babysitter in library/specializations/embedded-systems/skills/misra-c-analysis/SKILL.md and read by ahel’s review.
Overview
This skill provides MISRA C compliance checking and static analysis integration for safety-critical embedded software development, ensuring code quality and standard compliance.
Capabilities
MISRA C:2012 Compliance
- Full rule set checking
- Mandatory rules enforcement
- Required rules verification
- Advisory rules analysis
- Directive compliance checking
Static Analysis Integration
- PC-lint/PC-lint Plus integration
- Cppcheck configuration and usage
- Coverity static analysis
- Polyspace integration
- LDRA integration
- Parasoft C/C++test
Violation Management
- Violation categorization
- Severity classification
- Suppression management
- False positive tracking
- Trend analysis
Deviation Handling
- Deviation record generation
- Justification documentation
- Risk assessment documentation
- Approval workflow support
- Traceability maintenance
Additional Standards
- CERT C guideline checking
- CWE weakness detection
- AUTOSAR C++14 (where applicable)
- IEC 61508 coding standards
- DO-178C coding standards
Reporting
- Compliance reports generation
- Trend and metrics dashboards
- CI/CD integration reports
- Certification documentation
Target Processes
misra-c-compliance.js- MISRA C compliance checkingfunctional-safety-certification.js- Safety standard compliancedevice-driver-development.js- Driver code quality
Dependencies
- Static analysis tools (PC-lint, Cppcheck, Coverity, Polyspace)
- MISRA C:2012 guidelines document
- Rule configuration files
Usage Context
This skill is invoked when tasks require:
- MISRA C compliance checking
- Static analysis configuration
- Deviation documentation
- Coding standard enforcement
- Safety certification support
Rule Categories
Mandatory Rules (143 rules)
Must always be followed; no deviations permitted.
Required Rules (32 rules)
Must be followed unless formally deviated with documented justification.
Advisory Rules (39 rules)
Should be followed; deviations need documentation but less formal.
Directives (16 directives)
Guidelines that cannot be fully verified by static analysis.
Configuration Example
PC-lint Configuration (au-misra3.lnt)
// MISRA C:2012 configuration
+e9*, +e1*, +e2*, +e3*
-append(9001,[MISRA 2012 Rule 1.1, required])
-append(9002,[MISRA 2012 Rule 1.2, advisory])
Cppcheck MISRA Configuration
<misra>
<rule number="1.1" severity="error"/>
<rule number="1.2" severity="warning"/>
<suppress rule="15.5" file="legacy/*.c"/>
</misra>
Deviation Record Template
## Deviation Record DR-001
**Rule**: MISRA C:2012 Rule X.Y
**Location**: file.c, line 123
**Justification**: [Technical reason for deviation]
**Risk Assessment**: [Impact and mitigation]
**Approval**: [Approver name and date]
Signals
- GitHub stars
- 2k
- Forks
- 112
- Last commit
- Sep 2026
Advanced
- Item type
- skill
- Key
misra-c-analysis- Source
- github.com/a5c-ai/babysitter
Related picks
Skill · davila7
The pick for C / C++legacy-js
Skill · thedaviddias
The pick for JavaScriptmodern-javascript-patterns
Skill · wshobson
The pick for JavaScriptobsidian-markdown
Skill · agricidaniel
The pick for Markdownmarkdown-formatter
Skill · nvidia
The pick for Markdownteach
Skill · mattpocock
More in Dev tools