Typing Rule Generator

SkillMedia

Generate and format typing rules in inference rule notation for type system design

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the Typing Rule Generator skill

What this skill tells your AI

The instructions your AI receives, as published by a5c-ai/babysitter in library/specializations/domains/science/computer-science/skills/typing-rule-generator/SKILL.md and read by ahel’s review.

Purpose

Provides expert guidance on generating typing rules for programming language design using formal inference rule notation.

Capabilities

  • LaTeX inference rule generation
  • Syntax-directed rule derivation
  • Typing derivation tree construction
  • Rule dependency analysis
  • Export to Ott/LNGen format
  • Handle subtyping and polymorphism

Usage Guidelines

  1. Syntax Definition: Define language syntax formally
  2. Rule Design: Design typing rules for each construct
  3. Derivation Trees: Build typing derivation examples
  4. Formatting: Generate publication-quality rules
  5. Export: Export to mechanization tools

Tools/Libraries

  • LaTeX (mathpartir)
  • Ott
  • LNGen
  • PLT Redex

Signals

GitHub stars
2k
Forks
112
Last commit
Sep 2026
Advanced
Item type
skill
Key
typing-rule-generator
Source
github.com/a5c-ai/babysitter