Parasoft extends your AI coding agent with the ability to detect and automatically fix C/C++ static analysis violations. The integration is built around two autonomous workflows: cpptest-fix-all-violations and cpptest-fix-one-violation.
The skills work with any C or C++ project and integrate with the following coding agents:
- GitHub Copilot CLI
- OpenAI Codex CLI
Additionally, the skills can be integrated with any coding agent that supports MCP tools, and skills.
The cpptest-fix-all-violations skill enables end-to-end automated static analysis and repair by:
- Running C/C++test static analysis against your project using any built-in or custom test configuration
- Collecting reported violations and fixing them iteratively, rule by rule
- Verifying fixes after each iteration to ensure that violations are resolved correctly and no new issues are introduced
- Supporting configurable iteration and rule limits to control the fixing scope
- Optionally committing fixes individually as separate Git commits after each processed rule
The cpptest-fix-one-violation skill enables targeted repair of a specific, user-provided violation by:
- Fixing a single known C/C++test static analysis violation described directly in the user prompt
- Optionally verifying the fix when verification is explicitly requested by the user
For details on configuring the MCP server extension that enables integration between C/C++test and AI agents, see Configuring the MCP Server Extension for AI Agents.
For details on installation and configuration of the skills, as well as their capabilities, usage examples, and CI/CD integration workflow, see the README document at: https://github.com/parasoft/cpptest-ai-agent-skills and the demo project at: https://github.com/parasoft/cpptest-ai-agent-demo.