Typing Rule Generator
Developmenttyping-rule-generatorTyping Rule Generator is an Agent Skill for development published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Generate and format typing rules in inference rule notation for type system design
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/domains/science/computer-science/skills/typing-rule-generator/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/typing-rule-generator, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Typing Rule Generator
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
- Syntax Definition: Define language syntax formally
- Rule Design: Design typing rules for each construct
- Derivation Trees: Build typing derivation examples
- Formatting: Generate publication-quality rules
- Export: Export to mechanization tools
Tools/Libraries
- LaTeX (mathpartir)
- Ott
- LNGen
- PLT Redex