acsl-annotation-assistant

Community

Formalize C/C++ code with ACSL annotations.

AuthorArabelaTso
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers create formal specifications for C/C++ code using ACSL, enabling rigorous verification and ensuring software reliability.

Core Features & Use Cases

  • Generate Function Contracts: Define preconditions (requires) and postconditions (ensures) for functions.
  • Annotate Loops: Add loop invariants, assigns, and variants to prove loop termination and correctness.
  • Memory Safety Specifications: Specify pointer validity and separation for robust memory management.
  • Use Case: When developing safety-critical software, use this Skill to formally verify that a complex algorithm adheres to its specifications, preventing potential bugs before deployment.

Quick Start

Use the acsl-annotation-assistant skill to generate ACSL annotations for the provided C function calculate_average.

Dependency Matrix

Required Modules

None required

Components

references

💻 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/ArabelaTso/Skills-4-SE/archive/main.zip#acsl-annotation-assistant

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.