Agent Specification
ruvnet/ruflo
Agent skill for specification - invoke with $agent-specification
Establish explicit traceability between formal specifications (preconditions, postconditions, invariants) and verified code components with their correctness proofs.
$ npx skills add ArabelaTso/Skills-4-SE --skill verified-spec-code-mapper -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ArabelaTso/Skills-4-SE verified-spec-code-mapper --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/verified-spec-code-mapper .claude/skills/verified-spec-code-mapper && 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 "verified-spec-code-mapper" agent skill from https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/verified-spec-code-mapper into .claude/skills/verified-spec-code-mapper/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "verified-spec-code-mapper", 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/verified-spec-code-mapperType 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 verified-spec-code-mapper -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ArabelaTso/Skills-4-SE verified-spec-code-mapper --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/verified-spec-code-mapper .agents/skills/verified-spec-code-mapper && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "verified-spec-code-mapper" agent skill from https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/verified-spec-code-mapper into .agents/skills/verified-spec-code-mapper/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "verified-spec-code-mapper", 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 verified-spec-code-mapper -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ArabelaTso/Skills-4-SE verified-spec-code-mapper --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/verified-spec-code-mapper .cursor/skills/verified-spec-code-mapper && 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 "verified-spec-code-mapper" agent skill from https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/verified-spec-code-mapper into .cursor/skills/verified-spec-code-mapper/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "verified-spec-code-mapper", 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/verified-spec-code-mapper--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 verified-spec-code-mapper -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ArabelaTso/Skills-4-SE verified-spec-code-mapper --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/verified-spec-code-mapper .gemini/skills/verified-spec-code-mapper && 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 "verified-spec-code-mapper" agent skill from https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/verified-spec-code-mapper into .gemini/skills/verified-spec-code-mapper/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "verified-spec-code-mapper", 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 verified-spec-code-mapperInstalls 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 verified-spec-code-mapper -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/verified-spec-code-mapper .github/skills/verified-spec-code-mapper && 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 "verified-spec-code-mapper" agent skill from https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/verified-spec-code-mapper into .github/skills/verified-spec-code-mapper/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "verified-spec-code-mapper", 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 verified-spec-code-mapper -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 verified-spec-code-mapper --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/verified-spec-code-mapper .opencode/skills/verified-spec-code-mapper && 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 "verified-spec-code-mapper" agent skill from https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/verified-spec-code-mapper into .opencode/skills/verified-spec-code-mapper/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "verified-spec-code-mapper", 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.
verified-spec-code-mapperEstablish explicit traceability between formal specifications (preconditions, postconditions, invariants) and verified code components with their correctness proofs.
Verified Spec Code Mapper is an agent skill from ArabelaTso/Skills-4-SE. Establish explicit traceability between formal specifications (preconditions, postconditions, invariants) and verified code components with their correctness proofs. Produce structured Markdown mapping reports showing verification coverage and proof evidence. Use when auditing formal verification, documenting verified systems, establishing traceability for certification, or when the user asks to map specifications to code, generate verification reports, or analyze verification coverage in Coq, Dafny, Isabelle, or…
Its SKILL.md is about 3.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/mapping_patterns.md`).
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.
5 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 markdown and coq).
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.frdafny.orgisabelle.in.tum.deFrom 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.
Verified Spec Code Mapper loads about 3.5k tokens when it runs, and up to ~7.3k if it reads all its reference files. Until then it costs about 142 tokens; SKILL.md has 955 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). 955 words, ~3,523 tokens.
.claude/skills/verified-spec-code-mapper/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Establish explicit, evidence-based traceability between formal specifications and verified code components. Generate structured reports that map each specification to its implementation and correctness proofs, supporting verification auditing, documentation, and reproducibility.
Locate all formal specifications in the codebase:
Preconditions:
forall ... -> P -> ... (hypothesis before conclusion)requires clausesassumes clausesPostconditions:
... -> Q (conclusion of theorem)ensures clausesshows clausesLoop Invariants:
invariant clauses in loopsClass/Type Invariants:
predicate Valid() methodsFunctional Correctness:
For each specification, identify corresponding code:
Direct mapping:
Lemma factorial_positive : forall n, factorial n >= 1
→ Maps to factorial functionContextual mapping:
sort_correct → sort)Structural mapping:
Record locations:
For each specification-code mapping, find proof evidence:
Complete proofs:
Qeddone or qedIncomplete proofs:
AdmittedsorryAssumed axioms:
Axiom declarationsaxiomatizationExternal verification:
Record evidence:
Determine verification completeness:
Specification coverage:
Coverage = (Verified Specs / Total Specs) × 100%Code coverage:
Coverage = (Verified Functions / Total Functions) × 100%Proof completeness:
Completeness = (Complete Proofs / Total Proofs) × 100%Categorize status:
Identify gaps:
Produce structured Markdown report:
Choose report type:
Include required sections:
Use clear status indicators:
Provide traceability:
For detailed patterns and templates, see mapping_patterns.md.
| Specification Type | Typical Location | Verification Evidence |
|---|---|---|
| Precondition | requires, hypothesis | Checked by verifier or proved |
| Postcondition | ensures, conclusion | Theorem proving property |
| Loop Invariant | invariant, lemma | Induction proof |
| Class Invariant | predicate Valid() | Maintained by all methods |
| Functional Correctness | Theorem statement | Complete proof |
Input Code:
Definition divide (n m : nat) : option nat :=
if m =? 0 then None else Some (n / m).
Lemma divide_safe : forall n m : nat,
m <> 0 -> exists q, divide n m = Some q.
Proof.
intros n m Hm.
unfold divide.
destruct (m =? 0) eqn:E.
- apply Nat.eqb_eq in E. contradiction.
- exists (n / m). reflexivity.
Qed.Generated Report:
# Verification Report: divide
## Function Signature
```coq
Definition divide (n m : nat) : option natm <> 0exists q, divide n m = Some qforall n m, m <> 0 -> exists q, divide n m = Some qm =? 0
### Example 2: Class with Invariants (Dafny)
**Input Code:**
```dafny
class BankAccount {
var balance: int
predicate Valid()
reads this
{
balance >= 0
}
constructor(initial: int)
requires initial >= 0
ensures Valid()
ensures balance == initial
{
balance := initial;
}
method Deposit(amount: int)
requires Valid()
requires amount >= 0
modifies this
ensures Valid()
ensures balance == old(balance) + amount
{
balance := balance + amount;
}
}Generated Report:
# Verification Report: BankAccount
## Class Invariant
### Invariant: Non-negative Balance
- **Specification:** `balance >= 0`
- **Location:** BankAccount.dfy:5 (Valid predicate)
- **Status:** ✓ Fully Verified
## Method: constructor
### Specifications
1. **Precondition: Non-negative Initial**
- Specification: `requires initial >= 0`
- Location: BankAccount.dfy:10
- Status: ✓ Verified by Dafny
2. **Postcondition: Establishes Invariant**
- Specification: `ensures Valid()`
- Location: BankAccount.dfy:11
- Status: ✓ Verified by Dafny
3. **Postcondition: Correct Balance**
- Specification: `ensures balance == initial`
- Location: BankAccount.dfy:12
- Status: ✓ Verified by Dafny
## Method: Deposit
### Specifications
1. **Precondition: Valid State**
- Specification: `requires Valid()`
- Location: BankAccount.dfy:18
- Status: ✓ Verified by Dafny
2. **Precondition: Non-negative Amount**
- Specification: `requires amount >= 0`
- Location: BankAccount.dfy:19
- Status: ✓ Verified by Dafny
3. **Postcondition: Maintains Invariant**
- Specification: `ensures Valid()`
- Location: BankAccount.dfy:21
- Status: ✓ Verified by Dafny
4. **Postcondition: Correct Balance Update**
- Specification: `ensures balance == old(balance) + amount`
- Location: BankAccount.dfy:22
- Status: ✓ Verified by Dafny
## Coverage Summary
- Total Specifications: 7
- Fully Verified: 7 (100%)
- Status: ✓ Fully Verified
- Verification Method: Dafny automatic verifierInput Code:
Require Import FunctionalExtensionality.
Definition compose {A B C : Type} (g : B -> C) (f : A -> B) : A -> C :=
fun x => g (f x).
Lemma compose_assoc : forall (A B C D : Type)
(f : A -> B) (g : B -> C) (h : C -> D),
compose h (compose g f) = compose (compose h g) f.
Proof.
intros.
apply functional_extensionality.
intro x. reflexivity.
Qed.Generated Report:
# Verification Report: compose
## Function Signature
```coq
Definition compose {A B C : Type} (g : B -> C) (f : A -> B) : A -> Ccompose h (compose g f) = compose (compose h g) ffunctional_extensionality (assumed)forall (A B : Type) (f g : A -> B), (forall x, f x = g x) -> f = g
### Example 4: Traceability Matrix
**Generated Report:**
```markdown
# Verification Traceability Matrix: Sorting Module
| Spec ID | Specification | Code Component | Proof/Theorem | Status |
|---------|---------------|----------------|---------------|--------|
| SORT-001 | Permutation preservation | `sort` (sort.v:15) | `sort_permutes` (sort.v:45) | ✓ |
| SORT-002 | Output is sorted | `sort` (sort.v:15) | `sort_sorted` (sort.v:62) | ✓ |
| SORT-003 | Combined correctness | `sort` (sort.v:15) | `sort_correct` (sort.v:78) | ✓ |
| SORT-004 | Stability (equal elements) | `sort` (sort.v:15) | - | ✗ |
| SORT-005 | Time complexity O(n log n) | `sort` (sort.v:15) | - | ✗ |
## Summary
- Total Specifications: 5
- Fully Verified: 3 (60%)
- Unverified: 2 (40%)
## Verification Gaps
### SORT-004: Stability
- **Status:** ✗ Unverified
- **Reason:** Stability not formally specified or proved
- **Impact:** Cannot guarantee order of equal elements
- **Priority:** Medium
### SORT-005: Time Complexity
- **Status:** ✗ Unverified
- **Reason:** Complexity analysis not formalized
- **Impact:** Performance guarantees not verified
- **Priority:** Low (functional correctness verified)Evidence-based mapping:
Preserve specification integrity:
Honest status reporting:
Clear distinction:
Do not infer:
Do not merge:
Do not weaken:
filename.extfilename.ext:linefilename.ext:start-end© 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/verified-spec-code-mapper of ArabelaTso/Skills-4-SE.
Open the folder on GitHubat commit 4f38503
Verified Spec Code Mapper 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 |
|---|---|---|---|---|---|---|
| Verified Spec Code Mapper this skillArabelaTso/Skills-4-SE | 253 | — | ~3.5k | Automated safety check: Pass | Apache-2.0 | |
| Agent Specificationruvnet/ruflo | 74k | 3 repos | ~1.8k | Automated safety check: Pass | MIT | |
| Specificity Managementthedaviddias/Front-End-Checklist | 74k | — | ~477 | Automated safety check: Pass | MIT | |
| Create Specificationgithub/awesome-copilot | 40k | 1 repos | ~1.4k | Automated safety check: Pass | MIT | |
| Update Specificationgithub/awesome-copilot | 40k | 1 repos | ~1.4k | Automated safety check: Pass | MIT | |
| Create GitHub Action Workflow Specificationgithub/awesome-copilot | 40k | 1 repos | ~1.9k | Automated safety check: Pass | MIT |
ruvnet/ruflo
Agent skill for specification - invoke with $agent-specification
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing stylesheets, component styles, and responsive behavior related to Keep CSS specificity low and flat.
github/awesome-copilot
Create a new specification file for the solution, optimized for Generative AI consumption.
github/awesome-copilot
Update an existing specification file for the solution, optimized for Generative AI consumption based on new requirements or updates to any existing code.
github/awesome-copilot
Create a formal specification for an existing GitHub Actions CI/CD workflow, optimized for AI consumption and workflow maintenance.
tradecatlabs/vibe-coding-cn
Turns a mathematical claim into a small Lean 4 and Mathlib formalization checked by the proof assistant kernel, and refuses to report a pass without real evidence.
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.
Establish explicit traceability between formal specifications (preconditions, postconditions, invariants) and verified code components with their correctness proofs. Verified Spec Code Mapper is an agent skill from ArabelaTso/Skills-4-SE. Establish explicit traceability between formal specifications (preconditions, postconditions, invariants) and verified code components with their correctness proofs.
Verified Spec Code Mapper fits situations like: auditing formal verification; documenting verified systems; establishing traceability for certification; the user asks to map specifications to code.
Run `npx skills add ArabelaTso/Skills-4-SE --skill verified-spec-code-mapper -a claude-code`. Or copy the skill folder (skills/verified-spec-code-mapper in ArabelaTso/Skills-4-SE) into .claude/skills/verified-spec-code-mapper in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ArabelaTso/Skills-4-SE --skill verified-spec-code-mapper -a codex`. Or copy the skill folder (skills/verified-spec-code-mapper in ArabelaTso/Skills-4-SE) into .agents/skills/verified-spec-code-mapper 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 verified-spec-code-mapper -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/verified-spec-code-mapper, .gemini/skills/verified-spec-code-mapper, .github/skills/verified-spec-code-mapper and .opencode/skills/verified-spec-code-mapper in your project.
SKILL.md names no scripts, command-line tools or credentials: Verified Spec Code Mapper is instructions for the agent only.
SKILL.md names 3 domains. As links in the text: coq.inria.fr, dafny.org and isabelle.in.tum.de. 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.
Verified Spec Code Mapper 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 3.5k tokens (SKILL.md is roughly 14k 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 3.8k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Verified Spec Code Mapper: Agent Specification (ruvnet/ruflo, 74k stars), Specificity Management (thedaviddias/Front-End-Checklist, 74k stars), Create Specification (github/awesome-copilot, 40k stars) and Update Specification (github/awesome-copilot, 40k 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 150 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.