Best use case
misra-c-analysis is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
MISRA C compliance checking and static analysis integration
Teams using misra-c-analysis should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/misra-c-analysis/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How misra-c-analysis Compares
| Feature / Agent | misra-c-analysis | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
MISRA C compliance checking and static analysis integration
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# MISRA C Static Analysis Skill ## 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 checking - `functional-safety-certification.js` - Safety standard compliance - `device-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 ```xml <misra> <rule number="1.1" severity="error"/> <rule number="1.2" severity="warning"/> <suppress rule="15.5" file="legacy/*.c"/> </misra> ``` ## Deviation Record Template ```markdown ## 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] ```
Related Skills
heatmap-analysis
Analyze user interaction heatmaps for attention patterns and click behavior
static-analysis-runner
Run static analysis tools including SonarQube, ESLint, and multi-language linters
Static Analysis Tools Skill
Integration with security-focused static analysis tools
Smart Contract Analysis Skill
Ethereum and blockchain smart contract security analysis
Network Protocol Analysis Skill
Network protocol capture, analysis, and fuzzing capabilities
Code Coverage Analysis
Multi-language code coverage analysis, reporting, and quality gate enforcement
memlab-analysis
Expert skill for JavaScript memory leak detection using Facebook MemLab. Configure MemLab scenarios, execute memory leak detection runs, analyze heap snapshots, identify detached DOM elements, find event listener leaks, and integrate with CI pipelines.
gpu-memory-analysis
Specialized skill for GPU memory hierarchy analysis and optimization. Analyze memory access patterns, detect bank conflicts, optimize cache utilization, profile global memory bandwidth, and generate optimized memory access code patterns.
power-analysis
FPGA power estimation and optimization skill for low-power design
cdc-analysis
Specialized skill for clock domain crossing analysis and synchronizer design in FPGA designs
memory-analysis
Embedded memory analysis, optimization, and leak detection
qualitative-analysis
Conduct systematic qualitative data analysis using grounded theory, thematic analysis, and content analysis with NVivo or Atlas.ti