Fory Release
apache/fory
Prepare an Apache Fory release candidate from a clean release branch, including the version bump, RC tag, JVM staging, ASF source artifacts, SVN upload, and vote email.
Extract abstract mathematical models from imperative code (C, C++, Python, Java, etc.) suitable for formal reasoning in Coq.
$ npx skills add ArabelaTso/Skills-4-SE --skill imperative-to-coq-model-extractor -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ArabelaTso/Skills-4-SE imperative-to-coq-model-extractor --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/ArabelaTso/Skills-4-SE.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/imperative-to-coq-model-extractor .claude/skills/imperative-to-coq-model-extractor && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "imperative-to-coq-model-extractor" agent skill from https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/imperative-to-coq-model-extractor into .claude/skills/imperative-to-coq-model-extractor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "imperative-to-coq-model-extractor", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/imperative-to-coq-model-extractorType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add ArabelaTso/Skills-4-SE --skill imperative-to-coq-model-extractor -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ArabelaTso/Skills-4-SE imperative-to-coq-model-extractor --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ArabelaTso/Skills-4-SE.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/imperative-to-coq-model-extractor .agents/skills/imperative-to-coq-model-extractor && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "imperative-to-coq-model-extractor" agent skill from https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/imperative-to-coq-model-extractor into .agents/skills/imperative-to-coq-model-extractor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "imperative-to-coq-model-extractor", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ArabelaTso/Skills-4-SE --skill imperative-to-coq-model-extractor -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ArabelaTso/Skills-4-SE imperative-to-coq-model-extractor --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ArabelaTso/Skills-4-SE.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/imperative-to-coq-model-extractor .cursor/skills/imperative-to-coq-model-extractor && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "imperative-to-coq-model-extractor" agent skill from https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/imperative-to-coq-model-extractor into .cursor/skills/imperative-to-coq-model-extractor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "imperative-to-coq-model-extractor", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/ArabelaTso/Skills-4-SE.git --path skills/imperative-to-coq-model-extractor--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add ArabelaTso/Skills-4-SE --skill imperative-to-coq-model-extractor -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ArabelaTso/Skills-4-SE imperative-to-coq-model-extractor --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ArabelaTso/Skills-4-SE.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/imperative-to-coq-model-extractor .gemini/skills/imperative-to-coq-model-extractor && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "imperative-to-coq-model-extractor" agent skill from https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/imperative-to-coq-model-extractor into .gemini/skills/imperative-to-coq-model-extractor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "imperative-to-coq-model-extractor", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install ArabelaTso/Skills-4-SE imperative-to-coq-model-extractorInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add ArabelaTso/Skills-4-SE --skill imperative-to-coq-model-extractor -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ArabelaTso/Skills-4-SE.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/imperative-to-coq-model-extractor .github/skills/imperative-to-coq-model-extractor && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "imperative-to-coq-model-extractor" agent skill from https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/imperative-to-coq-model-extractor into .github/skills/imperative-to-coq-model-extractor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "imperative-to-coq-model-extractor", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ArabelaTso/Skills-4-SE --skill imperative-to-coq-model-extractor -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ArabelaTso/Skills-4-SE imperative-to-coq-model-extractor --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ArabelaTso/Skills-4-SE.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/imperative-to-coq-model-extractor .opencode/skills/imperative-to-coq-model-extractor && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "imperative-to-coq-model-extractor" agent skill from https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/imperative-to-coq-model-extractor into .opencode/skills/imperative-to-coq-model-extractor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "imperative-to-coq-model-extractor", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
imperative-to-coq-model-extractorExtract abstract mathematical models from imperative code (C, C++, Python, Java, etc.) suitable for formal reasoning in Coq.
Imperative To Coq Model Extractor is an agent skill from ArabelaTso/Skills-4-SE. Extract abstract mathematical models from imperative code (C, C++, Python, Java, etc.) suitable for formal reasoning in Coq. Use when the user asks to model imperative code in Coq, create Coq specifications from imperative programs, extract mathematical models for verification, or translate imperative algorithms to Coq for formal reasoning and proof.
Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/extraction_patterns.md`).
It works with C++, Java and Python. The repository describes itself as: A curated list of 180+ useful Claude Skills for Software Engineering and resources for customizing AI for SE workflows. The licence is Apache-2.0.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 4f38503. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are coq, c, bash, python, java and cpp).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
coq.inria.frsoftwarefoundations.cis.upenn.eduFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Imperative To Coq Model Extractor loads about 2.6k tokens when it runs, and up to ~5.5k if it reads all its reference files. Until then it costs about 97 tokens; SKILL.md has 634 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from ArabelaTso/Skills-4-SE at commit 4f38503, republished under its Apache-2.0 licence (© ArabelaTso). 634 words, ~2,603 tokens.
.claude/skills/imperative-to-coq-model-extractor/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Extract abstract mathematical models from imperative code that can be used for formal reasoning and verification in Coq. This skill transforms imperative programs into functional Coq definitions with explicit state modeling, enabling formal proofs about program behavior.
Understand the program structure and semantics:
Identify components:
Understand semantics:
Note modeling challenges:
Plan the Coq representation:
Choose appropriate types:
Z for arbitrary precision integersnat for natural numbersbool for booleanslist for sequencesRecord for structured stateModel state explicitly:
Plan control flow translation:
Translate imperative constructs to Coq:
Pattern: Pure function
// Imperative
int add(int a, int b) {
return a + b;
}(* Coq Model *)
Definition add (a b : Z) : Z := a + b.Pattern: Function with state
// Imperative
int counter = 0;
void increment() {
counter++;
}(* Coq Model *)
Definition counter_state : Type := Z.
Definition increment (c : counter_state) : counter_state := c + 1.Pattern: Loop → Recursion
// Imperative
int sum(int n) {
int total = 0;
for (int i = 0; i < n; i++) {
total += i;
}
return total;
}(* Coq Model *)
Fixpoint sum_aux (n i total : nat) : nat :=
match n with
| 0 => total
| S n' =>
if i <? n then
sum_aux n (S i) (total + i)
else
total
end.
Definition sum (n : nat) : nat := sum_aux n 0 0.Enhance the model with formal specifications:
Function specifications:
Definition abs (n : Z) : Z :=
if n <? 0 then -n else n.
Lemma abs_nonneg : forall n : Z, abs n >= 0.
Proof.
intros n. unfold abs.
destruct (n <? 0) eqn:E.
- apply Z.ltb_lt in E. lia.
- apply Z.ltb_ge in E. lia.
Qed.Loop invariants:
(* Invariant: sum = sum of first i elements *)
Lemma sum_invariant : forall n i total,
i <= n ->
sum_aux n i total = total + (sum of 0..i-1).
Proof.
(* Proof by induction *)
Admitted.Correctness properties:
Lemma sum_correct : forall n,
sum n = n * (n - 1) / 2.
Proof.
(* Proof *)
Admitted.Ensure the model is correct:
Type check:
coqc model.vTest with examples:
Compute add 2 3. (* Should output 5 *)
Compute sum 5. (* Should output 10 *)Compare semantics:
Improve the extracted model:
Simplify definitions:
Add documentation:
(* Computes the absolute value of an integer *)
Definition abs (n : Z) : Z := ...Organize proofs:
For detailed patterns, see extraction_patterns.md.
| Imperative | Coq Model |
|---|---|
int x = 10 | Definition x : Z := 10 |
x = x + 1 | x + 1 (functional update) |
if (x > 0) | if x >? 0 then ... else ... |
for (i=0; i<n; i++) | Fixpoint loop (i : nat) ... |
while (cond) | Fixpoint loop ... if cond then ... |
struct S { int x; } | Record S := { x : Z } |
int arr[5] | list Z or Definition arr := [...] |
return x | x (last expression) |
Imperative Input (C):
int factorial(int n) {
int result = 1;
while (n > 1) {
result *= n;
n--;
}
return result;
}Coq Model:
Fixpoint factorial (n : nat) : nat :=
match n with
| 0 => 1
| S n' => n * factorial n'
end.
Lemma factorial_positive : forall n,
factorial n >= 1.
Proof.
induction n.
- simpl. lia.
- simpl. lia.
Qed.Imperative Input (Python):
def find_max(arr):
max_val = arr[0]
for i in range(1, len(arr)):
if arr[i] > max_val:
max_val = arr[i]
return max_valCoq Model:
Require Import List.
Import ListNotations.
Fixpoint find_max (l : list Z) (default : Z) : Z :=
match l with
| [] => default
| [x] => x
| x :: xs => Z.max x (find_max xs default)
end.
Lemma find_max_in_list : forall l default,
l <> [] ->
In (find_max l default) l.
Proof.
(* Proof by induction *)
Admitted.
Lemma find_max_is_max : forall l default x,
In x l ->
x <= find_max l default.
Proof.
(* Proof by induction *)
Admitted.Imperative Input (Java):
class Counter {
private int count = 0;
public void increment() {
count++;
}
public int getCount() {
return count;
}
}Coq Model:
Record CounterState : Type := mkCounter {
count : nat
}.
Definition init_counter : CounterState := {|
count := 0
|}.
Definition increment (s : CounterState) : CounterState := {|
count := S s.(count)
|}.
Definition getCount (s : CounterState) : nat :=
s.(count).
(* Specification *)
Lemma increment_increases : forall s,
getCount (increment s) = S (getCount s).
Proof.
intros s. unfold increment, getCount. simpl. reflexivity.
Qed.Imperative Input (C++):
int binary_search(int arr[], int n, int target) {
int left = 0, right = n - 1;
while (left <= right) {
int mid = (left + right) / 2;
if (arr[mid] == target)
return mid;
else if (arr[mid] < target)
left = mid + 1;
else
right = mid - 1;
}
return -1;
}Coq Model:
Require Import List.
Import ListNotations.
Fixpoint binary_search_aux (l : list Z) (target : Z)
(left right : nat) : option nat :=
match right - left with
| 0 =>
match nth_error l left with
| Some v => if v =? target then Some left else None
| None => None
end
| S _ =>
if left <=? right then
let mid := (left + right) / 2 in
match nth_error l mid with
| Some v =>
if v =? target then Some mid
else if v <? target then
binary_search_aux l target (S mid) right
else
binary_search_aux l target left (mid - 1)
| None => None
end
else None
end.
Definition binary_search (l : list Z) (target : Z) : option nat :=
binary_search_aux l target 0 (length l - 1).
(* Specification: if result is Some i, then l[i] = target *)
Lemma binary_search_correct : forall l target i,
binary_search l target = Some i ->
nth_error l i = Some target.
Proof.
(* Proof *)
Admitted.nat for non-negative values, Z for integers© ArabelaTso, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (references) in skills/imperative-to-coq-model-extractor of ArabelaTso/Skills-4-SE.
Open the folder on GitHubat commit 4f38503
Imperative To Coq Model Extractor next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Imperative To Coq Model Extractor this skillArabelaTso/Skills-4-SE | 253 | — | ~2.6k | Automated safety check: Pass | Apache-2.0 | |
| Fory Releaseapache/fory | 4.6k | — | ~2.9k | Automated safety check: Pass | Apache-2.0 | |
| CodeQL Security Scantrailofbits/skills | 7.5k | — | ~4.6k | Automated safety check: Notes | CC-BY-SA-4.0 | |
| Fory Version Bumpapache/fory | 4.6k | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Fory Performance Optimizationapache/fory | 4.6k | — | ~2.2k | Automated safety check: Pass | Apache-2.0 | |
| Dbgtheodo-group/debug-that | 158 | — | ~2.5k | Automated safety check: Pass | MIT |
apache/fory
Prepare an Apache Fory release candidate from a clean release branch, including the version bump, RC tag, JVM staging, ASF source artifacts, SVN upload, and vote email.
trailofbits/skills
Scans a codebase for vulnerabilities with CodeQL's data flow and taint tracking in run-all or important-only modes, including data extensions for project-specific sources and sinks.
apache/fory
Bump Apache Fory release or post-release development versions across Java, Kotlin, Scala, Python, Rust, Go, C++, C, Dart, JavaScript, Swift, integration tests, examples, and source docs.
apache/fory
Run profile-driven bottleneck optimization across Apache Fory implementations (Java, C++, Python/Cython, Go, Rust, Swift, C, JavaScript/TypeScript, Dart, Kotlin, Scala).
theodo-group/debug-that
Debug applications using the dbg CLI debugger. An agent skill from theodo-group/debug-that.
realsenseai/RealSenseID
RealSenseID face authentication SDK reference. An agent skill from realsenseai/RealSenseID.
ArabelaTso/Skills-4-SE
Generate prioritized CVE watchlists and actionable security recommendations for repositories.
ArabelaTso/Skills-4-SE
Automatically migrate Python web applications between frameworks (Flask → FastAPI, Django → FastAPI).
ArabelaTso/Skills-4-SE
Generate test cases using metamorphic testing by applying transformations based on metamorphic properties.
ArabelaTso/Skills-4-SE
Instruments programs to capture execution traces specifically for reproducing reported bugs, enabling consistent replay and diagnosis of failures.
ArabelaTso/Skills-4-SE
Automatically migrate Spring MVC applications to Spring Boot.
ArabelaTso/Skills-4-SE
Instrument programs (Python, C/C++, Java) to capture snapshots of key program states at runtime, including variables, memory, and call stacks.
Extract abstract mathematical models from imperative code (C, C++, Python, Java, etc.) suitable for formal reasoning in Coq. Imperative To Coq Model Extractor is an agent skill from ArabelaTso/Skills-4-SE.) suitable for formal reasoning in Coq.
Imperative To Coq Model Extractor fits situations like: the user asks to model imperative code in Coq; create Coq specifications from imperative programs; extract mathematical models for verification; translate imperative algorithms to Coq for formal reasoning and proof.
Run `npx skills add ArabelaTso/Skills-4-SE --skill imperative-to-coq-model-extractor -a claude-code`. Or copy the skill folder (skills/imperative-to-coq-model-extractor in ArabelaTso/Skills-4-SE) into .claude/skills/imperative-to-coq-model-extractor in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ArabelaTso/Skills-4-SE --skill imperative-to-coq-model-extractor -a codex`. Or copy the skill folder (skills/imperative-to-coq-model-extractor in ArabelaTso/Skills-4-SE) into .agents/skills/imperative-to-coq-model-extractor in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ArabelaTso/Skills-4-SE --skill imperative-to-coq-model-extractor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/imperative-to-coq-model-extractor, .gemini/skills/imperative-to-coq-model-extractor, .github/skills/imperative-to-coq-model-extractor and .opencode/skills/imperative-to-coq-model-extractor in your project.
SKILL.md names no scripts, command-line tools or credentials: Imperative To Coq Model Extractor is instructions for the agent only. Our summary lists: Python 3.
SKILL.md names 2 domains. As links in the text: coq.inria.fr and softwarefoundations.cis.upenn.edu. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Imperative To Coq Model Extractor is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.9k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Imperative To Coq Model Extractor: Fory Release (apache/fory, 4.6k stars), CodeQL Security Scan (trailofbits/skills, 7.5k stars), Fory Version Bump (apache/fory, 4.6k stars) and Fory Performance Optimization (apache/fory, 4.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ArabelaTso (a GitHub user) maintains it in ArabelaTso/Skills-4-SE, which has 253 GitHub stars. The repository holds 170 skills in this directory. The repository was last updated on August 21, 2026.
Source: ArabelaTso/Skills-4-SE on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.