Agent skill

Rtl Property Inference

by ArabelaTso in ArabelaTso/Skills-4-SE

Automatically infer formal correctness properties from Verilog/SystemVerilog RTL code and generate SystemVerilog Assertions (SVA).

Apache-2.0Auto-check passed

Install Rtl Property Inference

skills CLI
$ npx skills add ArabelaTso/Skills-4-SE --skill rtl-property-inference -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ArabelaTso/Skills-4-SE rtl-property-inference --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ArabelaTso/Skills-4-SE.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/rtl-property-inference .claude/skills/rtl-property-inference && rm -rf skills-src

Use ~/.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/

Facts

Skill name
rtl-property-inference
GitHub stars
253
Token cost
~2.2k tokens
SKILL.md length
651 words
Files
3 (incl. references)
Skills in repo
170
Repo updated
First seen
Licence
Apache-2.0

At a glance

Automatically infer formal correctness properties from Verilog/SystemVerilog RTL code and generate SystemVerilog Assertions (SVA).

  • Works in 6 steps: Parse and Understand RTL Structure → Identify Control-Flow Invariants → Identify Liveness Properties → …
  • Working with RTL designs that need formal property generation
  • SKILL.md covers Overview, Workflow and Output Format
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Rtl Property Inference is an agent skill from ArabelaTso/Skills-4-SE. Automatically infer formal correctness properties from Verilog/SystemVerilog RTL code and generate SystemVerilog Assertions (SVA). Identifies control-flow invariants (mutual exclusion, valid-ready handshakes, pipeline ordering, safety properties), liveness expectations, and temporal properties. Use when working with RTL designs that need formal property generation, when adding assertions to existing RTL, or when users ask to infer properties, generate assertions, or create formal specifications from hardware…

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/common_patterns.md` and `references/sva_syntax.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.

When your agent uses it

  • Working with RTL designs that need formal property generation
  • Adding assertions to existing RTL
  • Users ask to infer properties
  • Generate assertions

Example prompts

  • “/rtl-property-inference”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Parse and Understand RTL Structure
  2. Identify Control-Flow Invariants
  3. Identify Liveness Properties
  4. Map Patterns to Properties
  5. Classify Properties
  6. Generate Output

What it can do on your machine

Read from SKILL.md and the folder at commit 4f38503. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are systemverilog).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Rtl Property Inference loads about 2.2k tokens when it runs, and up to ~5.2k if it reads all its reference files. Until then it costs about 136 tokens; SKILL.md has 651 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~136
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.2k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from ArabelaTso/Skills-4-SE at commit 4f38503, republished under its Apache-2.0 licence (© ArabelaTso). 651 words, ~2,196 tokens.

Download SKILL.mdSave it as .claude/skills/rtl-property-inference/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
rtl-property-inference
description
Automatically infer formal correctness properties from Verilog/SystemVerilog RTL code and generate SystemVerilog Assertions (SVA). Identifies control-flow invariants (mutual exclusion, valid-ready handshakes, pipeline ordering, safety properties), liveness expectations, and temporal properties. Use when working with RTL designs that need formal property generation, when adding assertions to existing RTL, or when users ask to infer properties, generate assertions, or create formal specifications from hardware designs.

RTL Property Inference

Overview

This skill analyzes Verilog/SystemVerilog RTL code and automatically infers implicit correctness properties, generating formal SystemVerilog Assertions (SVA). The skill identifies common hardware patterns and generates appropriate safety, liveness, and fairness properties with clear explanations.

Workflow

Step 1: Parse and Understand RTL Structure

Analyze the input RTL code to extract key components:

  1. Identify signals and their roles:

    • Clock and reset signals
    • Control signals (valid, ready, enable, grant, request)
    • Data signals
    • State variables (FSM states, counters, flags)
  2. Recognize structural patterns:

    • State machines (one-hot, binary encoded)
    • Handshake protocols (valid-ready, req-ack)
    • Pipelines (with/without stalls)
    • FIFOs and buffers
    • Arbiters and mutual exclusion logic
    • Counters (saturating, wraparound)
    • Memory interfaces
  3. Extract clock/reset conventions:

    • Clock signal name and edge (posedge/negedge)
    • Reset signal name, polarity (active high/low), and type (sync/async)
    • Reset values for state variables
