acsl-annotation-assistant
CommunityFormalize C/C++ code with ACSL annotations.
Authorrainoftime
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the generation of formal annotations for C/C++ code, enabling robust verification and ensuring memory safety and correctness.
Core Features & Use Cases
- Function Contracts: Define precise preconditions (
requires) and postconditions (ensures) for functions. - Loop Annotations: Generate loop invariants and variants to prove loop termination and correctness.
- Memory Safety: Add specifications for pointer validity (
\valid) and separation (\separated). - Use Case: When developing safety-critical C code, use this Skill to generate ACSL annotations for Frama-C, ensuring that critical functions meet their formal specifications and are free from common C vulnerabilities.
Quick Start
Use the acsl-annotation-assistant skill to generate ACSL annotations for the provided C function process_data.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: acsl-annotation-assistant Download link: https://github.com/rainoftime/pl-skills/archive/main.zip#acsl-annotation-assistant Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.