Agent skill

abstract-domain-explorer

Applies abstract interpretation using different abstract domains (intervals, octagons, polyhedra, sign, congruence) to statically analyze program variables and infer invariants, value ranges, and relationships. Use when analyzing program properties, inferring loop invariants, detecting potential errors, or understanding variable relationships through static analysis.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill abstract-domain-explorer --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 9 KB
Bundled scripts: none
Path: skills/analysis/abstract-domain-explorer/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Abstract Domain Explorer ## Overview This skill applies abstract interpretation to statically analyze programs using various abstract domains. It infers invariants, value ranges, and relationships between variables without executing the code. Different domains offer different trade-offs between precision and efficiency. ## Analysis Workflow Follow these steps to analyze programs with abstract domains: ### 1. Select Appropriate Domain(s) **Choose based on analysis goals:** **Interval Domain:** - Use for: Range analysis, bounds checking, array indexing - Precision: Low to medium - Cost: Very efficient - Example: Determine if x ∈ [0, 100] **Sign Domain:** - Use for: Sign analysis, division by zero detection - Precision: Low - Cost: Very efficient - Example: Determine if x is positive, negative, or zero **Congruence Domain:** - Use for: Modular arithmetic, alignment analysis - Precision: Medium (for specific patterns) - Cost: Efficient - Example: Determine if x ≡ 0 (mod 4) **Octagon Domain:** - Use for: Relational analysis, loop invariants with simple relationships - Precision: Medium to high - Cost: Moderate (O(n³) operations) - Example: Infer x ≤ y + 5, x + y ≤ 10 **Polyhedra Domai

What's inside
Steps it walks through
  1. Overview
  2. Analysis Workflow
  3. 1. Select Appropriate Domain(s)
  4. 2. Initialize Abstract State
  5. 3. Apply Transfer Functions
  6. 4. Handle Loops with Widening
  7. 5. Refine with Narrowing (Optional)
  8. 6. Extract Invariants
  9. Analysis Examples
  10. Example 1: Range Analysis with Intervals
  11. Example 2: Relational Analysis with Octagons
  12. Example 3: Linear Relationships with Polyhedra
  13. Example 4: Modular Arithmetic with Congruence
  14. Example 5: Division by Zero Detection with Sign
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the abstract-domain-explorer skill do?

Applies abstract interpretation using different abstract domains (intervals, octagons, polyhedra, sign, congruence) to statically analyze program variables and infer invariants, value ranges, and relationships. Use when analyzing program properties, inferring loop invariants, detecting potential errors, or understanding variable relationships through static analysis.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill abstract-domain-explorer --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going