Step 2: Identify Control-Flow Invariants

Systematically analyze the design for common invariant patterns:

  1. Mutual Exclusion:

    • Grant signals from arbiters
    • Mutually exclusive enable signals
    • One-hot state encodings
    • Look for: Multiple signals that should never be active simultaneously
  2. Valid-Ready Handshakes:

    • Data stability during valid-without-ready
    • Valid persistence until handshake completes
    • No data loss (eventual completion)
    • Look for: Pairs of valid/ready signals with associated data
  3. Pipeline Ordering:

    • Valid bit propagation through stages
    • Data stability in pipeline stages
    • Stall behavior (freezing pipeline state)
    • Look for: Arrays of valid signals, stage indices, pipeline registers
  4. Safety Properties (bad things never happen):

    • Buffer overflow/underflow prevention
    • Invalid state detection
    • Address conflict prevention
    • Counter bounds
    • Look for: Boundary conditions, error states, conflict scenarios
Step 3: Identify Liveness Properties

Look for patterns indicating "good things eventually happen":

  1. Request-Response Patterns:

    • Request eventually gets grant
    • Valid eventually gets ready
    • Transaction eventually completes
    • Look for: Request signals paired with acknowledgment/grant signals
  2. Progress Properties:

    • FSM eventually leaves certain states
    • Counters eventually reach targets
    • Pipelines eventually drain
    • Look for: Temporary states, countdown logic, completion conditions
  3. Fairness Constraints:

    • All requesters eventually get service
    • Round-robin behavior
    • Starvation freedom
    • Look for: Arbitration logic, scheduling mechanisms

Note: Liveness properties require careful analysis. Only infer when there's clear evidence of intended eventual behavior. Use bounded liveness (with timeouts) when unbounded liveness may not hold.

Step 4: Map Patterns to Properties

Use the pattern library in common_patterns.md to generate appropriate assertions:

  1. Match identified patterns to known property templates
  2. Instantiate properties with actual signal names from the design
  3. Adjust timing parameters based on design characteristics (e.g., pipeline depth, timeout values)
  4. Add appropriate disable conditions (typically reset)

Refer to sva_syntax.md for SVA syntax details.

Show full SKILL.md (252 more words)Show less
Step 5: Classify Properties

Separate properties into clear categories:

  1. Strong Invariants (assert):

    • Properties that must always hold in correct design
    • Internal consistency checks
    • Safety properties derived from design structure
    • Example: Mutual exclusion, one-hot encoding, buffer bounds
  2. Assumed Environment Constraints (assume):

    • Properties about external inputs
    • Interface protocol assumptions
    • Timing assumptions from environment
    • Example: Input valid-ready protocol compliance, reset behavior
  3. Coverage Properties (cover):

    • Reachability checks for important scenarios
    • Corner case coverage
    • Example: All FSM states reachable, maximum buffer occupancy
Step 6: Generate Output

For each inferred property, provide:

  1. SVA assertion code:

    systemverilog
    property_name: assert property (
      @(posedge clk) disable iff (rst)
        antecedent |-> consequent
    ) else $error("Description of violation");
  2. Natural-language explanation:

    • What the property checks
    • Why it should hold
    • What violation would indicate
  3. Signal list:

    • All signals involved in the property
    • Their roles (control, data, state)
  4. Classification:

    • Type: Safety / Liveness / Fairness
    • Directive: Assert / Assume / Cover
    • Confidence: High / Medium / Low (based on pattern clarity)
  5. Additional context:

    • Related properties (if any)
    • Assumptions made during inference
    • Suggested verification approach

Output Format

Structure the output as follows:

## Inferred Properties for [Module Name]

### Clock and Reset
- Clock: <signal_name> (<edge>)
- Reset: <signal_name> (<polarity>, <sync/async>)

### Strong Invariants (Assert)

#### Property 1: <Short Name>
**Type**: Safety | Liveness | Fairness
**Confidence**: High | Medium | Low

**Assertion**:
```systemverilog
<property_name>: assert property (
  @(posedge clk) disable iff (rst)
    <property_expression>
) else $error("<error_message>");

Explanation: <Natural language description of what this property checks and why>

Signals Involved:

  • <signal1>: <role/description>
  • <signal2>: <role/description>

Rationale: <Why this property was inferred from the RTL structure>


[Repeat for each property]

Assumed Environment Constraints (Assume)

[Same format as above, but using assume directive]

Coverage Properties (Cover)

[Same format as above, but using cover directive]

Summary
  • Total properties inferred: <count>
    • Strong invariants: <count>
    • Environment assumptions: <count>
    • Coverage properties: <count>
  • Patterns identified: <list of patterns>
  • Verification recommendations: <suggestions>

## Important Guidelines

1. **Be conservative**: Only infer properties with clear evidence in the RTL
2. **Explain reasoning**: Always justify why a property was inferred
3. **Mark confidence**: Indicate confidence level (High/Medium/Low) for each property
4. **Avoid false positives**: Better to miss a property than infer an incorrect one
5. **Consider timing**: Ensure delay values match design behavior
6. **Check vacuity**: Suggest cover properties for antecedents to avoid vacuous success
7. **Document assumptions**: Clearly state any assumptions made during inference
8. **Provide context**: Explain how properties relate to overall design correctness

## Example Usage

**User request**: "Infer properties from this FIFO module"

**Process**:
1. Parse RTL and identify: full, empty, wr_en, rd_en, count signals
2. Recognize FIFO pattern with full/empty flags
3. Infer safety properties:
   - No write when full
   - No read when empty
   - Count within bounds [0:DEPTH]
   - Full and empty mutually exclusive (unless DEPTH=1)
4. Infer liveness property:
   - Write eventually makes FIFO non-empty
5. Generate SVA assertions with explanations
6. Classify as strong invariants (assert)
7. Add coverage for full and empty conditions

## References

- [common_patterns.md](references/common_patterns.md) - Library of common RTL patterns and their properties
- [sva_syntax.md](references/sva_syntax.md) - SystemVerilog Assertions syntax reference

## Limitations

- Cannot infer properties requiring deep semantic understanding beyond structural patterns
- May miss complex cross-module properties
- Liveness properties may need manual refinement for unbounded cases
- Timing parameters (delays, timeouts) may need adjustment based on actual design constraints
- Does not replace manual formal specification for critical properties

© 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

Files

SKILL.md and 2 other files (references) in skills/rtl-property-inference of ArabelaTso/Skills-4-SE.

  • SKILL.md
  • references/common_patterns.md
  • references/sva_syntax.md

Open the folder on GitHubat commit 4f38503

Compare with similar skills

Rtl Property Inference 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.

Rtl Property Inference compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Rtl Property Inference this skillArabelaTso/Skills-4-SE253—~2.2kAutomated safety check: PassApache-2.0
Ito Inferenceaffaan-m/ECC276k1 repos~1.5kAutomated safety check: PassMIT
Logical Propertiesthedaviddias/Front-End-Checklist74k—~526Automated safety check: PassMIT
CSS At Propertythedaviddias/Front-End-Checklist74k—~602Automated safety check: PassMIT
Gke Inferencegoogle/skills21k—~2kAutomated safety check: PassApache-2.0
LLM Inference Scalingsickn33/agentic-awesome-skills47k1 repos~2.1kAutomated safety check: PassMIT

Similar skills

  • Ito Inference

    affaan-m/ECC

    Inspect the availability of model serving on a completed Itô compute booking and, when the canonical backend becomes available, hand off an explicitly confirmed serving manifest.

    276k GitHub starsUsed in 1 repo~1.5k tokens
    AI & LLM EngineeringAuto-check passed
  • Logical Properties

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing stylesheets, component styles, and responsive behavior related to Use CSS logical properties for i18n and RTL support.

    74k GitHub stars~526 tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed
  • CSS At Property

    thedaviddias/Front-End-Checklist

    A skill your agent uses when implementing animated gradients, complex CSS transitions that involve custom property values, or building a typed design token system where custom property misuse should…

    74k GitHub stars~602 tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed
  • Gke Inference

    google/skills

    Official

    Deploys and optimizes AI/ML inference workloads on GKE, using GPUs, TPUs, and model servers.

    21k GitHub stars~2k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • LLM Inference Scaling

    sickn33/agentic-awesome-skills

    Auto-scale LLM inference clusters on Kubernetes using KEDA, custom GPU metrics, and horizontal pod autoscaling.

    47k GitHub starsUsed in 1 repo~2.1k tokens
    AI & LLM EngineeringAuto-check passed
  • Correct

    cursor/plugins

    Official

    Find the mistakes agents keep repeating in this repo and make each one impossible.

    10k GitHub starsUsed in 3 repos~612 tokens
    Auto-check passed

More from ArabelaTso/Skills-4-SE

All 170 skills in this repo
  • Framework Migration Assistant

    ArabelaTso/Skills-4-SE

    Automatically migrate Python web applications between frameworks (Flask → FastAPI, Django → FastAPI).

    253 GitHub stars~1.9k tokensUpdated 1 mo ago
    Auto-check passed
  • Metamorphic Test Generator

    ArabelaTso/Skills-4-SE

    Generate test cases using metamorphic testing by applying transformations based on metamorphic properties.

    253 GitHub stars~798 tokensUpdated 1 mo ago
    Auto-check passed
  • Reproduction Trace Instrumenter

    ArabelaTso/Skills-4-SE

    Instruments programs to capture execution traces specifically for reproducing reported bugs, enabling consistent replay and diagnosis of failures.

    253 GitHub stars~2.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Spring Mvc To Boot Migrator

    ArabelaTso/Skills-4-SE

    Automatically migrate Spring MVC applications to Spring Boot.

    253 GitHub stars~2.2k tokensUpdated 1 mo ago
    Auto-check passed
  • State Snapshot Instrumenter

    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.

    253 GitHub stars~2.2k tokensUpdated 1 mo ago
    Auto-check passed

Questions about Rtl Property Inference

What does Rtl Property Inference do?

Automatically infer formal correctness properties from Verilog/SystemVerilog RTL code and generate SystemVerilog Assertions (SVA). Rtl Property Inference is an agent skill from ArabelaTso/Skills-4-SE. Automatically infer formal correctness properties from Verilog/SystemVerilog RTL code and generate SystemVerilog Assertions (SVA).

When should I use Rtl Property Inference?

Rtl Property Inference fits situations like: working with RTL designs that need formal property generation; adding assertions to existing RTL; users ask to infer properties; generate assertions.

How do I install Rtl Property Inference in Claude Code?

Run `npx skills add ArabelaTso/Skills-4-SE --skill rtl-property-inference -a claude-code`. Or copy the skill folder (skills/rtl-property-inference in ArabelaTso/Skills-4-SE) into .claude/skills/rtl-property-inference in your project. Claude Code loads it when a task matches its description.

How do I install Rtl Property Inference in Codex?

Run `npx skills add ArabelaTso/Skills-4-SE --skill rtl-property-inference -a codex`. Or copy the skill folder (skills/rtl-property-inference in ArabelaTso/Skills-4-SE) into .agents/skills/rtl-property-inference in your project. Codex loads it when a task matches its description.

Can I use Rtl Property Inference in Cursor, Gemini CLI or GitHub Copilot?

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 rtl-property-inference -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rtl-property-inference, .gemini/skills/rtl-property-inference, .github/skills/rtl-property-inference and .opencode/skills/rtl-property-inference in your project.

What does Rtl Property Inference need to run?

SKILL.md names no scripts, command-line tools or credentials: Rtl Property Inference is instructions for the agent only.

Does Rtl Property Inference access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Rtl Property Inference safe to install?

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.

What licence does Rtl Property Inference use?

Rtl Property Inference 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.

How many tokens does Rtl Property Inference use?

About 2.2k tokens (SKILL.md is roughly 8.8k 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 3k tokens, read only when the agent opens those files.

What are the alternatives to Rtl Property Inference?

Skills that share tags, products or a category with Rtl Property Inference: Ito Inference (affaan-m/ECC, 276k stars), Logical Properties (thedaviddias/Front-End-Checklist, 74k stars), CSS At Property (thedaviddias/Front-End-Checklist, 74k stars) and Gke Inference (google/skills, 21k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Rtl Property Inference?

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.